blob: 61590a5ade5127e99df5be3e622a559906b281fe [file] [log] [blame]
Bob Badourd7984cc2021-02-12 20:51:13 -08001package {
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 Vaccaro8a837082016-12-12 16:50:57 -080010cc_library_static {
11 name: "multihal",
Steven Moreland17d45792017-04-11 14:18:40 -070012 vendor: true,
Nick Vaccaro8a837082016-12-12 16:50:57 -080013 srcs: [
14 "multihal.cpp",
Dan Willemsen86e247a2017-12-18 21:10:37 -080015 "SensorEventQueue.cpp",
Nick Vaccaro8a837082016-12-12 16:50:57 -080016 ],
Tri Vob12ae8c2017-06-23 11:23:54 -070017 header_libs: [
18 "libhardware_headers",
19 ],
Nick Vaccaro8a837082016-12-12 16:50:57 -080020 shared_libs: [
21 "liblog",
22 "libcutils",
23 "libutils",
Dan Willemsen86e247a2017-12-18 21:10:37 -080024 "libdl",
Nick Vaccaro8a837082016-12-12 16:50:57 -080025 ],
26 export_include_dirs: ["."],
Dan Willemsen86e247a2017-12-18 21:10:37 -080027 cflags: [
28 "-Wall",
29 "-Werror",
30 ],
31}
32
33cc_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 Vaccaro8a837082016-12-12 16:50:57 -080048}