summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-04-05 23:53:08 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-04-05 23:53:08 +0000
commit34a0ef0ab2cdcd9d767069b841137794056386ee (patch)
treed2e59429cf0b215cb708b0eafc524f2263434104
parent21dea681999cb1b757ff27a2c8ee25cb204591f6 (diff)
parentc1c1759c49502d02b712d0c4ffa4b6cc8393df56 (diff)
Use libhardware_legacy_headers
am: c1c1759c49 Change-Id: Ifc69ca9c64e2de1b7e5ff791103f4e47af9be14e
-rw-r--r--libwifi_hal/Android.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/libwifi_hal/Android.mk b/libwifi_hal/Android.mk
index 492091ac7..a34075d6f 100644
--- a/libwifi_hal/Android.mk
+++ b/libwifi_hal/Android.mk
@@ -77,7 +77,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libwifi-hal-fallback
LOCAL_CFLAGS := $(wifi_hal_cflags)
LOCAL_SRC_FILES := wifi_hal_fallback.cpp
-LOCAL_C_INCLUDES := $(call include-path-for, libhardware_legacy)
+LOCAL_HEADER_LIBRARIES := libhardware_legacy_headers
include $(BUILD_STATIC_LIBRARY)
# Pick a vendor provided HAL implementation library.
@@ -104,8 +104,9 @@ LOCAL_PROPRIETARY_MODULE := true
LOCAL_CFLAGS := $(wifi_hal_cflags)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_EXPORT_C_INCLUDE_DIRS := \
- $(LOCAL_PATH)/include \
- $(call include-path-for, libhardware_legacy)
+ $(LOCAL_PATH)/include
+LOCAL_EXPORT_HEADER_LIBRARY_HEADERS := libhardware_legacy_headers
+LOCAL_HEADER_LIBRARIES := libhardware_legacy_headers
LOCAL_SHARED_LIBRARIES := \
libbase \
libcutils \