blob: e8c8f9dba024594818280fd202e2009eb4121130 [file] [log] [blame]
Bob Badourc22b35b2021-02-23 14:26:20 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Yin-Chia Yehfaef8f92016-10-31 12:53:56 -070010cc_library_static {
Avichal Rakesh0d2d8a42022-06-14 17:23:40 -070011 name: "android.hardware.camera.common-helper",
Martijn Coenen14adc6e2017-06-20 08:56:12 -070012 vendor_available: true,
Steven Moreland48c52242017-03-08 16:11:32 -080013 defaults: ["hidl_defaults"],
Yin-Chia Yeh248ed702017-01-23 17:27:26 -080014 srcs: [
15 "CameraModule.cpp",
16 "CameraMetadata.cpp",
Jiyong Parkb9b59bd2017-06-12 17:08:52 +090017 "CameraParameters.cpp",
Yin-Chia Yeh248ed702017-01-23 17:27:26 -080018 "VendorTagDescriptor.cpp",
Yuriy Romanenko33d5f662018-01-23 13:00:17 -080019 "HandleImporter.cpp",
Jason Macnakeda6dca2020-04-15 15:20:59 -070020 "Exif.cpp",
Avichal Rakeshe1857f82022-06-08 17:47:23 -070021 "SimpleThread.cpp",
Yuriy Romanenko33d5f662018-01-23 13:00:17 -080022 ],
Yin-Chia Yehfaef8f92016-10-31 12:53:56 -070023 cflags: [
24 "-Werror",
25 "-Wextra",
26 "-Wall",
27 ],
28 shared_libs: [
29 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070030 "libgralloctypes",
Yin-Chia Yehfaef8f92016-10-31 12:53:56 -070031 "libhardware",
Yin-Chia Yeh519c1672017-04-21 14:59:31 -070032 "libcamera_metadata",
Michael Stokes49ba82c2023-10-02 09:56:59 +000033 "android.hardware.graphics.mapper@2.0",
34 "android.hardware.graphics.mapper@3.0",
35 "android.hardware.graphics.mapper@4.0",
Yuriy Romanenko33d5f662018-01-23 13:00:17 -080036 "libexif",
37 ],
Yin-Chia Yehfaef8f92016-10-31 12:53:56 -070038 include_dirs: ["system/media/private/camera/include"],
Jason Macnakeda6dca2020-04-15 15:20:59 -070039 export_include_dirs: ["include"],
Yin-Chia Yehfaef8f92016-10-31 12:53:56 -070040}
Avichal Rakesh0d2d8a42022-06-14 17:23:40 -070041
42// NOTE: Deprecated module kept for compatibility reasons.
43// Depend on "android.hardware.camera.common-helper" instead
44cc_library_static {
45 name: "android.hardware.camera.common@1.0-helper",
46 vendor_available: true,
47 whole_static_libs: ["android.hardware.camera.common-helper"],
48}