mediatek: Run bpfix

Change-Id: I82d55ffd2ddcc30abe3123d8843687111623801d
This commit is contained in:
Mashopy
2025-04-05 04:15:24 +02:00
committed by Ansh
parent e3935df351
commit 4c14b507aa
10 changed files with 24 additions and 18 deletions

View File

@@ -1,3 +1,6 @@
soong_namespace {
imports: ["hardware/google/interfaces", "hardware/google/pixel"]
imports: [
"hardware/google/interfaces",
"hardware/google/pixel",
],
}

View File

@@ -3,7 +3,6 @@ android_app {
defaults: ["SettingsLibDefaults"],
srcs: ["src/**/*.java"],
resource_dirs: ["res"],
certificate: "platform",
platform_apis: true,

View File

@@ -8,7 +8,6 @@ android_app {
name: "MtkInCallService",
srcs: ["src/**/*.java"],
resource_dirs: ["res"],
certificate: "platform",
platform_apis: true,
@@ -16,5 +15,5 @@ android_app {
optimize: {
enabled: false,
}
},
}

View File

@@ -7,7 +7,6 @@ android_app {
name: "PowerOffAlarm",
srcs: ["java/**/*.java"],
resource_dirs: ["res"],
system_ext_specific: true,
certificate: "platform",
@@ -50,7 +49,7 @@ cc_library {
prebuilt_etc {
name: "com.qualcomm.qti.poweroffalarm_whitelist",
system_ext_specific: true,
sub_dir: "sysconfig",
relative_install_path: "sysconfig",
src: "com.qualcomm.qti.poweroffalarm_whitelist.xml",
filename_from_src: true,
}

View File

@@ -12,8 +12,14 @@ cc_binary {
"android.hardware.usb.gadget-service.xml",
],
vendor: true,
srcs: ["service_gadget.cpp", "UsbGadget.cpp"],
cflags: ["-Wall", "-Werror"],
srcs: [
"service_gadget.cpp",
"UsbGadget.cpp",
],
cflags: [
"-Wall",
"-Werror",
],
shared_libs: [
"libbase",
"liblog",

View File

@@ -9,7 +9,7 @@ soong_config_module_type {
module_type: "cc_defaults",
config_namespace: "android_hardware_mediatek_usb",
bool_variables: [
"audio_accessory_supported"
"audio_accessory_supported",
],
properties: ["cflags"],
}
@@ -19,16 +19,16 @@ android_hardware_usb_mediatek_config_default {
soong_config_variables: {
audio_accessory_supported: {
cflags: ["-DUSB_AUDIO_ACCESSORY_SUPPORTED"],
}
}
},
},
}
cc_binary {
name: "android.hardware.usb-service.mediatek",
defaults: ["android_hardware_usb_mediatek_config_defaults"],
relative_install_path: "hw",
init_rc: ["android.hardware.usb-service.mediatek.rc"],
vintf_fragments: ["android.hardware.usb-service.mediatek.xml"],
defaults: ["android_hardware_usb_mediatek_config_defaults"],
vendor: true,
srcs: [
"service.cpp",

View File

@@ -9,7 +9,7 @@ cc_binary {
init_rc: ["create_pl_dev.rc"],
recovery_available: true,
static_libs: [
"libfs_mgr"
"libfs_mgr",
],
shared_libs: [
"libbase",

View File

@@ -1,5 +1,5 @@
subdirs = [
"*"
"*",
]
hidl_package_root {

View File

@@ -16,13 +16,13 @@ cc_defaults {
cc_defaults {
name: "libpowerhalwrap_defaults",
srcs: ["powerhalwrap_vendor.c"],
shared_libs: ["liblog"]
shared_libs: ["liblog"],
}
cc_library_shared {
name: "libmtkperf_client_vendor",
vendor: true,
defaults: ["libmtkperf_client_defaults"],
vendor: true,
}
cc_library_shared {
@@ -37,6 +37,6 @@ cc_library_shared {
cc_library_shared {
name: "libpowerhalwrap_vendor",
vendor: true,
defaults: ["libpowerhalwrap_defaults"],
vendor: true,
}

View File

@@ -24,6 +24,6 @@ cc_library_shared {
prebuilt_etc {
name: "libwifi-hal-wrapper.xml",
src: "libwifi-hal-wrapper.xml",
sub_dir: "wifi/vendor_hals",
relative_install_path: "wifi/vendor_hals",
vendor: true,
}