soong: Add TARGET_TRUST_USB_CONTROL_{PATH,ENABLE,DISABLE}

Change-Id: Ib245114588fd14c83069e4365f9ca3e9e9536ba9
This commit is contained in:
LuK1337
2022-03-23 20:39:30 +01:00
committed by Michael Bestas
parent b55f5af61b
commit ec10ed10f8
2 changed files with 36 additions and 0 deletions

View File

@@ -157,6 +157,33 @@ surfaceflinger_udfps_lib {
},
}
soong_config_module_type {
name: "trust_usb_control",
module_type: "cc_defaults",
config_namespace: "lineageGlobalVars",
value_variables: [
"target_trust_usb_control_path",
"target_trust_usb_control_enable",
"target_trust_usb_control_disable",
],
properties: ["cppflags"],
}
trust_usb_control {
name: "trust_usb_control_defaults",
soong_config_variables: {
target_trust_usb_control_path: {
cppflags: ["-DUSB_CONTROL_PATH=\"%s\""],
},
target_trust_usb_control_enable: {
cppflags: ["-DUSB_CONTROL_ENABLE=\"%s\""],
},
target_trust_usb_control_disable: {
cppflags: ["-DUSB_CONTROL_DISABLE=\"%s\""],
},
},
}
soong_config_module_type {
name: "ignores_ftp_pptp_conntrack_failure_defaults",
module_type: "cc_defaults",