Always define apps_only
Allows dist-for-goals entries to use always use apps_only, without having to conditionalize on TARGET_BUILD_APPS, or cause errors on full platform builds. Test: EMMA_INSTRUMENT=true m dist Change-Id: Id484ad2a650b8ad49880469f195080ef7fa8c814
This commit is contained in:
@@ -1264,6 +1264,7 @@ droidcore: files \
|
|||||||
# dist_files only for putting your library into the dist directory with a full build.
|
# dist_files only for putting your library into the dist directory with a full build.
|
||||||
.PHONY: dist_files
|
.PHONY: dist_files
|
||||||
|
|
||||||
|
.PHONY: apps_only
|
||||||
ifneq ($(TARGET_BUILD_APPS),)
|
ifneq ($(TARGET_BUILD_APPS),)
|
||||||
# If this build is just for apps, only build apps and not the full system by default.
|
# If this build is just for apps, only build apps and not the full system by default.
|
||||||
|
|
||||||
@@ -1300,7 +1301,6 @@ ifneq ($(TARGET_BUILD_APPS),)
|
|||||||
$(COVERAGE_ZIP) : $(apps_only_installed_files)
|
$(COVERAGE_ZIP) : $(apps_only_installed_files)
|
||||||
$(call dist-for-goals,apps_only, $(COVERAGE_ZIP))
|
$(call dist-for-goals,apps_only, $(COVERAGE_ZIP))
|
||||||
|
|
||||||
.PHONY: apps_only
|
|
||||||
apps_only: $(unbundled_build_modules)
|
apps_only: $(unbundled_build_modules)
|
||||||
|
|
||||||
droid_targets: apps_only
|
droid_targets: apps_only
|
||||||
|
Reference in New Issue
Block a user