Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 1 | package { |
| 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 Yeh | faef8f9 | 2016-10-31 12:53:56 -0700 | [diff] [blame] | 10 | cc_library_static { |
Avichal Rakesh | 0d2d8a4 | 2022-06-14 17:23:40 -0700 | [diff] [blame] | 11 | name: "android.hardware.camera.common-helper", |
Martijn Coenen | 14adc6e | 2017-06-20 08:56:12 -0700 | [diff] [blame] | 12 | vendor_available: true, |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 13 | defaults: ["hidl_defaults"], |
Yin-Chia Yeh | 248ed70 | 2017-01-23 17:27:26 -0800 | [diff] [blame] | 14 | srcs: [ |
| 15 | "CameraModule.cpp", |
| 16 | "CameraMetadata.cpp", |
Jiyong Park | b9b59bd | 2017-06-12 17:08:52 +0900 | [diff] [blame] | 17 | "CameraParameters.cpp", |
Yin-Chia Yeh | 248ed70 | 2017-01-23 17:27:26 -0800 | [diff] [blame] | 18 | "VendorTagDescriptor.cpp", |
Yuriy Romanenko | 33d5f66 | 2018-01-23 13:00:17 -0800 | [diff] [blame] | 19 | "HandleImporter.cpp", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 20 | "Exif.cpp", |
Avichal Rakesh | e1857f8 | 2022-06-08 17:47:23 -0700 | [diff] [blame] | 21 | "SimpleThread.cpp", |
Yuriy Romanenko | 33d5f66 | 2018-01-23 13:00:17 -0800 | [diff] [blame] | 22 | ], |
Yin-Chia Yeh | faef8f9 | 2016-10-31 12:53:56 -0700 | [diff] [blame] | 23 | cflags: [ |
| 24 | "-Werror", |
| 25 | "-Wextra", |
| 26 | "-Wall", |
| 27 | ], |
| 28 | shared_libs: [ |
| 29 | "liblog", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 30 | "libgralloctypes", |
Yin-Chia Yeh | faef8f9 | 2016-10-31 12:53:56 -0700 | [diff] [blame] | 31 | "libhardware", |
Yin-Chia Yeh | 519c167 | 2017-04-21 14:59:31 -0700 | [diff] [blame] | 32 | "libcamera_metadata", |
Yuriy Romanenko | 33d5f66 | 2018-01-23 13:00:17 -0800 | [diff] [blame] | 33 | "libexif", |
Devin Moore | 5e15409 | 2023-09-13 16:18:30 +0000 | [diff] [blame^] | 34 | "libui", |
Yuriy Romanenko | 33d5f66 | 2018-01-23 13:00:17 -0800 | [diff] [blame] | 35 | ], |
Yin-Chia Yeh | faef8f9 | 2016-10-31 12:53:56 -0700 | [diff] [blame] | 36 | include_dirs: ["system/media/private/camera/include"], |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 37 | export_include_dirs: ["include"], |
Devin Moore | 5e15409 | 2023-09-13 16:18:30 +0000 | [diff] [blame^] | 38 | export_shared_lib_headers: ["libui"], |
Yin-Chia Yeh | faef8f9 | 2016-10-31 12:53:56 -0700 | [diff] [blame] | 39 | } |
Avichal Rakesh | 0d2d8a4 | 2022-06-14 17:23:40 -0700 | [diff] [blame] | 40 | |
| 41 | // NOTE: Deprecated module kept for compatibility reasons. |
| 42 | // Depend on "android.hardware.camera.common-helper" instead |
| 43 | cc_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 | } |