diff options
author | Ying Wang <wangying@google.com> | 2013-11-20 15:18:02 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2013-11-20 15:23:52 -0800 |
commit | 2cebe0baed4c2cd8cecabe84e59483e10eb5a98f (patch) | |
tree | ffaa9eefc007abbbdd67f28f8b45c2396da836de /target | |
parent | 4356b55635e73b46aeb55bb27bff93a52d065124 (diff) | |
download | build-2cebe0baed4c2cd8cecabe84e59483e10eb5a98f.zip build-2cebe0baed4c2cd8cecabe84e59483e10eb5a98f.tar.gz build-2cebe0baed4c2cd8cecabe84e59483e10eb5a98f.tar.bz2 |
Clean up the common base core.mk of the sdk and the aosp_* products.
Any modules common to sdk and aosp_* builds should go to core.mk.
Bug: 11773036
Change-Id: I342133c94eb24be3e69a553be0069e2269624d3e
Diffstat (limited to 'target')
-rw-r--r-- | target/product/core.mk | 16 | ||||
-rw-r--r-- | target/product/core_tiny.mk | 3 | ||||
-rw-r--r-- | target/product/generic_no_telephony.mk | 16 | ||||
-rw-r--r-- | target/product/sdk.mk | 82 | ||||
-rw-r--r-- | target/product/sdk_x86.mk | 2 |
5 files changed, 51 insertions, 68 deletions
diff --git a/target/product/core.mk b/target/product/core.mk index c5ef2aa..71d2d6f 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -22,15 +22,31 @@ PRODUCT_PACKAGES += \ BasicDreams \ Browser \ + Calculator \ + Calendar \ + CalendarProvider \ + CertInstaller \ Contacts \ + DeskClock \ DocumentsUI \ DownloadProviderUi \ + Email \ + Exchange2 \ ExternalStorageProvider \ + FusedLocation \ + InputDevices \ KeyChain \ + Keyguard \ + LatinIME \ + Launcher2 \ PicoTts \ PacProcessor \ + PrintSpooler \ ProxyHandler \ + QuickSearchBox \ + Settings \ SharedStorageBackup \ + TeleService \ VpnDialogs $(call inherit-product, $(SRC_TARGET_DIR)/product/core_base.mk) diff --git a/target/product/core_tiny.mk b/target/product/core_tiny.mk index 53db05a..3d0dfff 100644 --- a/target/product/core_tiny.mk +++ b/target/product/core_tiny.mk @@ -81,11 +81,10 @@ PRODUCT_PROPERTY_OVERRIDES += \ MINIMAL_FONT_FOOTPRINT := true +$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) # Overrides PRODUCT_BRAND := tiny PRODUCT_DEVICE := tiny PRODUCT_NAME := core_tiny - -$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk index 29e909b..f1f0030 100644 --- a/target/product/generic_no_telephony.mk +++ b/target/product/generic_no_telephony.mk @@ -18,30 +18,14 @@ # It includes the base Android platform. PRODUCT_PACKAGES := \ - DeskClock \ Bluetooth \ - Calculator \ - Calendar \ Camera2 \ - CertInstaller \ - Email \ - Exchange2 \ - FusedLocation \ Gallery2 \ - InputDevices \ - Keyguard \ - LatinIME \ - Launcher2 \ Music \ MusicFX \ OneTimeInitializer \ - PrintSpooler \ Provision \ - QuickSearchBox \ - Settings \ SystemUI \ - TeleService \ - CalendarProvider \ bluetooth-health \ hostapd \ wpa_supplicant.conf \ diff --git a/target/product/sdk.mk b/target/product/sdk.mk index 6eebc92..75fdb0c 100644 --- a/target/product/sdk.mk +++ b/target/product/sdk.mk @@ -17,51 +17,35 @@ PRODUCT_PROPERTY_OVERRIDES := PRODUCT_PACKAGES := \ - Calculator \ - DeskClock \ - Email \ - Exchange2 \ - FusedLocation \ + ApiDemos \ + ConnectivityTest \ + CubeLiveWallpapers \ + CustomLocale \ + Development \ + DevelopmentSettings \ + Fallback \ Gallery \ - Keyguard \ - Music \ - Mms \ - OpenWnn \ - PrintSpooler \ + GestureBuilder \ + GpsLocationTest \ + LegacyCamera \ + librs_jni \ + libwnndict \ libWnnEngDic \ libWnnJpnDic \ - libwnndict \ - TeleService \ + LiveWallpapersPicker \ + Mms \ + Music \ + OpenWnn \ PinyinIME \ Protips \ - SoftKeyboard \ - SystemUI \ - Launcher2 \ - Development \ - DevelopmentSettings \ - Fallback \ - Settings \ + rild \ SdkSetup \ - CustomLocale \ - sqlite3 \ - InputDevices \ - LatinIME \ - CertInstaller \ - LiveWallpapersPicker \ - ApiDemos \ - GestureBuilder \ - CubeLiveWallpapers \ - QuickSearchBox \ - WidgetPreview \ - librs_jni \ - ConnectivityTest \ - GpsLocationTest \ - CalendarProvider \ - Calendar \ SmokeTest \ SmokeTestApp \ - rild \ - LegacyCamera + SoftKeyboard \ + sqlite3 \ + SystemUI \ + WidgetPreview # Define the host tools and libs that are parts of the SDK. -include sdk/build/product_sdk.mk @@ -95,14 +79,17 @@ $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) -# Overrides -PRODUCT_BRAND := generic -PRODUCT_NAME := sdk -PRODUCT_DEVICE := generic +# include available languages for TTS in the system image +-include external/svox/pico/lang/PicoLangDeDeInSystem.mk +-include external/svox/pico/lang/PicoLangEnGBInSystem.mk +-include external/svox/pico/lang/PicoLangEnUsInSystem.mk +-include external/svox/pico/lang/PicoLangEsEsInSystem.mk +-include external/svox/pico/lang/PicoLangFrFrInSystem.mk +-include external/svox/pico/lang/PicoLangItItInSystem.mk # locale + densities. en_US is both first and in alphabetical order to # ensure this is the default locale. -PRODUCT_LOCALES = \ +PRODUCT_LOCALES := \ en_US \ ldpi \ hdpi \ @@ -166,10 +153,7 @@ PRODUCT_LOCALES = \ zh_CN \ zh_TW -# include available languages for TTS in the system image --include external/svox/pico/lang/PicoLangDeDeInSystem.mk --include external/svox/pico/lang/PicoLangEnGBInSystem.mk --include external/svox/pico/lang/PicoLangEnUsInSystem.mk --include external/svox/pico/lang/PicoLangEsEsInSystem.mk --include external/svox/pico/lang/PicoLangFrFrInSystem.mk --include external/svox/pico/lang/PicoLangItItInSystem.mk +# Overrides +PRODUCT_BRAND := generic +PRODUCT_NAME := sdk +PRODUCT_DEVICE := generic diff --git a/target/product/sdk_x86.mk b/target/product/sdk_x86.mk index 873d0c0..6c5e746 100644 --- a/target/product/sdk_x86.mk +++ b/target/product/sdk_x86.mk @@ -19,7 +19,7 @@ # build quite specifically for the emulator, and might not be # entirely appropriate to inherit from for on-device configurations. -include $(SRC_TARGET_DIR)/product/sdk.mk +$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk.mk) # Overrides PRODUCT_BRAND := generic_x86 |