Connor O'Brien | 3847ffc | 2018-09-28 12:53:02 -0700 | [diff] [blame] | 1 | # TODO(connoro): Remove this file once we eliminate existing usage of |
| 2 | # PRODUCT_STATIC_BOOT_CONTROL_HAL |
| 3 | |
| 4 | LOCAL_PATH := $(call my-dir) |
| 5 | |
| 6 | ifneq ($(strip $(PRODUCT_STATIC_BOOT_CONTROL_HAL)),) |
| 7 | include $(CLEAR_VARS) |
| 8 | |
| 9 | LOCAL_MODULE := android.hardware.boot@1.0-impl-wrapper.recovery |
| 10 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 11 | LOCAL_MULTILIB := first |
| 12 | ifeq ($(TARGET_IS_64_BIT),true) |
| 13 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/lib64/hw |
| 14 | else |
| 15 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/lib/hw |
| 16 | endif |
| 17 | LOCAL_SRC_FILES := BootControl.cpp |
| 18 | LOCAL_CFLAGS := -DBOOT_CONTROL_RECOVERY |
| 19 | LOCAL_SHARED_LIBRARIES := \ |
| 20 | libbase.recovery \ |
| 21 | liblog.recovery \ |
| 22 | libhidlbase.recovery \ |
| 23 | libhidltransport.recovery \ |
| 24 | libhardware.recovery \ |
| 25 | libutils.recovery \ |
| 26 | android.hardware.boot@1.0.recovery |
| 27 | LOCAL_STATIC_LIBRARIES := $(PRODUCT_STATIC_BOOT_CONTROL_HAL) |
| 28 | include $(BUILD_SHARED_LIBRARY) |
| 29 | |
| 30 | endif |