OSDN Git Service

54b4d4ad6313ce4c1987c0454e2044f5ba93847b
[android-x86/device-common.git] / generic_x86 / device.mk
1 #
2 # Copyright (C) 2011 The Android-x86 Open Source Project
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 # This is a build configuration for the product aspects that
18 # are specific to the emulator.
19
20 PRODUCT_DIR := $(dir $(lastword $(filter-out device/common/%,$(filter device/%,$(ALL_PRODUCTS)))))
21
22 PRODUCT_PROPERTY_OVERRIDES := \
23     ro.ril.hsxpa=1 \
24     ro.ril.gprsclass=10 \
25     ro.com.android.dataroaming=true
26
27 PRODUCT_COPY_FILES := \
28     device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml \
29     $(if $(wildcard $(PRODUCT_DIR)init.rc),$(PRODUCT_DIR),$(LOCAL_PATH)/)init.rc:root/init.rc \
30     $(if $(wildcard $(PRODUCT_DIR)init.$(TARGET_PRODUCT).rc),$(PRODUCT_DIR)init.$(TARGET_PRODUCT).rc:root/init.$(TARGET_PRODUCT).rc) \
31     $(if $(wildcard $(PRODUCT_DIR)excluded-input-devices.xml),$(PRODUCT_DIR),$(LOCAL_PATH)/)excluded-input-devices.xml:system/etc/excluded-input-devices.xml \
32
33 PRODUCT_COPY_FILES += \
34     $(LOCAL_PATH)/GenericTouch.idc:system/usr/idc/GenericTouch.idc \
35     frameworks/base/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \
36     frameworks/base/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
37     frameworks/base/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
38     frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
39     frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
40     frameworks/base/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
41     frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
42     frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
43     frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
44     frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
45     frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
46     packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml
47
48 PRODUCT_LOCALES := en_US
49
50 PRODUCT_TAGS += dalvik.gc.type-precise
51
52 PRODUCT_CHARACTERISTICS := tablet
53
54 # Get the touchscreen calibration tool
55 $(call inherit-product-if-exists,external/tslib/tslib.mk)
56
57 # Get the hardware acceleration libraries
58 $(call inherit-product-if-exists,device/common/gpu/gpu_mesa.mk)
59
60 # Get some sounds
61 $(call inherit-product-if-exists,frameworks/base/data/sounds/AllAudio.mk)
62
63 # Get a list of languages.
64 $(call inherit-product-if-exists,$(SRC_TARGET_DIR)/product/locales_full.mk)
65
66 # Get tablet dalvik parameters
67 $(call inherit-product-if-exists,frameworks/base/build/tablet-dalvik-heap.mk)
68
69 # Get the alsa files
70 $(call inherit-product-if-exists,$(SRC_TARGET_DIR)/board/generic_x86/alsa.mk)
71
72 # Get the TTS language packs
73 $(call inherit-product-if-exists,external/svox/pico/lang/all_pico_languages.mk)
74
75 # Get GMS
76 $(call inherit-product-if-exists,vendor/google/products/gms.mk)