diff options
author | Vishwath Mohan <vishwath@google.com> | 2017-06-17 10:40:43 -0700 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2017-06-19 22:12:56 +0000 |
commit | 31f755c4e6aa2d3627a1c0e521e98a6ec3145131 (patch) | |
tree | d9dd09998591b687176124e8893f031842cd33ed /msm8998/ipanat/src/Android.mk | |
parent | 82c4e6e05ed0fdc090fe092b79a7c853d835e33b (diff) | |
download | ipacfg-mgr-31f755c4e6aa2d3627a1c0e521e98a6ec3145131.tar.gz |
Remove hardcoded LOCAL_MODULE_PATHS from vendor components. (ipacfg-mgr)
This CL replaces all LOCAL_MODULE_PATH_* definitions for vendor shared
libraries with LOCAL_VENDOR_MODULE := true instead. This appropriately
generates sanitized versions of these libraries to /data/asan/* while
generating the stock versions in /vendor/lib* as desired.
Needed for ASAN builds to work correctly.
Bug: 37740897
Test: m -j40 && SANITIZE_TARGET="address" m -j40 # shared libs in
$ANDROID_PRODUCT_OUT/vendor/lib* do not contain asan symbols, while
the ones in $ANDROID_PRODUCT_OUT/data/asan/vendor/lib* do.
Change-Id: I6d326c7af532fafb1f850ce91a875b4b04dec62a
Diffstat (limited to 'msm8998/ipanat/src/Android.mk')
-rw-r--r-- | msm8998/ipanat/src/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msm8998/ipanat/src/Android.mk b/msm8998/ipanat/src/Android.mk index 55a9140..7701858 100644 --- a/msm8998/ipanat/src/Android.mk +++ b/msm8998/ipanat/src/Android.mk @@ -15,7 +15,7 @@ LOCAL_SRC_FILES := ipa_nat_drv.c \ ipa_nat_drvi.c -LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 +LOCAL_VENDOR_MODULE := true LOCAL_CFLAGS := -DDEBUG LOCAL_MODULE := libipanat LOCAL_MODULE_TAGS := optional |