# # Copyright (C) 2011 The Android-x86 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 is a build configuration for the product aspects that # are specific to the emulator. PRODUCT_DIR := $(dir $(lastword $(filter-out device/common/%,$(filter device/%,$(ALL_PRODUCTS))))) PRODUCT_PROPERTY_OVERRIDES := \ ro.arch=x86 \ ro.ril.hsxpa=1 \ ro.ril.gprsclass=10 \ ro.com.android.dataroaming=true PRODUCT_COPY_FILES := \ device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml \ $(if $(wildcard $(PRODUCT_DIR)init.rc),$(PRODUCT_DIR),$(LOCAL_PATH)/)init.rc:root/init.rc \ $(if $(wildcard $(PRODUCT_DIR)init.$(TARGET_PRODUCT).rc),$(PRODUCT_DIR)init.$(TARGET_PRODUCT).rc:root/init.$(TARGET_PRODUCT).rc) \ $(if $(wildcard $(PRODUCT_DIR)excluded-input-devices.xml),$(PRODUCT_DIR),$(LOCAL_PATH)/)excluded-input-devices.xml:system/etc/excluded-input-devices.xml \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/GenericTouch.idc:system/usr/idc/GenericTouch.idc \ frameworks/base/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ frameworks/base/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ frameworks/base/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \ frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ frameworks/base/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml PRODUCT_LOCALES := en_US PRODUCT_TAGS += dalvik.gc.type-precise PRODUCT_CHARACTERISTICS := tablet # Get the touchscreen calibration tool $(call inherit-product-if-exists,external/tslib/tslib.mk) # Get the hardware acceleration libraries $(call inherit-product-if-exists,device/common/gpu/gpu_mesa.mk) # Get some sounds $(call inherit-product-if-exists,frameworks/base/data/sounds/AllAudio.mk) # Get a list of languages. $(call inherit-product-if-exists,$(SRC_TARGET_DIR)/product/locales_full.mk) # Get tablet dalvik parameters $(call inherit-product-if-exists,frameworks/base/build/tablet-dalvik-heap.mk) # Get the alsa files $(call inherit-product-if-exists,$(SRC_TARGET_DIR)/board/generic_x86/alsa.mk) # Get the TTS language packs $(call inherit-product-if-exists,external/svox/pico/lang/all_pico_languages.mk) # Get GMS $(call inherit-product-if-exists,vendor/google/products/gms.mk)