# # Copyright (C) 2015 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 includes all definitions that apply to ALL bullhead devices, and # are also specific to bullhead devices # # Everything in this directory will become public ifeq ($(TARGET_PREBUILT_KERNEL),) LOCAL_KERNEL := device/lge/bullhead-kernel/zImage-dtb else LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) endif PRODUCT_COPY_FILES := \ $(LOCAL_KERNEL):kernel PRODUCT_COPY_FILES += \ device/lge/bullhead/init.bullhead.rc:root/init.bullhead.rc \ device/lge/bullhead/fstab.bullhead:root/fstab.bullhead \ device/lge/bullhead/ueventd.bullhead.rc:root/ueventd.bullhead.rc # These are the hardware-specific features PRODUCT_COPY_FILES += \ frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml PRODUCT_TAGS += dalvik.gc.type-precise PRODUCT_AAPT_CONFIG := normal PRODUCT_AAPT_PREF_CONFIG := xxxhdpi PRODUCT_CHARACTERISTICS := nosdcard DEVICE_PACKAGE_OVERLAYS := \ device/lge/bullhead/overlay PRODUCT_PROPERTY_OVERRIDES += \ ro.opengles.version=196608 PRODUCT_PROPERTY_OVERRIDES += \ ro.sf.lcd_density=480 # setup dalvik vm configs. $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) $(call inherit-product-if-exists, hardware/qcom/msm8x92/msm8x92.mk) $(call inherit-product-if-exists, vendor/qcom/gpu/msm8x92/msm8x92-gpu-vendor.mk)