1package { 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 10cc_library_shared { 11 name: "libsensorservicehidl", 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 "libhidlbase", 26 "libutils", 27 "libsensor", 28 "android.frameworks.sensorservice@1.0", 29 "android.hardware.sensors@1.0", 30 ], 31 static_libs: [ 32 "android.hardware.sensors@1.0-convert", 33 ], 34 export_include_dirs: [ 35 "include/" 36 ], 37 export_header_lib_headers: ["jni_headers"], 38 local_include_dirs: [ 39 "include/sensorservicehidl/" 40 ] 41} 42