diff options
| author | Jiyong Park <jiyong@google.com> | 2017-06-29 15:25:09 +0900 |
|---|---|---|
| committer | Jiyong Park <jiyong@google.com> | 2017-06-29 15:25:09 +0900 |
| commit | 34d16f4673fed483b77373efa5b126448d2c9df3 (patch) | |
| tree | b1a24dc9a0f3950658899d2b5d03035308ce5eb4 | |
| parent | 93a61da1e6caf7ed7c6ba935ead48f4f7fde4382 (diff) | |
| download | platform_hardware_qcom_bootctrl-34d16f4673fed483b77373efa5b126448d2c9df3.tar.gz platform_hardware_qcom_bootctrl-34d16f4673fed483b77373efa5b126448d2c9df3.tar.bz2 platform_hardware_qcom_bootctrl-34d16f4673fed483b77373efa5b126448d2c9df3.zip | |
Build bootctrl.* with BOARD_VNDK_VERSION
Replace the global include path with header libs. Change cutils/log.h to
log/log.h.
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j bootctrl.msm8998
Change-Id: I55e48ad5856310d60b5093a3f47f479b865082c9
| -rw-r--r-- | Android.mk | 4 | ||||
| -rw-r--r-- | boot_control.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -5,10 +5,10 @@ LOCAL_PATH := $(call my-dir) # HAL Shared library for the target. Used by libhardware. include $(CLEAR_VARS) -LOCAL_C_INCLUDES += hardware/libhardware/include LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc LOCAL_CFLAGS += -Wall -Werror LOCAL_SHARED_LIBRARIES += liblog libgptutils libcutils +LOCAL_HEADER_LIBRARIES := libhardware_headers libsystem_headers LOCAL_SRC_FILES := boot_control.cpp LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) @@ -18,10 +18,10 @@ include $(BUILD_SHARED_LIBRARY) # Static library for the target. Used by update_engine_sideload from recovery. include $(CLEAR_VARS) -LOCAL_C_INCLUDES += hardware/libhardware/include LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/gpt-utils/inc LOCAL_CFLAGS += -Wall -Werror LOCAL_SHARED_LIBRARIES += liblog libgptutils libcutils +LOCAL_HEADER_LIBRARIES := libhardware_headers libsystem_headers LOCAL_SRC_FILES := boot_control.cpp LOCAL_MODULE := bootctrl.$(TARGET_BOARD_PLATFORM) include $(BUILD_STATIC_LIBRARY) diff --git a/boot_control.cpp b/boot_control.cpp index 539c52c..435ea2f 100644 --- a/boot_control.cpp +++ b/boot_control.cpp @@ -35,7 +35,7 @@ extern "C" { #endif #include <errno.h> #define LOG_TAG "bootcontrolhal" -#include <cutils/log.h> +#include <log/log.h> #include <hardware/boot_control.h> #include <stdio.h> #include <string.h> |
