blob: b9f10d6fd64b6c0bd8acc372edf0ef698c1df1af [file] [log] [blame]
Avichal Rakeshe1857f82022-06-08 17:47:23 -07001//
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 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "hardware_interfaces_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
26cc_library_shared {
27 name: "camera.device-external-impl",
Sally Qi3def8562023-07-20 16:56:07 +080028 defaults: [
29 "android.hardware.graphics.common-ndk_shared",
30 "hidl_defaults",
31 ],
Avichal Rakeshe1857f82022-06-08 17:47:23 -070032 proprietary: true,
33 srcs: [
34 "ExternalCameraDevice.cpp",
35 "ExternalCameraDeviceSession.cpp",
36 "ExternalCameraOfflineSession.cpp",
37 "ExternalCameraUtils.cpp",
38 "convert.cpp",
39 ],
40 shared_libs: [
41 "android.hardware.camera.common-V1-ndk",
42 "android.hardware.camera.device-V1-ndk",
Michael Stokes49ba82c2023-10-02 09:56:59 +000043 "android.hardware.graphics.allocator-V1-ndk",
Avichal Rakeshe1857f82022-06-08 17:47:23 -070044 "android.hardware.graphics.mapper@2.0",
45 "android.hardware.graphics.mapper@3.0",
46 "android.hardware.graphics.mapper@4.0",
47 "android.hidl.allocator@1.0",
48 "android.hidl.memory@1.0",
49 "libbinder_ndk",
50 "libcamera_metadata",
51 "libcutils",
52 "libexif",
53 "libfmq",
54 "libgralloctypes",
55 "libhardware",
56 "libhidlbase",
57 "libhidlmemory",
58 "libjpeg",
59 "liblog",
60 "libsync",
61 "libtinyxml2",
62 "libutils",
Avichal Rakeshe1857f82022-06-08 17:47:23 -070063 "libyuv",
64 ],
65 static_libs: [
66 "android.hardware.camera.common@1.0-helper",
67 "libaidlcommonsupport",
68 ],
69 header_libs: [
70 "media_plugin_headers",
71 ],
72 export_include_dirs: ["."],
73}