Bob Badour | c22b35b | 2021-02-23 14:26:20 -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_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 Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 10 | cc_library_shared { |
| 11 | name: "android.hardware.gnss@1.0-impl", |
Chih-Hung Hsieh | 3f2ea62 | 2017-11-20 10:49:11 -0800 | [diff] [blame] | 12 | defaults: ["hidl_defaults"], |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 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", |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 34 | "libutils", |
| 35 | "android.hardware.gnss@1.0", |
| 36 | "libhardware", |
| 37 | ], |
| 38 | |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | cc_binary { |
| 42 | relative_install_path: "hw", |
| 43 | vendor: true, |
| 44 | name: "android.hardware.gnss@1.0-service", |
Chih-Hung Hsieh | 3f2ea62 | 2017-11-20 10:49:11 -0800 | [diff] [blame] | 45 | defaults: ["hidl_defaults"], |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 46 | 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 Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 58 | "android.hardware.gnss@1.0", |
| 59 | ], |
| 60 | |
| 61 | } |