diff options
Diffstat (limited to 'gralloc4/Android.bp')
-rw-r--r-- | gralloc4/Android.bp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gralloc4/Android.bp b/gralloc4/Android.bp index 8edc25a..d97cbdb 100644 --- a/gralloc4/Android.bp +++ b/gralloc4/Android.bp @@ -35,6 +35,7 @@ soong_config_module_type { "gralloc_hwc_force_bgra_8888", "gralloc_hwc_fb_disable_afbc", "gralloc_camera_write_raw16", + "soc" ], properties: [ "cflags", @@ -62,6 +63,15 @@ soong_config_bool_variable { name: "gralloc_camera_write_raw16", } +soong_config_string_variable { + name: "soc", + values: [ + "gs101", + "gs201", + "zuma", + ], +} + arm_gralloc_cc_defaults { name: "arm_gralloc_defaults", owner: "arm", @@ -139,5 +149,12 @@ arm_gralloc_cc_defaults { "-DGRALLOC_CAMERA_WRITE_RAW16=1", ], }, + soc: { + zuma: { + cflags: [ + "-DSOC_ZUMA" + ], + }, + }, }, } |