Add a new layer generic_no_telephony.mk
Bug: 2994028 Change-Id: I2a1831bb8dd1245c6cc0116738c118fe895b6e43
This commit is contained in:
@@ -19,37 +19,19 @@
|
||||
# build of the emulator, but all those aspects can be overridden
|
||||
# in inherited configurations.
|
||||
|
||||
PRODUCT_PACKAGES := \
|
||||
OpenWnn \
|
||||
PinyinIME \
|
||||
VoiceDialer \
|
||||
libWnnEngDic \
|
||||
libWnnJpnDic \
|
||||
libwnndict
|
||||
|
||||
# Additional settings used in all AOSP builds
|
||||
PRODUCT_PROPERTY_OVERRIDES := \
|
||||
keyguard.no_require_sim=true \
|
||||
ro.com.android.dateformat=MM-dd-yyyy \
|
||||
ro.com.android.dataroaming=true \
|
||||
ro.ril.hsxpa=1 \
|
||||
ro.ril.gprsclass=10
|
||||
|
||||
PRODUCT_COPY_FILES := \
|
||||
development/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
|
||||
development/data/etc/vold.conf:system/etc/vold.conf
|
||||
development/data/etc/apns-conf.xml:system/etc/apns-conf.xml
|
||||
|
||||
# Pick up some sounds.
|
||||
$(call inherit-product, frameworks/base/data/sounds/AudioPackage4.mk)
|
||||
|
||||
# Get a list of languages.
|
||||
$(call inherit-product, build/target/product/locales_full.mk)
|
||||
|
||||
$(call inherit-product, build/target/product/generic.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_no_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)
|
||||
|
||||
# Overrides
|
||||
PRODUCT_NAME := full
|
||||
PRODUCT_BRAND := generic
|
||||
PRODUCT_DEVICE := generic
|
||||
PRODUCT_MODEL := Full Android
|
||||
|
||||
|
42
target/product/full_no_telephony.mk
Normal file
42
target/product/full_no_telephony.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
#
|
||||
# Copyright (C) 2009 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
# This is a build configuration for a full-featured build of the
|
||||
# Open-Source part of the tree. It's geared toward a US-centric
|
||||
# build of the emulator, but all those aspects can be overridden
|
||||
# in inherited configurations.
|
||||
|
||||
PRODUCT_PACKAGES := \
|
||||
OpenWnn \
|
||||
PinyinIME \
|
||||
VoiceDialer \
|
||||
libWnnEngDic \
|
||||
libWnnJpnDic \
|
||||
libwnndict
|
||||
|
||||
# Additional settings used in all AOSP builds
|
||||
PRODUCT_PROPERTY_OVERRIDES := \
|
||||
keyguard.no_require_sim=true \
|
||||
ro.com.android.dateformat=MM-dd-yyyy
|
||||
|
||||
PRODUCT_COPY_FILES := \
|
||||
development/data/etc/vold.conf:system/etc/vold.conf
|
||||
|
||||
# Pick up some sounds.
|
||||
$(call inherit-product, frameworks/base/data/sounds/AudioPackage4.mk)
|
||||
|
||||
# Get a list of languages.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/locales_full.mk)
|
@@ -17,41 +17,10 @@
|
||||
# This is a generic phone product that isn't specialized for a specific device.
|
||||
# It includes the base Android platform.
|
||||
|
||||
PRODUCT_POLICY := android.policy_phone
|
||||
|
||||
PRODUCT_PACKAGES := \
|
||||
AccountAndSyncSettings \
|
||||
CarHome \
|
||||
DeskClock \
|
||||
AlarmProvider \
|
||||
Bluetooth \
|
||||
Calculator \
|
||||
Calendar \
|
||||
Camera \
|
||||
CertInstaller \
|
||||
DrmProvider \
|
||||
Email \
|
||||
Gallery3D \
|
||||
LatinIME \
|
||||
Launcher2 \
|
||||
Mms \
|
||||
Music \
|
||||
Provision \
|
||||
Phone \
|
||||
Protips \
|
||||
QuickSearchBox \
|
||||
Settings \
|
||||
Sync \
|
||||
SystemUI \
|
||||
Updater \
|
||||
CalendarProvider \
|
||||
SyncProvider
|
||||
Mms
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
icu.dat
|
||||
|
||||
$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_no_telephony.mk)
|
||||
|
||||
# Overrides
|
||||
PRODUCT_BRAND := generic
|
||||
|
58
target/product/generic_no_telephony.mk
Normal file
58
target/product/generic_no_telephony.mk
Normal file
@@ -0,0 +1,58 @@
|
||||
#
|
||||
# Copyright (C) 2007 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
# This is a generic phone product that isn't specialized for a specific device.
|
||||
# It includes the base Android platform.
|
||||
|
||||
PRODUCT_POLICY := android.policy_phone
|
||||
|
||||
PRODUCT_PACKAGES := \
|
||||
AccountAndSyncSettings \
|
||||
CarHome \
|
||||
DeskClock \
|
||||
AlarmProvider \
|
||||
Bluetooth \
|
||||
Calculator \
|
||||
Calendar \
|
||||
Camera \
|
||||
CertInstaller \
|
||||
DrmProvider \
|
||||
Email \
|
||||
Gallery3D \
|
||||
LatinIME \
|
||||
Launcher2 \
|
||||
Music \
|
||||
Provision \
|
||||
Phone \
|
||||
Protips \
|
||||
QuickSearchBox \
|
||||
Settings \
|
||||
Sync \
|
||||
SystemUI \
|
||||
Updater \
|
||||
CalendarProvider \
|
||||
SyncProvider
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
icu.dat
|
||||
|
||||
$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
|
||||
|
||||
# Overrides
|
||||
PRODUCT_BRAND := generic
|
||||
PRODUCT_DEVICE := generic
|
||||
PRODUCT_NAME := generic_no_telephony
|
@@ -34,7 +34,6 @@ PRODUCT_PACKAGES := \
|
||||
Gallery3D \
|
||||
LatinIME \
|
||||
Launcher2 \
|
||||
Mms \
|
||||
Music \
|
||||
Provision \
|
||||
QuickSearchBox \
|
||||
|
Reference in New Issue
Block a user