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

Commit 83cd4551 authored by Ying Wang's avatar Ying Wang Committed by android-build-merger
Browse files

Store symbols.zip in apps_only build. automerge: a60fb497

automerge: a73b611e

* commit 'a73b611e':
  Store symbols.zip in apps_only build.
parents 9bd1c566 a73b611e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1511,10 +1511,14 @@ endif
name := $(name)-symbols-$(FILE_NAME_TAG)

SYMBOLS_ZIP := $(PRODUCT_OUT)/$(name).zip
# For apps_only build we'll establish the dependency later in build/core/main.mk.
ifndef TARGET_BUILD_APPS
$(SYMBOLS_ZIP): $(INSTALLED_SYSTEMIMAGE) $(INSTALLED_BOOTIMAGE_TARGET)
endif
$(SYMBOLS_ZIP):
	@echo "Package symbols: $@"
	$(hide) rm -rf $@
	$(hide) mkdir -p $(dir $@)
	$(hide) mkdir -p $(dir $@) $(TARGET_OUT_UNSTRIPPED)
	$(hide) zip -qr $@ $(TARGET_OUT_UNSTRIPPED)

# -----------------------------------------------------------------
+3 −0
Original line number Diff line number Diff line
@@ -931,6 +931,9 @@ ifneq ($(TARGET_BUILD_APPS),)
  $(PROGUARD_DICT_ZIP) : $(apps_only_installed_files)
  $(call dist-for-goals,apps_only, $(PROGUARD_DICT_ZIP))

  $(SYMBOLS_ZIP) : $(apps_only_installed_files)
  $(call dist-for-goals,apps_only, $(SYMBOLS_ZIP))

.PHONY: apps_only
apps_only: $(unbundled_build_modules)