forked from openkylin/platform_build
Don't copy apns-conf.xml for apps-only build
http://b/issue?id=2796939 This can fix commands mm and mmm in an unbundled branch. The cause is that mm & mmm depends on phony target "files", which includes apns-conf.xml. Change-Id: I72ce1c7c5ddfdcd3bbea5cb9645ca3a48ff8ac12
This commit is contained in:
parent
0af605f3b6
commit
783f449bdc
|
@ -282,6 +282,7 @@ ifneq ($(filter dalvik.gc.type-precise,$(PRODUCT_TAGS)),)
|
|||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.dexopt-flags=m=y
|
||||
endif
|
||||
|
||||
ifeq (,$(TARGET_BUILD_APPS))
|
||||
# Install an apns-conf.xml file if one's not already being installed.
|
||||
ifeq (,$(filter %:system/etc/apns-conf.xml, $(PRODUCT_COPY_FILES)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -302,6 +303,7 @@ ifneq ($(filter eng tests,$(TARGET_BUILD_VARIANT)),)
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
endif # !TARGET_BUILD_APPS
|
||||
|
||||
ADDITIONAL_BUILD_PROPERTIES += net.bt.name=Android
|
||||
|
||||
|
|
Loading…
Reference in New Issue