Tianjie | 01d460b | 2020-11-30 14:40:55 -0800 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "android.hardware.boot@1.2-impl", |
| 3 | stem: "android.hardware.boot@1.0-impl-1.2", |
| 4 | defaults: [ |
| 5 | "hidl_defaults", |
| 6 | "libboot_control_defaults", |
| 7 | ], |
| 8 | relative_install_path: "hw", |
| 9 | vendor: true, |
| 10 | recovery_available: true, |
| 11 | srcs: ["BootControl.cpp"], |
| 12 | |
| 13 | shared_libs: [ |
| 14 | "liblog", |
| 15 | "libhidlbase", |
| 16 | "libhardware", |
| 17 | "libutils", |
| 18 | "android.hardware.boot@1.0", |
| 19 | "android.hardware.boot@1.1", |
| 20 | "android.hardware.boot@1.2", |
| 21 | ], |
| 22 | static_libs: [ |
| 23 | "libboot_control", |
| 24 | "libfstab", |
| 25 | ], |
| 26 | } |
| 27 | |
| 28 | cc_binary { |
| 29 | name: "android.hardware.boot@1.2-service", |
| 30 | defaults: ["hidl_defaults"], |
| 31 | relative_install_path: "hw", |
| 32 | vendor: true, |
| 33 | init_rc: ["android.hardware.boot@1.2-service.rc"], |
| 34 | srcs: ["service.cpp"], |
| 35 | |
| 36 | vintf_fragments: [ |
| 37 | "android.hardware.boot@1.2.xml", |
| 38 | ], |
| 39 | |
| 40 | shared_libs: [ |
| 41 | "liblog", |
| 42 | "libhardware", |
| 43 | "libhidlbase", |
| 44 | "libutils", |
| 45 | "android.hardware.boot@1.0", |
| 46 | "android.hardware.boot@1.1", |
| 47 | "android.hardware.boot@1.2", |
| 48 | ], |
| 49 | |
| 50 | } |