blob: e394c600138ea8c8a3baf6b4f99f59c2b931e9a0 [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 := \
John Stultze53665e2020-10-06 05:33:49 +000022 device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_RAMDISK)/fstab.pixel3_mainline \
Sumit Semwalbaa50b82020-05-13 15:34:59 +053023 device/linaro/dragonboard/fstab.common:$(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
John Stultzbffd63c2020-01-29 00:23:28 +000028ifneq ("$(wildcard $(PIXEL3_KERNEL_DIR)/Image.gz-dtb)","")
29 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
38# Copy firmware files
39$(call inherit-product-if-exists, $(LOCAL_PATH)/firmware/device.mk)