1package { 2 default_team: "trendy_team_camera_framework", 3 // See: http://go/android-license-faq 4 // A large-scale-change added 'default_applicable_licenses' to import 5 // all of the 'license_kinds' from "hardware_interfaces_license" 6 // to get the below license kinds: 7 // SPDX-license-identifier-Apache-2.0 8 default_applicable_licenses: ["hardware_interfaces_license"], 9} 10 11cc_library_static { 12 name: "android.hardware.camera.common-helper", 13 vendor_available: true, 14 defaults: ["hidl_defaults"], 15 srcs: [ 16 "CameraModule.cpp", 17 "CameraMetadata.cpp", 18 "CameraParameters.cpp", 19 "VendorTagDescriptor.cpp", 20 "HandleImporter.cpp", 21 "Exif.cpp", 22 "SimpleThread.cpp", 23 ], 24 cflags: [ 25 "-Werror", 26 "-Wextra", 27 "-Wall", 28 ], 29 shared_libs: [ 30 "liblog", 31 "libgralloctypes", 32 "libhardware", 33 "libcamera_metadata", 34 "libexif", 35 "libui", 36 ], 37 include_dirs: ["system/media/private/camera/include"], 38 export_include_dirs: ["include"], 39 export_shared_lib_headers: ["libui"], 40} 41 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} 49