summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-03-10 15:32:29 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-03-10 15:32:29 -0800
commit10fa0bfc3dd059f144f179797256ab0b82268953 (patch)
tree51cfdf25e3e47a5f4708e2a6b8aea9af8473fc86
parenta512a777823ce7dd045ed14576289fb7a884f3f1 (diff)
parente319ace6c85826cbc0e6b2c247892f6455d594d7 (diff)
downloadsapphire-10fa0bfc3dd059f144f179797256ab0b82268953.tar.gz
Merge "Add generic_sapphire config"
-rw-r--r--AndroidProducts.mk21
-rw-r--r--generic_sapphire.mk28
2 files changed, 49 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..4488cf6
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,21 @@
+# 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 lists the product definition files that define
+# configurations which are actually buildable (e.g. through lunch)
+#
+
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/generic_sapphire.mk
diff --git a/generic_sapphire.mk b/generic_sapphire.mk
new file mode 100644
index 0000000..d8f29e6
--- /dev/null
+++ b/generic_sapphire.mk
@@ -0,0 +1,28 @@
+# 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 generic 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/generic.mk)
+
+# Discard inherited values and use our own instead.
+PRODUCT_NAME := generic_sapphire
+PRODUCT_DEVICE := sapphire