soong: Add TARGET_INCLUDES_MIUI_CAMERA
Change-Id: I46332a22b68367c7d6e37c619d0bb145d92128ec
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
index 8227a5e..7374d50 100644
--- a/build/soong/Android.bp
+++ b/build/soong/Android.bp
@@ -430,6 +430,22 @@
},
}
+
+soong_config_module_type {
+ name: "include_miui_camera",
+ module_type: "cc_defaults",
+ config_namespace: "blissGlobalVars",
+ bool_variables: ["include_miui_camera"],
+ properties: ["cppflags"],
+}
+include_miui_camera {
+ name: "includes_miui_camera",
+ soong_config_variables: {
+ include_miui_camera: {
+ cppflags: ["-DINCLUDES_MIUI_CAMERA"],
+ },
+ },
+}
soong_config_module_type {
name: "uses_miui_camera",
module_type: "cc_defaults",