blob: b5d3095cff0b0cdaef87368015f380535f419a71 [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",
Yuriy Romanenko33d5f662018-01-23 13:00:17 -080033 "libexif",
Devin Moore5e154092023-09-13 16:18:30 +000034 "libui",
Yuriy Romanenko33d5f662018-01-23 13:00:17 -080035 ],
Yin-Chia Yehfaef8f92016-10-31 12:53:56 -070036 include_dirs: ["system/media/private/camera/include"],
Jason Macnakeda6dca2020-04-15 15:20:59 -070037 export_include_dirs: ["include"],
Devin Moore5e154092023-09-13 16:18:30 +000038 export_shared_lib_headers: ["libui"],
Yin-Chia Yehfaef8f92016-10-31 12:53:56 -070039}
Avichal Rakesh0d2d8a42022-06-14 17:23:40 -070040
41// NOTE: Deprecated module kept for compatibility reasons.
42// Depend on "android.hardware.camera.common-helper" instead
43cc_library_static {
44 name: "android.hardware.camera.common@1.0-helper",
45 vendor_available: true,
46 whole_static_libs: ["android.hardware.camera.common-helper"],
47}