Bob Badour | b224b36 | 2021-02-12 20:13:01 -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 | |
David Anderson | 0473214 | 2019-10-07 13:34:24 -0700 | [diff] [blame] | 10 | cc_library_shared { |
| 11 | name: "android.hardware.boot@1.1-impl", |
David Anderson | c07c906 | 2019-10-12 15:19:53 -0700 | [diff] [blame] | 12 | stem: "android.hardware.boot@1.0-impl-1.1", |
David Anderson | 0473214 | 2019-10-07 13:34:24 -0700 | [diff] [blame] | 13 | defaults: [ |
| 14 | "hidl_defaults", |
| 15 | "libboot_control_defaults", |
| 16 | ], |
| 17 | relative_install_path: "hw", |
| 18 | vendor: true, |
| 19 | recovery_available: true, |
| 20 | srcs: ["BootControl.cpp"], |
| 21 | |
| 22 | shared_libs: [ |
Jooyung Han | c829836 | 2023-10-04 01:03:45 +0000 | [diff] [blame] | 23 | "libbase", |
David Anderson | 0473214 | 2019-10-07 13:34:24 -0700 | [diff] [blame] | 24 | "liblog", |
| 25 | "libhidlbase", |
| 26 | "libhardware", |
| 27 | "libutils", |
| 28 | "android.hardware.boot@1.0", |
| 29 | "android.hardware.boot@1.1", |
| 30 | ], |
| 31 | static_libs: [ |
| 32 | "libboot_control", |
| 33 | "libfstab", |
| 34 | ], |
| 35 | } |
| 36 | |
| 37 | cc_binary { |
| 38 | name: "android.hardware.boot@1.1-service", |
| 39 | defaults: ["hidl_defaults"], |
| 40 | relative_install_path: "hw", |
| 41 | vendor: true, |
| 42 | init_rc: ["android.hardware.boot@1.1-service.rc"], |
| 43 | srcs: ["service.cpp"], |
| 44 | |
David Anderson | c07c906 | 2019-10-12 15:19:53 -0700 | [diff] [blame] | 45 | vintf_fragments: [ |
| 46 | "android.hardware.boot@1.1.xml", |
| 47 | ], |
| 48 | |
David Anderson | 0473214 | 2019-10-07 13:34:24 -0700 | [diff] [blame] | 49 | shared_libs: [ |
| 50 | "liblog", |
| 51 | "libhardware", |
| 52 | "libhidlbase", |
| 53 | "libutils", |
| 54 | "android.hardware.boot@1.0", |
| 55 | "android.hardware.boot@1.1", |
| 56 | ], |
| 57 | |
| 58 | } |