xref: /aosp_15_r20/hardware/interfaces/camera/device/3.6/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_team: "trendy_team_camera_framework",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "hardware_interfaces_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
27cc_library_headers {
28    name: "[email protected]_headers",
29    vendor: true,
30    export_include_dirs: ["include/ext_device_v3_6_impl"],
31}
32
33cc_library_shared {
34    name: "[email protected]",
35    defaults: ["hidl_defaults"],
36    proprietary: true,
37    vendor: true,
38    srcs: [
39        "ExternalCameraDevice.cpp",
40        "ExternalCameraDeviceSession.cpp",
41        "ExternalCameraOfflineSession.cpp",
42    ],
43    shared_libs: [
44        "libhidlbase",
45        "libui",
46        "libutils",
47        "libcutils",
48        "[email protected]",
49        "[email protected]",
50        "[email protected]",
51        "[email protected]",
52        "[email protected]",
53        "[email protected]",
54        "[email protected]",
55        "[email protected]",
56        "[email protected]",
57        "[email protected]",
58        "[email protected]",
59        "[email protected]",
60        "[email protected]",
61        "liblog",
62        "libgralloctypes",
63        "libhardware",
64        "libcamera_metadata",
65        "libfmq",
66        "libsync",
67        "libyuv",
68        "libjpeg",
69        "libexif",
70        "libtinyxml2",
71    ],
72    static_libs: [
73        "[email protected]",
74    ],
75    local_include_dirs: ["include/ext_device_v3_6_impl"],
76    export_shared_lib_headers: [
77        "libfmq",
78    ],
79}
80