summaryrefslogtreecommitdiff
path: root/device_sapphire.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-03-04 13:15:57 -0800
committerYing Wang <wangying@google.com>2010-03-05 10:14:04 -0800
commit2fbdc9708be1d495529ec269b65c90d6e4d856a7 (patch)
treec0b2abe3ba9a8525ceb43cc07428627e6c7883ab /device_sapphire.mk
parentb3f32f8afc05eb095af41aecabb35296fc2650da (diff)
downloadsapphire-2fbdc9708be1d495529ec269b65c90d6e4d856a7.tar.gz
Move open-sourceable sapphire files.
Diffstat (limited to 'device_sapphire.mk')
-rw-r--r--device_sapphire.mk44
1 files changed, 44 insertions, 0 deletions
diff --git a/device_sapphire.mk b/device_sapphire.mk
new file mode 100644
index 0000000..21ad680
--- /dev/null
+++ b/device_sapphire.mk
@@ -0,0 +1,44 @@
+#
+# Copyright (C) 2008 Google Inc.
+#
+# 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.
+#
+
+# To be included directly by a device_sapphire*.mk makefile;
+# do not use inherit-product on this file.
+
+# stuff common to all HTC phones
+$(call inherit-product, device/htc/common/common.mk)
+
+PRODUCT_MANUFACTURER := HTC
+DEVICE_PACKAGE_OVERLAYS := device/htc/sapphire/overlay device/htc/common/overlay vendor/htc/common/overlay
+
+# we have enough storage space to hold precise GC data
+#PRODUCT_TAGS += dalvik.gc.type-precise
+
+# Install the features available on this device.
+PRODUCT_COPY_FILES += \
+ frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
+ frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
+ frameworks/base/data/etc/android.hardware.touchscreen.multitouch.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.xml
+
+#include Windows Media
+include vendor/pv/wm/WindowsMedia.mk
+
+
+PRODUCT_PROPERTY_OVERRIDES +=
+ ro.media.dec.jpeg.memcap=10000000
+
+# media configuration xml file
+PRODUCT_COPY_FILES += \
+ device/htc/sapphire/media_profiles.xml:/system/etc/media_profiles.xml