blob: f1af1656f814c5e348e0c68d0407df3829637b9b [file] [log] [blame]
Amit Pundir579f6092019-04-18 19:15:05 +05301#
2# Copyright (C) 2011 The Android 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# copied from crosshatch
18# setup dalvik vm configs
19$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
20
21PRODUCT_COPY_FILES := \
Sumit Semwal37a07c02021-05-14 16:52:12 +053022 device/linaro/dragonboard/pixel3_mainline/fstab.pixel3_mainline:$(TARGET_COPY_OUT_RAMDISK)/fstab.pixel3_mainline \
23 device/linaro/dragonboard/pixel3_mainline/fstab.pixel3_mainline:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.pixel3_mainline \
Amit Pundir579f6092019-04-18 19:15:05 +053024 device/linaro/dragonboard/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.pixel3_mainline.rc \
25 device/linaro/dragonboard/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.pixel3_mainline.usb.rc \
26 device/linaro/dragonboard/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/pixel3_mainline.kl
27
Sasha Smundake24372e2020-11-23 22:29:32 -080028ifneq (,$(wildcard $(PIXEL3_KERNEL_DIR)/Image.gz-dtb))
John Stultzbffd63c2020-01-29 00:23:28 +000029 PRODUCT_COPY_FILES += $(PIXEL3_KERNEL_DIR)/Image.gz-dtb:kernel
30 PIXEL3_KERNEL_FOUND := true
31else
32 PIXEL3_KERNEL_FOUND := false
33endif
34
Amit Pundir579f6092019-04-18 19:15:05 +053035# Build generic Audio HAL
36PRODUCT_PACKAGES := audio.primary.pixel3_mainline
Sumit Semwal8a11a962020-03-25 14:38:03 +053037
Sumit Semwal67798b12021-05-26 17:01:18 +053038PRODUCT_PROPERTY_OVERRIDES += \
39 ro.sf.lcd_density=443
40
Sumit Semwal8a11a962020-03-25 14:38:03 +053041# Copy firmware files
42$(call inherit-product-if-exists, $(LOCAL_PATH)/firmware/device.mk)