diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-03-22 11:02:30 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-03-22 11:02:30 -0700 |
commit | 2616ae05b3846f60af1af9be905e40b547047212 (patch) | |
tree | 8382719bccce2e64fdb5c380cc1eb8e0a28a99b9 | |
parent | daaceafa589cef58484242e06e3182816683e2e0 (diff) | |
download | sapphire-2616ae05b3846f60af1af9be905e40b547047212.tar.gz |
Build configuration based on full.mk
Change-Id: If35d0339d98e20d2756def9308b471dd42be9568
-rw-r--r-- | AndroidProducts.mk | 3 | ||||
-rw-r--r-- | full_sapphire.mk | 29 | ||||
-rw-r--r-- | vendorsetup.sh | 23 |
3 files changed, 54 insertions, 1 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 9d7e7a1..b3d69f9 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -26,4 +26,5 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/generic_sapphire.mk + $(LOCAL_DIR)/generic_sapphire.mk \ + $(LOCAL_DIR)/full_sapphire.mk diff --git a/full_sapphire.mk b/full_sapphire.mk new file mode 100644 index 0000000..5ed91f4 --- /dev/null +++ b/full_sapphire.mk @@ -0,0 +1,29 @@ +# 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 file is the build configuration for a full Android +# build for sapphire hardware. This cleanly combines a set of +# device-specific aspects (drivers) with a device-agnostic +# product configuration (apps). +# + +# Inherit from those products. Most specific first. +$(call inherit-product, device/htc/sapphire/device_sapphire_us.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk) + +# Discard inherited values and use our own instead. +PRODUCT_NAME := full_sapphire +PRODUCT_DEVICE := sapphire +PRODUCT_MODEL := Full Android on Sapphire diff --git a/vendorsetup.sh b/vendorsetup.sh new file mode 100644 index 0000000..d0f89c9 --- /dev/null +++ b/vendorsetup.sh @@ -0,0 +1,23 @@ +# +# Copyright (C) 2008 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 file is executed by build/envsetup.sh, and can use anything +# defined in envsetup.sh. +# +# In particular, you can add lunch options with the add_lunch_combo +# function: add_lunch_combo generic-eng + +add_lunch_combo full_sapphire-userdebug |