From 6f57b2889d88d71c70c4677e2fd1e06d17a9a3db Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Fri, 1 Jun 2018 10:53:55 -0700 Subject: [PATCH] Use hermetic `strip` for atree Use the newly exposed HOST_STRIP from Soong to strip host tools during atree. This appears to produce slightly different host tools, but they're still stripped. Test: m PRODUCT-sdk_arm64-sdk dist sdk_repo Change-Id: Id2863347882eb63d2a4cce45f0cd8de510ed4543 --- core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 252bd227f..8c54470f3 100644 --- a/core/Makefile +++ b/core/Makefile @@ -3233,7 +3233,7 @@ $(INTERNAL_SDK_TARGET): $(deps) if [ $$FAIL ]; then exit 1; fi $(hide) echo $(notdir $(SDK_FONT_DEPS)) | tr " " "\n" > $(SDK_FONT_TEMP)/fontsInSdk.txt $(hide) ( \ - ATREE_STRIP="strip -x" \ + ATREE_STRIP="$(HOST_STRIP) -x" \ $(HOST_OUT_EXECUTABLES)/atree \ $(addprefix -f ,$(PRIVATE_INPUT_FILES)) \ -m $(PRIVATE_DEP_FILE) \