From d9152046fa10b9a36c5a17d1c21adc4d7a2b8a8e Mon Sep 17 00:00:00 2001 From: Vishwath Mohan Date: Sat, 17 Jun 2017 10:36:16 -0700 Subject: wayne: Remove hardcoded LOCAL_MODULE_PATHS from vendor components 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: If6a495dd153c47f929de047fd48039b990348720 (cherry picked from commit e872612127cfbf55ceba01e9860e0acc47d64447) --- gps/android/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gps/android') diff --git a/gps/android/Android.mk b/gps/android/Android.mk index d503010..18845ef 100644 --- a/gps/android/Android.mk +++ b/gps/android/Android.mk @@ -2,8 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := android.hardware.gnss@1.0-impl-qti -LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib -LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 +LOCAL_VENDOR_MODULE := true +LOCAL_MODULE_OWNER := qti LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_SRC_FILES := \ AGnss.cpp \ -- cgit v1.2.3