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

Commit 6f57b288 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

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
parent a873417a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) \