soong: Add TARGET_CAMERA_BOOTTIME_TIMESTAMP conditional
Change-Id: Iefdf247311f21222d4b6c794c1277d9993444804
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
index 56f987e..f4d70f0 100644
--- a/build/soong/Android.bp
+++ b/build/soong/Android.bp
@@ -160,6 +160,23 @@
}
soong_config_module_type {
+ name: "needs_camera_boottime",
+ module_type: "cc_defaults",
+ config_namespace: "blissGlobalVars",
+ bool_variables: ["needs_camera_boottime"],
+ properties: ["cppflags"],
+}
+
+needs_camera_boottime {
+ name: "needs_camera_boottime_defaults",
+ soong_config_variables: {
+ needs_camera_boottime: {
+ cppflags: ["-DTARGET_CAMERA_BOOTTIME_TIMESTAMP"],
+ },
+ },
+}
+
+soong_config_module_type {
name: "camera_needs_client_info",
module_type: "cc_defaults",
config_namespace: "blissGlobalVars",