xref: /aosp_15_r20/hardware/interfaces/gnss/1.0/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
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 "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
10cc_library_shared {
11    name: "[email protected]",
12    defaults: ["hidl_defaults"],
13    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",
34        "libutils",
35        "[email protected]",
36        "libhardware",
37    ],
38
39}
40
41cc_binary {
42    relative_install_path: "hw",
43    vendor: true,
44    name: "[email protected]",
45    defaults: ["hidl_defaults"],
46    init_rc: ["[email protected]"],
47    srcs: ["service.cpp"],
48
49    shared_libs: [
50        "liblog",
51        "libcutils",
52        "libdl",
53        "libbase",
54        "libutils",
55        "libhardware",
56        "libbinder",
57        "libhidlbase",
58        "[email protected]",
59    ],
60
61}
62