OSDN Git Service

Switch Unbundled apps from generic.mk to full.mk.
authorYing Wang <wangying@google.com>
Fri, 22 Oct 2010 21:14:59 +0000 (14:14 -0700)
committerYing Wang <wangying@google.com>
Fri, 22 Oct 2010 21:14:59 +0000 (14:14 -0700)
Change-Id: I7aaaef8f2032590d55ccec77621c6b3f4c121f9a

target/product/AndroidProducts.mk
target/product/full.mk

index 89b37e0..32416c5 100644 (file)
 # it includes.
 #
 
-# An unbundled app build needs only generic.mk.
+# Unbundled apps will be built with the default product config.
 ifneq ($(TARGET_BUILD_APPS),)
 PRODUCT_MAKEFILES := \
     $(LOCAL_DIR)/core.mk \
-    $(LOCAL_DIR)/generic.mk
+    $(LOCAL_DIR)/generic.mk \
+    $(LOCAL_DIR)/full.mk
 else
 PRODUCT_MAKEFILES := \
     $(LOCAL_DIR)/core.mk \
index 6f4aded..a39c13b 100644 (file)
@@ -44,7 +44,7 @@ PRODUCT_LOCALES := en_US
 
 # Pick up some sounds - stick with the short list to save space
 # on smaller devices.
-$(call inherit-product, frameworks/base/data/sounds/OriginalAudio.mk)
+$(call inherit-product-if-exists, frameworks/base/data/sounds/OriginalAudio.mk)
 
 # Get the TTS language packs
 $(call inherit-product-if-exists, external/svox/pico/lang/all_pico_languages.mk)