blob: b0cf2c6888d893d96919016340cb4c9cffbe3132 [file] [log] [blame]
Bob Badourc22b35b2021-02-23 14:26:20 -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_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Steven Moreland90e3a502017-11-02 14:16:29 -070010cc_library_shared {
11 name: "android.hardware.gnss@1.0-impl",
Chih-Hung Hsieh3f2ea622017-11-20 10:49:11 -080012 defaults: ["hidl_defaults"],
Steven Moreland90e3a502017-11-02 14:16:29 -070013 vendor: true,
14 relative_install_path: "hw",
15 srcs: [
16 "ThreadCreationWrapper.cpp",
17 "AGnss.cpp",
18 "AGnssRil.cpp",
19 "Gnss.cpp",
20 "GnssBatching.cpp",
21 "GnssDebug.cpp",
22 "GnssGeofencing.cpp",
23 "GnssMeasurement.cpp",
24 "GnssNavigationMessage.cpp",
25 "GnssNi.cpp",
26 "GnssXtra.cpp",
27 "GnssConfiguration.cpp",
28 "GnssUtils.cpp",
29 ],
30
31 shared_libs: [
32 "liblog",
33 "libhidlbase",
Steven Moreland90e3a502017-11-02 14:16:29 -070034 "libutils",
35 "android.hardware.gnss@1.0",
36 "libhardware",
37 ],
38
Steven Moreland90e3a502017-11-02 14:16:29 -070039}
40
41cc_binary {
42 relative_install_path: "hw",
43 vendor: true,
44 name: "android.hardware.gnss@1.0-service",
Chih-Hung Hsieh3f2ea622017-11-20 10:49:11 -080045 defaults: ["hidl_defaults"],
Steven Moreland90e3a502017-11-02 14:16:29 -070046 init_rc: ["android.hardware.gnss@1.0-service.rc"],
47 srcs: ["service.cpp"],
48
49 shared_libs: [
50 "liblog",
51 "libcutils",
52 "libdl",
53 "libbase",
54 "libutils",
55 "libhardware",
56 "libbinder",
57 "libhidlbase",
Steven Moreland90e3a502017-11-02 14:16:29 -070058 "android.hardware.gnss@1.0",
59 ],
60
61}