android_vendor_google_devic.../Android.mk

34 lines
1.6 KiB
Makefile
Raw Permalink Normal View History

# Generated by adevtool; do not edit
# For more info, see https://github.com/kdrag0n/adevtool
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),raven)
2023-05-06 17:18:04 +00:00
$(call add-radio-file,firmware/bootloader.img)
2023-06-24 16:44:24 +00:00
$(call add-radio-file,firmware/radio.img)
2022-10-06 12:48:05 +00:00
include $(CLEAR_VARS)
LOCAL_MODULE := device_symlinks
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_OWNER := google_devices
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
LOCAL_MODULE_STEM := .device_symlinks
LOCAL_SRC_FILES := Android.mk
LOCAL_POST_INSTALL_CMD := \
mkdir -p $(PRODUCT_OUT)/product/priv-app/DMService/lib/arm; \
mkdir -p $(PRODUCT_OUT)/product/priv-app/DMService/lib/arm64; \
mkdir -p $(PRODUCT_OUT)/system_ext/priv-app/HbmSVManager/lib/arm64; \
mkdir -p $(PRODUCT_OUT)/system_ext/priv-app/TurboAdapter/lib/arm64; \
2022-10-06 12:48:05 +00:00
ln -sf /product/lib/libdmengine.so $(PRODUCT_OUT)/product/priv-app/DMService/lib/arm/libdmengine.so; \
ln -sf /product/lib/libdmjavaplugin.so $(PRODUCT_OUT)/product/priv-app/DMService/lib/arm/libdmjavaplugin.so; \
ln -sf /product/lib64/libdmengine.so $(PRODUCT_OUT)/product/priv-app/DMService/lib/arm64/libdmengine.so; \
ln -sf /product/lib64/libdmjavaplugin.so $(PRODUCT_OUT)/product/priv-app/DMService/lib/arm64/libdmjavaplugin.so; \
ln -sf /system_ext/lib64/libhbmsvmanager_jni.so $(PRODUCT_OUT)/system_ext/priv-app/HbmSVManager/lib/arm64/libhbmsvmanager_jni.so; \
ln -sf /system_ext/lib64/libpowerstatshaldataprovider.so $(PRODUCT_OUT)/system_ext/priv-app/TurboAdapter/lib/arm64/libpowerstatshaldataprovider.so; \
2022-10-06 12:48:05 +00:00
rm -f $(TARGET_OUT_VENDOR_ETC)/.device_symlinks
include $(BUILD_PREBUILT)
endif