Bob Badour | d7984cc | 2021-02-12 20:51:13 -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 "hardware_libhardware_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["hardware_libhardware_license"], |
| 8 | } |
| 9 | |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 10 | cc_library_static { |
| 11 | name: "multihal", |
Steven Moreland | 17d4579 | 2017-04-11 14:18:40 -0700 | [diff] [blame] | 12 | vendor: true, |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 13 | srcs: [ |
| 14 | "multihal.cpp", |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame] | 15 | "SensorEventQueue.cpp", |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 16 | ], |
Tri Vo | b12ae8c | 2017-06-23 11:23:54 -0700 | [diff] [blame] | 17 | header_libs: [ |
| 18 | "libhardware_headers", |
| 19 | ], |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 20 | shared_libs: [ |
| 21 | "liblog", |
| 22 | "libcutils", |
| 23 | "libutils", |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame] | 24 | "libdl", |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 25 | ], |
| 26 | export_include_dirs: ["."], |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame] | 27 | cflags: [ |
| 28 | "-Wall", |
| 29 | "-Werror", |
| 30 | ], |
| 31 | } |
| 32 | |
| 33 | cc_test_host { |
| 34 | name: "sensorstests", |
| 35 | gtest: false, |
| 36 | srcs: [ |
| 37 | "SensorEventQueue.cpp", |
| 38 | "tests/SensorEventQueue_test.cpp", |
| 39 | ], |
| 40 | static_libs: [ |
| 41 | "libcutils", |
| 42 | "libutils", |
| 43 | ], |
| 44 | cflags: [ |
| 45 | "-Wall", |
| 46 | "-Werror", |
| 47 | ], |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 48 | } |