a71: Switch to py extract utils

Change-Id: I8870e45e429fd651892f2da1bfc2452ba4fb545a
This commit is contained in:
LuK1337
2024-11-03 11:09:56 +01:00
committed by Haky86
parent cdb13de855
commit 1bc744c456
4 changed files with 444 additions and 225 deletions

View File

@@ -1,258 +1,482 @@
//
// Automatically generated file. DO NOT MODIFY // Automatically generated file. DO NOT MODIFY
// //
// This file is generated by device/samsung/a71/setup-makefiles.sh
soong_namespace { soong_namespace {
imports: [ imports: [
"vendor/samsung/a71-common", "vendor/samsung/a71-common",
"device/samsung/a71-common", ],
"hardware/qcom-caf/sm8150",
"hardware/qcom-caf/wlan",
"hardware/samsung",
"vendor/qcom/opensource/dataservices",
"vendor/qcom/opensource/commonsys/display",
"vendor/qcom/opensource/commonsys-intf/display",
"vendor/qcom/opensource/display",
],
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libbauthserver", name: "libbauthserver",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/libbauthserver.so"], srcs: [
shared_libs: ["liblog", "libutils", "libcutils", "libbinder", "libbauthtzcommon", "libsynaFpSensorTestNwd", "libegis_fp_normal_sensor_test", "libgf_in_system_lib", "libqfp_sensortest", "libcrypto", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/lib/libbauthserver.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/libbauthserver.so"], "liblog",
shared_libs: ["liblog", "libutils", "libcutils", "libbinder", "libbauthtzcommon", "libsynaFpSensorTestNwd", "libegis_fp_normal_sensor_test", "libgf_in_system_lib", "libqfp_sensortest", "libcrypto", "libc++", "libc", "libm", "libdl", ], "libutils",
}, "libcutils",
}, "libbinder",
compile_multilib: "both", "libbauthtzcommon",
prefer: true, "libsynaFpSensorTestNwd",
soc_specific: true, "libegis_fp_normal_sensor_test",
"libgf_in_system_lib",
"libqfp_sensortest",
"libcrypto",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libbauthserver.so",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"libbinder",
"libbauthtzcommon",
"libsynaFpSensorTestNwd",
"libegis_fp_normal_sensor_test",
"libgf_in_system_lib",
"libqfp_sensortest",
"libcrypto",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libbauthtzcommon", name: "libbauthtzcommon",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/libbauthtzcommon.so"], srcs: [
shared_libs: ["liblog", "libcutils", "libutils", "libQSEEComAPI", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/lib/libbauthtzcommon.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/libbauthtzcommon.so"], "liblog",
shared_libs: ["liblog", "libcutils", "libutils", "libQSEEComAPI", "libc++", "libc", "libm", "libdl", ], "libcutils",
}, "libutils",
}, "libQSEEComAPI",
compile_multilib: "both", "libc++",
prefer: true, "libc",
soc_specific: true, "libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libbauthtzcommon.so",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libQSEEComAPI",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libegis_fp_normal_sensor_test", name: "libegis_fp_normal_sensor_test",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/libegis_fp_normal_sensor_test.so"], srcs: [
shared_libs: ["liblog", "libc", "libm", ], "proprietary/vendor/lib/libegis_fp_normal_sensor_test.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/libegis_fp_normal_sensor_test.so"], "liblog",
shared_libs: ["liblog", "libc", "libm", ], "libc",
}, "libm",
}, ],
compile_multilib: "both", },
prefer: true, android_arm64: {
soc_specific: true, srcs: [
"proprietary/vendor/lib64/libegis_fp_normal_sensor_test.so",
],
shared_libs: [
"liblog",
"libc",
"libm",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libgf_in_system_lib", name: "libgf_in_system_lib",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/libgf_in_system_lib.so"], srcs: [
shared_libs: ["libcutils", "libc++", "liblog", "libc", "libm", "libdl", ], "proprietary/vendor/lib/libgf_in_system_lib.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/libgf_in_system_lib.so"], "libcutils",
shared_libs: ["libcutils", "libc++", "liblog", "libc", "libm", "libdl", ], "libc++",
}, "liblog",
}, "libc",
compile_multilib: "both", "libm",
prefer: true, "libdl",
soc_specific: true, ],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libgf_in_system_lib.so",
],
shared_libs: [
"libcutils",
"libc++",
"liblog",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libqfp_sensortest", name: "libqfp_sensortest",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/libqfp_sensortest.so"], srcs: [
shared_libs: ["libcutils", "liblog", "libutils", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/lib/libqfp_sensortest.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/libqfp_sensortest.so"], "libcutils",
shared_libs: ["libcutils", "liblog", "libutils", "libc++", "libc", "libm", "libdl", ], "liblog",
}, "libutils",
}, "libc++",
compile_multilib: "both", "libc",
prefer: true, "libm",
soc_specific: true, "libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqfp_sensortest.so",
],
shared_libs: [
"libcutils",
"liblog",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libsynaFpSensorTestNwd", name: "libsynaFpSensorTestNwd",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/libsynaFpSensorTestNwd.so"], srcs: [
shared_libs: ["liblog", "libdl", "libc", ], "proprietary/vendor/lib/libsynaFpSensorTestNwd.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/libsynaFpSensorTestNwd.so"], "liblog",
shared_libs: ["liblog", "libdl", "libc", ], "libdl",
}, "libc",
}, ],
compile_multilib: "both", },
check_elf_files: false, android_arm64: {
prefer: true, srcs: [
soc_specific: true, "proprietary/vendor/lib64/libsynaFpSensorTestNwd.so",
],
shared_libs: [
"liblog",
"libdl",
"libc",
],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "sensors.grip", name: "sensors.grip",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/sensors.grip.so"], srcs: [
shared_libs: ["liblog", "libcutils", "libutils", "libfmq", "libhidlbase", "libhardware", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0-ScopedWakelock", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/lib/sensors.grip.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/sensors.grip.so"], "liblog",
shared_libs: ["liblog", "libcutils", "libutils", "libfmq", "libhidlbase", "libhardware", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0-ScopedWakelock", "libc++", "libc", "libm", "libdl", ], "libcutils",
}, "libutils",
}, "libfmq",
compile_multilib: "both", "libhidlbase",
prefer: true, "libhardware",
soc_specific: true, "android.hardware.sensors@2.0",
"android.hardware.sensors@2.0-ScopedWakelock",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/sensors.grip.so",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libfmq",
"libhidlbase",
"libhardware",
"android.hardware.sensors@2.0",
"android.hardware.sensors@2.0-ScopedWakelock",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "vendor.qti.hardware.fingerprint@1.0", name: "vendor.qti.hardware.fingerprint@1.0",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm: { android_arm: {
srcs: ["proprietary/vendor/lib/vendor.qti.hardware.fingerprint@1.0.so"], srcs: [
shared_libs: ["libhidlbase", "liblog", "libutils", "libcutils", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/lib/vendor.qti.hardware.fingerprint@1.0.so",
}, ],
android_arm64: { shared_libs: [
srcs: ["proprietary/vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so"], "libhidlbase",
shared_libs: ["libhidlbase", "liblog", "libutils", "libcutils", "libc++", "libc", "libm", "libdl", ], "liblog",
}, "libutils",
}, "libcutils",
compile_multilib: "both", "libc++",
prefer: true, "libc",
soc_specific: true, "libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "nfc_nci_nxp_vendor", name: "nfc_nci_nxp_vendor",
stem: "nfc_nci_nxp", stem: "nfc_nci_nxp",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm64: { android_arm64: {
srcs: ["proprietary/vendor/lib64/nfc_nci_nxp.so"], srcs: [
shared_libs: ["android.hardware.nfc@1.0", "android.hardware.nfc@1.1", "android.hardware.nfc@1.2", "libbase", "libcutils", "libhardware", "libhardware_legacy", "libhidlbase", "liblog", "libutils", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/lib64/nfc_nci_nxp.so",
}, ],
}, shared_libs: [
compile_multilib: "64", "android.hardware.nfc@1.0",
prefer: true, "android.hardware.nfc@1.1",
soc_specific: true, "android.hardware.nfc@1.2",
"libbase",
"libcutils",
"libhardware",
"libhardware_legacy",
"libhidlbase",
"liblog",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "vendor.nxp.nxpnfc@1.1", name: "vendor.nxp.nxpnfc@1.1",
owner: "samsung", owner: "samsung",
strip: { strip: {
none: true, none: true,
}, },
target: { target: {
android_arm64: { android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.nxp.nxpnfc@1.1.so"], srcs: [
shared_libs: ["vendor.nxp.nxpnfc@1.0", "libhidlbase", "liblog", "libutils", "libcutils", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/lib64/vendor.nxp.nxpnfc@1.1.so",
}, ],
}, shared_libs: [
compile_multilib: "64", "vendor.nxp.nxpnfc@1.0",
prefer: true, "libhidlbase",
soc_specific: true, "liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
} }
cc_prebuilt_binary { cc_prebuilt_binary {
name: "factory.ssc", name: "factory.ssc",
owner: "samsung", owner: "samsung",
target: { target: {
android_arm64: { android_arm64: {
srcs: ["proprietary/vendor/bin/factory.ssc"], srcs: [
shared_libs: ["libdiag", "liblog", "libcutils", "libqmi_common_so", "libqmi_cci", "libqmi_encdec", "libqmi_csi", "libnanopb", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/bin/factory.ssc",
}, ],
}, shared_libs: [
compile_multilib: "64", "libdiag",
strip: { "liblog",
none: true, "libcutils",
}, "libqmi_common_so",
prefer: true, "libqmi_cci",
soc_specific: true, "libqmi_encdec",
"libqmi_csi",
"libnanopb",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
} }
cc_prebuilt_binary { cc_prebuilt_binary {
name: "nxp.android.hardware.nfc@1.1-service", name: "nxp.android.hardware.nfc@1.1-service",
owner: "samsung", owner: "samsung",
target: { target: {
android_arm64: { android_arm64: {
srcs: ["proprietary/vendor/bin/hw/nxp.android.hardware.nfc@1.1-service"], srcs: [
shared_libs: ["nfc_nci_nxp", "libbase", "libcutils", "libhardware", "liblog", "libutils", "android.hardware.nfc@1.0", "android.hardware.nfc@1.1", "android.hardware.nfc@1.2", "libhidlbase", "vendor.nxp.nxpnfc@1.0", "vendor.nxp.nxpnfc@1.1", "libc++", "libc", "libm", "libdl", ], "proprietary/vendor/bin/hw/nxp.android.hardware.nfc@1.1-service",
}, ],
}, shared_libs: [
compile_multilib: "64", "nfc_nci_nxp",
check_elf_files: false, "libbase",
strip: { "libcutils",
none: true, "libhardware",
}, "liblog",
prefer: true, "libutils",
relative_install_path: "hw", "android.hardware.nfc@1.0",
soc_specific: true, "android.hardware.nfc@1.1",
"android.hardware.nfc@1.2",
"libhidlbase",
"vendor.nxp.nxpnfc@1.0",
"vendor.nxp.nxpnfc@1.1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
check_elf_files: false,
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
} }

View File

@@ -1,9 +1,5 @@
#
# Automatically generated file. DO NOT MODIFY # Automatically generated file. DO NOT MODIFY
# #
# This file is generated by device/samsung/a71/setup-makefiles.sh
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),a71)
endif

View File

@@ -1,4 +1,3 @@
#
# Automatically generated file. DO NOT MODIFY # Automatically generated file. DO NOT MODIFY
# #
# This file is generated by device/samsung/a71/setup-makefiles.sh

View File

@@ -1,6 +1,6 @@
#
# Automatically generated file. DO NOT MODIFY # Automatically generated file. DO NOT MODIFY
# #
# This file is generated by device/samsung/a71/setup-makefiles.sh
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
vendor/samsung/a71 vendor/samsung/a71