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.boot@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 | relative_install_path: "hw", |
Hridya Valsaraju | cac42c1 | 2018-10-03 17:51:58 +0000 | [diff] [blame] | 14 | vendor: true, |
Hridya Valsaraju | 865c3bc | 2018-07-17 21:26:24 -0700 | [diff] [blame] | 15 | recovery_available: true, |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 16 | srcs: ["BootControl.cpp"], |
| 17 | |
| 18 | shared_libs: [ |
| 19 | "liblog", |
| 20 | "libhidlbase", |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 21 | "libhardware", |
| 22 | "libutils", |
| 23 | "android.hardware.boot@1.0", |
| 24 | ], |
| 25 | |
| 26 | } |
| 27 | |
| 28 | cc_binary { |
| 29 | name: "android.hardware.boot@1.0-service", |
Chih-Hung Hsieh | 3f2ea62 | 2017-11-20 10:49:11 -0800 | [diff] [blame] | 30 | defaults: ["hidl_defaults"], |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 31 | relative_install_path: "hw", |
| 32 | vendor: true, |
| 33 | init_rc: ["android.hardware.boot@1.0-service.rc"], |
| 34 | srcs: ["service.cpp"], |
| 35 | |
| 36 | shared_libs: [ |
| 37 | "liblog", |
| 38 | "libhardware", |
| 39 | "libhidlbase", |
Steven Moreland | 90e3a50 | 2017-11-02 14:16:29 -0700 | [diff] [blame] | 40 | "libutils", |
| 41 | "android.hardware.boot@1.0", |
| 42 | ], |
| 43 | |
| 44 | } |