Caleb Connolly | 2688d33 | 2021-09-30 14:01:06 +0100 | [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 | PRODUCT_SOONG_NAMESPACES += \ |
| 18 | device/generic/sdm845 |
| 19 | |
| 20 | # copied from crosshatch |
| 21 | # setup dalvik vm configs |
| 22 | $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) |
| 23 | |
Alexander Martinz | 902faac | 2022-01-10 16:55:03 +0100 | [diff] [blame^] | 24 | # Allow to override ramdisk until we can produce fully generic builds |
| 25 | RAMDISK_FSTAB_TARGET ?= $(LOCAL_PATH)/fstab.ramdisk |
Caleb Connolly | 2688d33 | 2021-09-30 14:01:06 +0100 | [diff] [blame] | 26 | |
| 27 | PRODUCT_COPY_FILES := \ |
Alexander Martinz | 902faac | 2022-01-10 16:55:03 +0100 | [diff] [blame^] | 28 | $(RAMDISK_FSTAB_TARGET):$(TARGET_COPY_OUT_RAMDISK)/fstab.sdm845 \ |
| 29 | $(RAMDISK_FSTAB_TARGET):$(TARGET_COPY_OUT_VENDOR)/etc/fstab.sdm845 \ |
Caleb Connolly | 2688d33 | 2021-09-30 14:01:06 +0100 | [diff] [blame] | 30 | device/generic/sdm845/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.sdm845.rc \ |
| 31 | device/generic/sdm845/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.sdm845.usb.rc \ |
| 32 | device/generic/sdm845/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/sdm845.kl |
| 33 | |
Caleb Connolly | 09e60e8 | 2021-11-24 21:30:14 +0000 | [diff] [blame] | 34 | # Build generic Audio HAL |
| 35 | PRODUCT_PACKAGES := audio.primary.sdm845 |
| 36 | |
| 37 | # Build generic lights HAL |
| 38 | PRODUCT_PACKAGES += lights.sdm845 |
| 39 | |
| 40 | PRODUCT_PACKAGES += \ |
| 41 | pd-mapper \ |
| 42 | qrtr-ns \ |
| 43 | qrtr-cfg \ |
| 44 | qrtr-lookup \ |
| 45 | rmtfs \ |
| 46 | tqftpserv |
| 47 | |
Caleb Connolly | 2688d33 | 2021-09-30 14:01:06 +0100 | [diff] [blame] | 48 | PRODUCT_COPY_FILES += \ |
| 49 | device/generic/sdm845/qcom/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qcom.rc |