OSDN Git Service

Drop using vendor/google/etc/apns-conf.xml for eng builds.
authorYing Wang <wangying@google.com>
Tue, 22 Mar 2011 22:32:52 +0000 (15:32 -0700)
committerYing Wang <wangying@google.com>
Wed, 13 Apr 2011 17:18:12 +0000 (10:18 -0700)
Bug: 4133493
Change-Id: I3eee2a5658620f480370d260b395e928bc395886

core/main.mk

index e5824db..cd4aad2 100644 (file)
@@ -323,18 +323,6 @@ ifeq (,$(filter %:system/etc/apns-conf.xml, $(PRODUCT_COPY_FILES)))
     $(warning implicitly installing apns-conf_sdk.xml)
   endif
 endif
-# If we're on an eng or tests build, but not on the sdk, and we have
-# a better one, use that instead.
-ifneq ($(filter eng tests,$(TARGET_BUILD_VARIANT)),)
-  ifndef is_sdk_build
-    apns_to_use := $(wildcard vendor/google/etc/apns-conf.xml)
-    ifneq ($(strip $(apns_to_use)),)
-      PRODUCT_COPY_FILES := \
-            $(filter-out %:system/etc/apns-conf.xml,$(PRODUCT_COPY_FILES)) \
-            $(strip $(apns_to_use)):system/etc/apns-conf.xml
-    endif
-  endif
-endif
 endif
 
 ADDITIONAL_BUILD_PROPERTIES += net.bt.name=Android