mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-29 17:26:45 +00:00
Bug: 31420007 Change-Id: I7637c9cc6071730195dc174872d960bc43173552 Signed-off-by: Thierry Strudel <tstrudel@google.com>
63 lines
2.3 KiB
Makefile
63 lines
2.3 KiB
Makefile
#
|
|
# Copyright (C) 2016 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.
|
|
#
|
|
|
|
LOCAL_PATH := device/google/muskie
|
|
|
|
ifeq ($(TARGET_PREBUILT_KERNEL),)
|
|
LOCAL_KERNEL := device/google/muskie-kernel/Image.gz-dtb
|
|
else
|
|
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
|
|
endif
|
|
|
|
PRODUCT_CHARACTERISTICS := nosdcard
|
|
PRODUCT_SHIPPING_API_LEVEL := 24
|
|
|
|
DEVICE_PACKAGE_OVERLAYS := $(LOCAL_PATH)/overlay
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_KERNEL):kernel \
|
|
$(LOCAL_PATH)/fstab.hardware:root/fstab.$(PRODUCT_HARDWARE) \
|
|
$(LOCAL_PATH)/init.recovery.hardware.rc:root/init.recovery.$(PRODUCT_HARDWARE).rc \
|
|
$(LOCAL_PATH)/init.hardware.rc:root/init.$(PRODUCT_HARDWARE).rc \
|
|
$(LOCAL_PATH)/init.hardware.usb.rc:root/init.$(PRODUCT_HARDWARE).usb.rc \
|
|
$(LOCAL_PATH)/ueventd.hardware.rc:root/ueventd.$(PRODUCT_HARDWARE).rc \
|
|
|
|
BOARD_KERNEL_PAGESIZE := 4096
|
|
BOARD_FLASH_BLOCK_SIZE := 131072
|
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
|
TARGET_USERIMAGES_USE_EXT4 := true
|
|
BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432
|
|
BOARD_PERSISTIMAGE_FILE_SYSTEM_TYPE := ext4
|
|
|
|
MSM_VIDC_TARGET_LIST := msmcobalt # Get the color format from kernel headers
|
|
MASTER_SIDE_CP_TARGET_LIST := msmcobalt # ION specific settings
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
|
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/init.power.sh:system/bin/init.power.sh \
|
|
|
|
PRODUCT_PACKAGES += \
|
|
hwcomposer.msmcobalt \
|
|
gralloc.msmcobalt \
|
|
libbt-vendor \
|
|
lights.$(PRODUCT_HARDWARE) \
|
|
|
|
# setup dalvik vm configs
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
|