Hookup GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE
The gralloc struct has been conditionally adjusted not to
break blobs that use the old struct.
So far only GRALLOC_HANDLE_HAS_RESERVED_SIZE was hooked up
for Google Pixels, but it's now time to hook up the remaining flag.
Change-Id: I175bd328bd9733b9487e349f7a8486f15ef0a450
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
index 6f1d4f1..c4855b7 100644
--- a/build/soong/Android.bp
+++ b/build/soong/Android.bp
@@ -88,6 +88,23 @@
}
soong_config_module_type {
+ name: "gralloc_handle_custom_content_md_reserved_size",
+ module_type: "cc_defaults",
+ config_namespace: "blissGlobalVars",
+ bool_variables: ["gralloc_handle_has_custom_content_md_reserved_size"],
+ properties: ["export_cflags"],
+}
+
+gralloc_handle_custom_content_md_reserved_size {
+ name: "gralloc_handle_has_custom_content_md_reserved_size_defaults",
+ soong_config_variables: {
+ gralloc_handle_has_custom_content_md_reserved_size: {
+ export_cflags: ["-DGRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE"],
+ },
+ },
+}
+
+soong_config_module_type {
name: "gralloc_handle_reserved_size",
module_type: "cc_defaults",
config_namespace: "blissGlobalVars",