Rename AOSP builds to aosp_*
Change-Id: If609f66904ac560bc7a6e9ff9a43c2e039525687
This commit is contained in:
parent
ba71aba939
commit
324c123500
12 changed files with 105 additions and 13 deletions
10
envsetup.sh
10
envsetup.sh
|
@ -426,10 +426,10 @@ function add_lunch_combo()
|
|||
}
|
||||
|
||||
# add the default one here
|
||||
add_lunch_combo full-eng
|
||||
add_lunch_combo full_x86-eng
|
||||
add_lunch_combo aosp_arm-eng
|
||||
add_lunch_combo aosp_x86-eng
|
||||
add_lunch_combo aosp_mips-eng
|
||||
add_lunch_combo vbox_x86-eng
|
||||
add_lunch_combo full_mips-eng
|
||||
|
||||
function print_lunch_menu()
|
||||
{
|
||||
|
@ -458,7 +458,7 @@ function lunch()
|
|||
answer=$1
|
||||
else
|
||||
print_lunch_menu
|
||||
echo -n "Which would you like? [full-eng] "
|
||||
echo -n "Which would you like? [aosp_arm-eng] "
|
||||
read answer
|
||||
fi
|
||||
|
||||
|
@ -466,7 +466,7 @@ function lunch()
|
|||
|
||||
if [ -z "$answer" ]
|
||||
then
|
||||
selection=full-eng
|
||||
selection=aosp_arm-eng
|
||||
elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")
|
||||
then
|
||||
if [ $answer -le ${#LUNCH_MENU_CHOICES[@]} ]
|
||||
|
|
|
@ -34,9 +34,12 @@
|
|||
# Unbundled apps will be built with the most generic product config.
|
||||
ifneq ($(TARGET_BUILD_APPS),)
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/aosp_arm.mk \
|
||||
$(LOCAL_DIR)/full.mk \
|
||||
$(LOCAL_DIR)/generic_armv5.mk \
|
||||
$(LOCAL_DIR)/aosp_x86.mk \
|
||||
$(LOCAL_DIR)/full_x86.mk \
|
||||
$(LOCAL_DIR)/aosp_mips.mk
|
||||
$(LOCAL_DIR)/full_mips.mk
|
||||
else
|
||||
PRODUCT_MAKEFILES := \
|
||||
|
@ -44,8 +47,11 @@ PRODUCT_MAKEFILES := \
|
|||
$(LOCAL_DIR)/generic.mk \
|
||||
$(LOCAL_DIR)/generic_x86.mk \
|
||||
$(LOCAL_DIR)/generic_mips.mk \
|
||||
$(LOCAL_DIR)/aosp_arm.mk \
|
||||
$(LOCAL_DIR)/full.mk \
|
||||
$(LOCAL_DIR)/aosp_x86.mk \
|
||||
$(LOCAL_DIR)/full_x86.mk \
|
||||
$(LOCAL_DIR)/aosp_mips.mk \
|
||||
$(LOCAL_DIR)/full_mips.mk \
|
||||
$(LOCAL_DIR)/vbox_x86.mk \
|
||||
$(LOCAL_DIR)/sdk.mk \
|
||||
|
|
18
target/product/aosp_arm.mk
Normal file
18
target/product/aosp_arm.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Copyright 2013 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.
|
||||
#
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_arm
|
16
target/product/aosp_base.mk
Normal file
16
target/product/aosp_base.mk
Normal file
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# Copyright 2013 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.
|
||||
#
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
16
target/product/aosp_base_telephony.mk
Normal file
16
target/product/aosp_base_telephony.mk
Normal file
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# Copyright 2013 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.
|
||||
#
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
18
target/product/aosp_mips.mk
Normal file
18
target/product/aosp_mips.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Copyright 2013 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.
|
||||
#
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_mips.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_mips
|
18
target/product/aosp_x86.mk
Normal file
18
target/product/aosp_x86.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Copyright 2013 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.
|
||||
#
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_x86.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_x86
|
|
@ -19,7 +19,7 @@
|
|||
# build quite specifically for the emulator, and might not be
|
||||
# entirely appropriate to inherit from for on-device configurations.
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic/device.mk)
|
||||
|
||||
include $(SRC_TARGET_DIR)/product/emulator.mk
|
||||
|
@ -28,4 +28,4 @@ include $(SRC_TARGET_DIR)/product/emulator.mk
|
|||
PRODUCT_NAME := full
|
||||
PRODUCT_DEVICE := generic
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MODEL := Full Android on Emulator
|
||||
PRODUCT_MODEL := AOSP on ARM Emulator
|
||||
|
|
|
@ -29,5 +29,5 @@ PRODUCT_PROPERTY_OVERRIDES := \
|
|||
PRODUCT_COPY_FILES := \
|
||||
device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony.mk)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
# mips build quite specifically for the emulator, and might not be
|
||||
# entirely appropriate to inherit from for on-device configurations.
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_mips/device.mk)
|
||||
|
||||
include $(SRC_TARGET_DIR)/product/emulator.mk
|
||||
|
@ -28,4 +28,4 @@ include $(SRC_TARGET_DIR)/product/emulator.mk
|
|||
PRODUCT_NAME := full_mips
|
||||
PRODUCT_DEVICE := generic_mips
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MODEL := Full MIPS Android on Emulator
|
||||
PRODUCT_MODEL := AOSP on MIPS Emulator
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# that isn't a wifi connection. This will instruct init.rc to enable the
|
||||
# network connection so that you can use it with ADB
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk)
|
||||
|
||||
include $(SRC_TARGET_DIR)/product/emulator.mk
|
||||
|
@ -41,4 +41,4 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_NAME := full_x86
|
||||
PRODUCT_DEVICE := generic_x86
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MODEL := Full Android on x86 Emulator
|
||||
PRODUCT_MODEL := AOSP on IA Emulator
|
||||
|
|
|
@ -22,7 +22,7 @@ ifdef NET_ETH0_STARTONBOOT
|
|||
PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1
|
||||
endif
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/vbox_x86/device.mk)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
Loading…
Reference in a new issue