diff options
author | Dan Willemsen <dwillemsen@google.com> | 2017-04-04 21:40:29 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-04-05 09:54:25 -0700 |
commit | 398adb642dd965c1f99e5db9fd1743fdea275bb0 (patch) | |
tree | 80de4c633547ae6334ef1c7efa4ba9b7faa9f83a | |
parent | e271dc73cc98cf2847535aea311a7ca15cedf788 (diff) |
Use libhardware_legacy_headers
Instead of the pathmap or using the global include path (which isn't
available when building against the NDK or VNDK).
Bug: None
Test: mmma -j frameworks/opt/net/wifi/libwifi_hal
Change-Id: I8280c9219991c083ca07e7ff7227fd69fe62c2d5
(cherry picked from commit c1c1759c49502d02b712d0c4ffa4b6cc8393df56)
-rw-r--r-- | libwifi_hal/Android.mk | 7 |
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 \ |