am 51f0d3f5: resolved conflicts for merge of 70555a16 to master

* commit '51f0d3f58a5c04ee328778bc97e42dc10cfa41ad':
  Allow to build target-files.zip in sdk build.
This commit is contained in:
Ying Wang 2014-04-15 21:02:38 +00:00 committed by Android Git Automerger
commit 23bf7212ce
2 changed files with 4 additions and 1 deletions

View file

@ -1349,6 +1349,9 @@ endif
.PHONY: target-files-package
target-files-package: $(BUILT_TARGET_FILES_PACKAGE)
ifneq ($(filter $(MAKECMDGOALS),target-files-package),)
$(call dist-for-goals, target-files-package, $(BUILT_TARGET_FILES_PACKAGE))
endif
ifneq ($(TARGET_PRODUCT),sdk)
ifeq ($(filter generic%,$(TARGET_DEVICE)),)

View file

@ -399,7 +399,7 @@ ifdef is_sdk_build
sdk_repo_goal := $(strip $(filter sdk_repo,$(MAKECMDGOALS)))
MAKECMDGOALS := $(strip $(filter-out sdk_repo,$(MAKECMDGOALS)))
ifneq ($(words $(filter-out $(INTERNAL_MODIFIER_TARGETS) checkbuild emulator_tests,$(MAKECMDGOALS))),1)
ifneq ($(words $(filter-out $(INTERNAL_MODIFIER_TARGETS) checkbuild emulator_tests target-files-package,$(MAKECMDGOALS))),1)
$(error The 'sdk' target may not be specified with any other targets)
endif