Devin Moore | 0b59781 | 2022-11-04 20:43:35 +0000 | [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 "frameworks_native_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_native_license"], |
| 8 | } |
| 9 | |
| 10 | cc_library_shared { |
| 11 | name: "libsensorserviceaidl", |
| 12 | srcs: [ |
| 13 | "EventQueue.cpp", |
| 14 | "DirectReportChannel.cpp", |
| 15 | "SensorManager.cpp", |
| 16 | "utils.cpp", |
| 17 | ], |
| 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Werror", |
| 21 | ], |
| 22 | header_libs: ["jni_headers"], |
| 23 | shared_libs: [ |
| 24 | "libbase", |
| 25 | "libutils", |
| 26 | "libcutils", |
| 27 | "libbinder_ndk", |
| 28 | "libsensor", |
| 29 | "android.frameworks.sensorservice-V1-ndk", |
| 30 | "android.hardware.sensors-V1-ndk", |
| 31 | ], |
| 32 | export_include_dirs: [ |
| 33 | "include/", |
| 34 | ], |
| 35 | static_libs: [ |
| 36 | "android.hardware.sensors-V1-convert", |
| 37 | ], |
| 38 | |
| 39 | export_header_lib_headers: ["jni_headers"], |
| 40 | local_include_dirs: [ |
| 41 | "include/sensorserviceaidl/", |
| 42 | ], |
| 43 | } |