| Bob Badour | 3c53823 | 2021-02-12 21:26:48 -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 "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 | |
| Yifan Hong | c34f57f | 2017-03-10 14:12:00 -0800 | [diff] [blame] | 10 | cc_library_shared { |
| 11 | name: "libsensorservicehidl", |
| 12 | srcs: [ |
| Yifan Hong | 95c7a06 | 2017-03-28 19:07:17 -0700 | [diff] [blame] | 13 | "EventQueue.cpp", |
| Yifan Hong | c34f57f | 2017-03-10 14:12:00 -0800 | [diff] [blame] | 14 | "DirectReportChannel.cpp", |
| 15 | "SensorManager.cpp", |
| 16 | "utils.cpp", |
| 17 | ], |
| 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Werror", |
| 21 | ], |
| Orion Hodson | 70e039b | 2020-04-03 09:42:02 +0100 | [diff] [blame] | 22 | header_libs: ["jni_headers"], |
| Yifan Hong | c34f57f | 2017-03-10 14:12:00 -0800 | [diff] [blame] | 23 | shared_libs: [ |
| 24 | "libbase", |
| 25 | "libhidlbase", |
| Yifan Hong | c34f57f | 2017-03-10 14:12:00 -0800 | [diff] [blame] | 26 | "libutils", |
| 27 | "libsensor", |
| 28 | "android.frameworks.sensorservice@1.0", |
| 29 | "android.hardware.sensors@1.0", |
| Yifan Hong | c34f57f | 2017-03-10 14:12:00 -0800 | [diff] [blame] | 30 | ], |
| Yifan Hong | 95c7a06 | 2017-03-28 19:07:17 -0700 | [diff] [blame] | 31 | static_libs: [ |
| 32 | "android.hardware.sensors@1.0-convert", |
| 33 | ], |
| Yifan Hong | c34f57f | 2017-03-10 14:12:00 -0800 | [diff] [blame] | 34 | export_include_dirs: [ |
| 35 | "include/" |
| 36 | ], |
| Orion Hodson | 70e039b | 2020-04-03 09:42:02 +0100 | [diff] [blame] | 37 | export_header_lib_headers: ["jni_headers"], |
| Yifan Hong | c34f57f | 2017-03-10 14:12:00 -0800 | [diff] [blame] | 38 | local_include_dirs: [ |
| 39 | "include/sensorservicehidl/" |
| 40 | ] |
| 41 | } |