Skip to content

Commit

Permalink
raphael: Align with sdm710-common
Browse files Browse the repository at this point in the history
  • Loading branch information
SebaUbuntu authored and joeyhuab committed Oct 21, 2022
1 parent 5df5ef1 commit 0d48fcd
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Android.bp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (C) 2021-2022 The LineageOS Project
// Copyright (C) 2022 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
Expand Down
2 changes: 1 addition & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ BOARD_AVB_RECOVERY_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
BOARD_AVB_RECOVERY_ROLLBACK_INDEX := 1
BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1

# WiFi
# Wi-Fi
BOARD_WLAN_DEVICE := qcwcn
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
Expand Down
45 changes: 24 additions & 21 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ PRODUCT_PACKAGES += \
libvolumelistener \
tinymix

# Audio configs
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/,$(TARGET_COPY_OUT_VENDOR)/etc)

Expand Down Expand Up @@ -260,20 +261,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/hotword-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/hotword-hiddenapi-package-whitelist.xml \
$(LOCAL_PATH)/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml

# Init scripts
PRODUCT_PACKAGES += \
fstab.qcom \
fstab.zram \
init.power.rc \
init.qcom.rc \
init.qcom.sh \
init.qcom.usb.rc \
init.qcom.usb.sh \
init.recovery.qcom.rc \
init.target.rc \
init.xiaomi.rc \
ueventd.qcom.rc

# IPACM
PRODUCT_PACKAGES += \
ipacm \
Expand Down Expand Up @@ -350,7 +337,6 @@ PRODUCT_PACKAGES += \
# NFC
PRODUCT_PACKAGES += \
[email protected] \
[email protected] \
com.android.nfc_extras \
libchrome.vendor \
[email protected] \
Expand All @@ -359,6 +345,9 @@ PRODUCT_PACKAGES += \
SecureElement \
Tag

PRODUCT_PACKAGES += \
[email protected]

PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
$(LOCAL_PATH)/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
Expand Down Expand Up @@ -387,10 +376,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
libqti-perfd-client

# Pixel Wallpapers (2021)
PRODUCT_PACKAGES += \
PixelWallpapers2021

# Power
PRODUCT_PACKAGES += \
android.hardware.power-service.xiaomi-libperfmgr \
Expand Down Expand Up @@ -436,6 +421,22 @@ PRODUCT_PACKAGES += \
[email protected] \
[email protected]

# Rootdir
PRODUCT_PACKAGES += \
fstab.qcom \
fstab.zram

PRODUCT_PACKAGES += \
init.power.rc \
init.qcom.rc \
init.qcom.sh \
init.qcom.usb.rc \
init.qcom.usb.sh \
init.recovery.qcom.rc \
init.target.rc \
init.xiaomi.rc \
ueventd.qcom.rc

# Seccomp
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/seccomp/codec2.vendor.base.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.base.policy \
Expand All @@ -450,7 +451,9 @@ PRODUCT_PACKAGES += \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected]

PRODUCT_PACKAGES += \
libsensorndkbridge

# Shim
Expand Down Expand Up @@ -514,7 +517,7 @@ PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict
PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true
PRODUCT_PRODUCT_VNDK_VERSION := current

# WiFi
# Wi-Fi
PRODUCT_PACKAGES += \
[email protected] \
hostapd \
Expand Down

0 comments on commit 0d48fcd

Please sign in to comment.