Amit Pundir | 579f609 | 2019-04-18 19:15:05 +0530 | [diff] [blame] | 1 | # |
| 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 | |
| 21 | PRODUCT_COPY_FILES := \ |
Amit Pundir | 579f609 | 2019-04-18 19:15:05 +0530 | [diff] [blame] | 22 | device/linaro/dragonboard/fstab.ramdisk.common:$(TARGET_COPY_OUT_RAMDISK)/fstab.pixel3_mainline \ |
Sumit Semwal | baa50b8 | 2020-05-13 15:34:59 +0530 | [diff] [blame] | 23 | device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.pixel3_mainline \ |
Amit Pundir | 579f609 | 2019-04-18 19:15:05 +0530 | [diff] [blame] | 24 | 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 Stultz | bffd63c | 2020-01-29 00:23:28 +0000 | [diff] [blame] | 28 | ifneq ("$(wildcard $(PIXEL3_KERNEL_DIR)/Image.gz-dtb)","") |
| 29 | PRODUCT_COPY_FILES += $(PIXEL3_KERNEL_DIR)/Image.gz-dtb:kernel |
| 30 | PIXEL3_KERNEL_FOUND := true |
| 31 | else |
| 32 | PIXEL3_KERNEL_FOUND := false |
| 33 | endif |
| 34 | |
Amit Pundir | 579f609 | 2019-04-18 19:15:05 +0530 | [diff] [blame] | 35 | # Build generic Audio HAL |
| 36 | PRODUCT_PACKAGES := audio.primary.pixel3_mainline |
Sumit Semwal | 8a11a96 | 2020-03-25 14:38:03 +0530 | [diff] [blame] | 37 | |
| 38 | # Copy firmware files |
| 39 | $(call inherit-product-if-exists, $(LOCAL_PATH)/firmware/device.mk) |