diff --git a/Android.bp b/Android.bp index a92e1d4..6ebcf24 100644 --- a/Android.bp +++ b/Android.bp @@ -3,6 +3,9 @@ // This file is generated by device/xiaomi/sweet/setup-makefiles.sh soong_namespace { + imports: [ + "vendor/xiaomi/sm6150-common", + ], } cc_prebuilt_library_shared { @@ -3018,7 +3021,12 @@ cc_prebuilt_library_shared { cc_prebuilt_binary { name: "batterysecret", owner: "xiaomi", - srcs: ["proprietary/vendor/bin/batterysecret"], + target: { + android_arm64: { + srcs: ["proprietary/vendor/bin/batterysecret"], + }, + }, + compile_multilib: "64", check_elf_files: false, strip: { none: true, @@ -3030,7 +3038,12 @@ cc_prebuilt_binary { cc_prebuilt_binary { name: "mi_thermald", owner: "xiaomi", - srcs: ["proprietary/vendor/bin/mi_thermald"], + target: { + android_arm64: { + srcs: ["proprietary/vendor/bin/mi_thermald"], + }, + }, + compile_multilib: "64", check_elf_files: false, strip: { none: true, @@ -3042,7 +3055,12 @@ cc_prebuilt_binary { cc_prebuilt_binary { name: "sensors.qti", owner: "xiaomi", - srcs: ["proprietary/vendor/bin/sensors.qti"], + target: { + android_arm64: { + srcs: ["proprietary/vendor/bin/sensors.qti"], + }, + }, + compile_multilib: "64", check_elf_files: false, strip: { none: true, @@ -3054,7 +3072,12 @@ cc_prebuilt_binary { cc_prebuilt_binary { name: "thermal-engine", owner: "xiaomi", - srcs: ["proprietary/vendor/bin/thermal-engine"], + target: { + android_arm64: { + srcs: ["proprietary/vendor/bin/thermal-engine"], + }, + }, + compile_multilib: "64", check_elf_files: false, strip: { none: true,