Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3700f973 authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by android-build-merger
Browse files

Merge "Limit 2 uses of SANITIZE_TARGET to ASan."

am: ffaf4815

Change-Id: Ibcd9f7a22dfbc267958d88f3163aa17f215d8109
parents b20ba12b ffaf4815
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3652,7 +3652,7 @@ ifneq ($(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ODM_BASE_FS_PATH),)
	$(hide) cp $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ODM_BASE_FS_PATH) \
	$(hide) cp $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ODM_BASE_FS_PATH) \
	  $(zip_root)/META/$(notdir $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ODM_BASE_FS_PATH))
	  $(zip_root)/META/$(notdir $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ODM_BASE_FS_PATH))
endif
endif
ifneq ($(strip $(SANITIZE_TARGET)),)
ifneq (,$(filter address, $(SANITIZE_TARGET)))
	# We need to create userdata.img with real data because the instrumented libraries are in userdata.img.
	# We need to create userdata.img with real data because the instrumented libraries are in userdata.img.
	$(hide) echo "userdata_img_with_data=true" >> $(zip_root)/META/misc_info.txt
	$(hide) echo "userdata_img_with_data=true" >> $(zip_root)/META/misc_info.txt
endif
endif
+1 −1
Original line number Original line Diff line number Diff line
@@ -57,7 +57,7 @@ ALL_MODULES.$(LOCAL_MODULE).INSTALLED += $(my_installed_library)


# Create symlink in the app specific lib path
# Create symlink in the app specific lib path
# Skip creating this symlink when running the second part of a target sanitization build.
# Skip creating this symlink when running the second part of a target sanitization build.
ifndef SANITIZE_TARGET
ifeq ($(filter address,$(SANITIZE_TARGET)),)
ifdef LOCAL_POST_INSTALL_CMD
ifdef LOCAL_POST_INSTALL_CMD
# Add a shell command separator
# Add a shell command separator
LOCAL_POST_INSTALL_CMD += ;
LOCAL_POST_INSTALL_CMD += ;