summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-03-22 11:02:29 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-03-22 11:14:46 -0700
commit0e176b8d30d677594b0cf2f0131a4bc1c8ba5a4d (patch)
tree1d2d9f514118862a8a81a4dff50cfbe1a8851d3f
parent9d44faadf9439341f2b2ec822760fa85fa783d58 (diff)
downloaddream-0e176b8d30d677594b0cf2f0131a4bc1c8ba5a4d.tar.gz
Build configuration based on full.mk
Change-Id: Icac6719700ef16c5a29bece2244404560220675e
-rw-r--r--AndroidProducts.mk3
-rw-r--r--full_dream.mk29
-rw-r--r--vendorsetup.sh23
3 files changed, 54 insertions, 1 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index cf0c7ef..dbfbde2 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -26,4 +26,5 @@
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/generic_dream.mk
+ $(LOCAL_DIR)/generic_dream.mk \
+ $(LOCAL_DIR)/full_dream.mk
diff --git a/full_dream.mk b/full_dream.mk
new file mode 100644
index 0000000..1c5078d
--- /dev/null
+++ b/full_dream.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 dream 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/dream/device_dream_us.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)
+
+# Discard inherited values and use our own instead.
+PRODUCT_NAME := full_dream
+PRODUCT_DEVICE := dream
+PRODUCT_MODEL := Full Android on Dream
diff --git a/vendorsetup.sh b/vendorsetup.sh
new file mode 100644
index 0000000..95af9ac
--- /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_dream-userdebug