diff options
| author | 2023-08-22 03:52:23 +0000 | |
|---|---|---|
| committer | 2023-08-22 03:52:23 +0000 | |
| commit | 9b215d35557e83cd331d7f3e87a62cfcce5b326a (patch) | |
| tree | 278240772d62e746e0fcbf84a1aa8102ddbf56b8 | |
| parent | 426720b4948b50a9eade53a7eb04f6d5c485135b (diff) | |
| parent | d66cdb322942f18619d875320b53b96d694b24a4 (diff) | |
Merge "Add a flag" into main
| -rw-r--r-- | libs/hwui/Android.bp | 19 | ||||
| -rw-r--r-- | libs/hwui/aconfig/hwui_flags.aconfig | 8 |
2 files changed, 27 insertions, 0 deletions
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index 7f80dff311f5..ce6b4b74d0da 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp @@ -28,6 +28,24 @@ license { ], } +aconfig_declarations { + name: "hwui_flags", + package: "com.android.graphics.hwui.flags", + srcs: [ + "aconfig/hwui_flags.aconfig", + ], +} + +java_aconfig_library { + name: "hwui_flags_java_lib", + aconfig_declarations: "hwui_flags", +} + +cc_aconfig_library { + name: "hwui_flags_cc_lib", + aconfig_declarations: "hwui_flags", +} + cc_defaults { name: "hwui_defaults", defaults: [ @@ -139,6 +157,7 @@ cc_defaults { "libstatspull_lazy", "libstatssocket_lazy", "libtonemap", + "hwui_flags_cc_lib", ], }, host: { diff --git a/libs/hwui/aconfig/hwui_flags.aconfig b/libs/hwui/aconfig/hwui_flags.aconfig new file mode 100644 index 000000000000..d074a90d1adf --- /dev/null +++ b/libs/hwui/aconfig/hwui_flags.aconfig @@ -0,0 +1,8 @@ +package: "com.android.graphics.hwui.flags" + +flag { + name: "limited_hdr" + namespace: "core_graphics" + description: "API to enable apps to restrict the amount of HDR headroom that is used" + bug: "234181960" +}
\ No newline at end of file |