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

Commit 951e0f1e authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am fe365531: am 1e1241ce: Dist static Java library modules.

* commit 'fe365531':
  Dist static Java library modules.
parents 8b651c79 fe365531
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -806,9 +806,14 @@ ifneq ($(TARGET_BUILD_APPS),)
    unbundled_build_modules := $(TARGET_BUILD_APPS)
  endif

  # Dist the installed files if they exist.
  apps_only_installed_files := $(foreach m,$(unbundled_build_modules),$(ALL_MODULES.$(m).INSTALLED))
  # dist the unbundled app.
  $(call dist-for-goals,apps_only, $(apps_only_installed_files))
  # For uninstallable modules such as static Java library, we have to dist the built file,
  # as <module_name>.<suffix>
  apps_only_dist_built_files := $(foreach m,$(unbundled_build_modules),$(if $(ALL_MODULES.$(m).INSTALLED),,\
      $(ALL_MODULES.$(m).BUILT):$(m)$(suffix $(ALL_MODULES.$(m).BUILT))))
  $(call dist-for-goals,apps_only, $(apps_only_dist_built_files))

  ifeq ($(EMMA_INSTRUMENT),true)
    $(EMMA_META_ZIP) : $(apps_only_installed_files)