blob: 4c320b3a66c4638cf8cc057f33efa21f40d06d98 [file] [log] [blame]
Caleb Connolly2688d332021-09-30 14:01:06 +01001#
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
17PRODUCT_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 Martinz902faac2022-01-10 16:55:03 +010024# Allow to override ramdisk until we can produce fully generic builds
25RAMDISK_FSTAB_TARGET ?= $(LOCAL_PATH)/fstab.ramdisk
Caleb Connolly2688d332021-09-30 14:01:06 +010026
27PRODUCT_COPY_FILES := \
Alexander Martinz902faac2022-01-10 16:55:03 +010028 $(RAMDISK_FSTAB_TARGET):$(TARGET_COPY_OUT_RAMDISK)/fstab.sdm845 \
29 $(RAMDISK_FSTAB_TARGET):$(TARGET_COPY_OUT_VENDOR)/etc/fstab.sdm845 \
Caleb Connolly2688d332021-09-30 14:01:06 +010030 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 Connolly09e60e82021-11-24 21:30:14 +000034# Build generic Audio HAL
35PRODUCT_PACKAGES := audio.primary.sdm845
36
37# Build generic lights HAL
38PRODUCT_PACKAGES += lights.sdm845
39
40PRODUCT_PACKAGES += \
41 pd-mapper \
42 qrtr-ns \
43 qrtr-cfg \
44 qrtr-lookup \
45 rmtfs \
46 tqftpserv
47
Caleb Connolly2688d332021-09-30 14:01:06 +010048PRODUCT_COPY_FILES += \
49 device/generic/sdm845/qcom/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qcom.rc