omni: Hookup GRALLOC_HANDLE_HAS_UBWCP_FORMAT
The gralloc struct has been conditionally adjusted not to
break blobs that use the old struct.
Change-Id: I4dd1d1890ad08364d5315386ab830ce9e0edd041
diff --git a/config/Android.bp b/config/Android.bp
index 5883321..5c5af31 100644
--- a/config/Android.bp
+++ b/config/Android.bp
@@ -310,6 +310,22 @@
}
soong_config_module_type {
+ name: "gralloc_handle_ubwcp_format",
+ module_type: "cc_defaults",
+ config_namespace: "omniGlobalVars",
+ bool_variables: ["gralloc_handle_has_ubwcp_format"],
+ properties: ["export_cflags"],
+}
+gralloc_handle_ubwcp_format {
+ name: "gralloc_handle_has_ubwcp_format_defaults",
+ soong_config_variables: {
+ gralloc_handle_has_ubwcp_format: {
+ export_cflags: ["-DGRALLOC_HANDLE_HAS_UBWCP_FORMAT"],
+ },
+ },
+}
+
+soong_config_module_type {
name: "gralloc_10_usage_bits",
module_type: "cc_defaults",
config_namespace: "omniGlobalVars",