soong: Add TARGET_TRUST_USB_CONTROL_{PATH,ENABLE,DISABLE}
Change-Id: Ib245114588fd14c83069e4365f9ca3e9e9536ba9
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
index 8fc4011..e36988c 100644
--- a/build/soong/Android.bp
+++ b/build/soong/Android.bp
@@ -212,6 +212,33 @@
}
soong_config_module_type {
+ name: "trust_usb_control",
+ module_type: "cc_defaults",
+ config_namespace: "blissGlobalVars",
+ 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: "needs_camera_boottime",
module_type: "cc_defaults",
config_namespace: "blissGlobalVars",