1package { 2 // See: http://go/android-license-faq 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6cc_defaults { 7 name: "libgooglecamerahwl_impl_defaults", 8 owner: "google", 9 proprietary: true, 10 srcs: [ 11 "EmulatedCameraProviderHWLImpl.cpp", 12 "EmulatedCameraDeviceHWLImpl.cpp", 13 "EmulatedCameraDeviceSessionHWLImpl.cpp", 14 "EmulatedLogicalRequestState.cpp", 15 "EmulatedRequestProcessor.cpp", 16 "EmulatedRequestState.cpp", 17 "EmulatedTorchState.cpp", 18 "GrallocSensorBuffer.cpp", 19 ], 20 cflags: [ 21 "-Werror", 22 "-Wextra", 23 "-Wall", 24 ], 25 shared_libs: [ 26 "android.frameworks.sensorservice@1.0", 27 "android.hardware.graphics.mapper@2.0", 28 "android.hardware.graphics.mapper@3.0", 29 "android.hardware.graphics.mapper@4.0", 30 "android.hardware.camera.provider@2.4", 31 "android.hardware.camera.provider@2.5", 32 "android.hardware.camera.provider@2.6", 33 "android.hardware.camera.provider@2.7", 34 "android.hardware.sensors@1.0", 35 "android.hidl.allocator@1.0", 36 "lib_profiler", 37 "libbase", 38 "libcamera_metadata", 39 "libcutils", 40 "libexif", 41 "libgralloctypes", 42 "libhardware", 43 "libhidlbase", 44 "libgooglecamerahalutils", 45 "libjpeg", 46 "libjsoncpp", 47 "liblog", 48 "libsync", 49 "libutils", 50 "libyuv", 51 ], 52 static_libs: [ 53 "android.hardware.camera.common@1.0-helper", 54 "libgooglecamerahwl_sensor_impl", 55 ], 56 include_dirs: [ 57 "system/media/private/camera/include", 58 ], 59 header_libs: [ 60 "libgooglecamerahal_headers", 61 ], 62} 63 64cc_library_shared { 65 name: "libgooglecamerahwl_impl", 66 defaults: ["libgooglecamerahwl_impl_defaults"], 67} 68 69cc_library_shared { 70 name: "libgooglecamerahwl_impl_fast_scene_cycle", 71 defaults: ["libgooglecamerahwl_impl_defaults"], 72 stem: "libgooglecamerahwl_impl", 73 cflags: ["-DFAST_SCENE_CYCLE"], 74 // Never installed to /vendor, only used inside an APEX. 75 installable: false, 76} 77 78cc_library_static { 79 name: "libgooglecamerahwl_sensor_impl", 80 owner: "google", 81 proprietary: true, 82 host_supported: true, 83 84 srcs: [ 85 "EmulatedScene.cpp", 86 "EmulatedSensor.cpp", 87 "JpegCompressor.cpp", 88 "utils/ExifUtils.cpp", 89 "utils/HWLUtils.cpp", 90 "utils/StreamConfigurationMap.cpp", 91 ], 92 93 header_libs: [ 94 "libhardware_headers", 95 ], 96 97 shared_libs: [ 98 "libcamera_metadata", 99 "libcutils", 100 "libexif", 101 "libjpeg", 102 "liblog", 103 "libyuv", 104 ], 105 106 static_libs: [ 107 "android.hardware.graphics.common@1.1", 108 "android.hardware.graphics.common@1.2", 109 ], 110 111 include_dirs: [ 112 "system/media/private/camera/include", 113 "hardware/google/camera/common/hal/common", 114 "hardware/google/camera/common/hal/hwl_interface", 115 "hardware/google/camera/common/hal/utils", 116 ], 117 118 export_include_dirs: ["."], 119 120 cflags: [ 121 "-Werror", 122 "-Wextra", 123 "-Wall", 124 ], 125} 126