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
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
index c7acfe3..5925580 100644
--- a/build/soong/Android.bp
+++ b/build/soong/Android.bp
@@ -140,6 +140,23 @@
}
soong_config_module_type {
+ name: "gralloc_handle_ubwcp_format",
+ module_type: "cc_defaults",
+ config_namespace: "blissGlobalVars",
+ 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: "target_shim_libs",
module_type: "cc_defaults",
config_namespace: "blissGlobalVars",