summaryrefslogtreecommitdiff
path: root/include/powermanager/PowerHalController.h
diff options
context:
space:
mode:
author Nolan Scobie <nscobie@google.com> 2024-05-20 13:32:13 -0400
committer Nolan Scobie <nscobie@google.com> 2024-05-31 12:05:38 -0400
commit488101bf891623780e2f4d0eaacadc6d02e268f9 (patch)
tree8835a7bfa86cecd9018dd4cae4e115750252746a /include/powermanager/PowerHalController.h
parent4a466641791cb573f2d029f283ce8a2b25974bd5 (diff)
[RenderEngine] Only compile Graphite if either Graphite flag is enabled
RE-Graphite will be *compiled* if either the graphite_renderengine or force_compile_graphite_renderengine ready-only flag is enabled at compile time (inclusive OR). RE-Graphite can be compiled and *enabled* by: 1. setting just graphite_renderengine=true, or 2. setting both force_compile_graphite_renderengine=true and the debug.renderengine.graphite system property to true. Why RenderEngine needs a dep on libsurfaceflingerflags now: libsurfaceflinger_common pulls in SF's FlagManager, which is layered on top of the API that's autogenerated for SF's aconfig module, libsurfaceflingerflags. The COM_ANDROID_GRAPHICS_SURFACEFLINGER_FLAGS(...) macro is defined by com_android_graphics_surfaceflinger_flags.h in that latter aconfig module, and that header is not exported by the higher-level FlagManager code. Bug: b/293371537 Bug: b/331678326 Bug: b/341728634 Test: boot and bloaty (see b/331678326) Flag: com.android.graphics.surfaceflinger.flags.graphite_renderengine Change-Id: I9d0b15bda08430552716a9a1f7cd59d91ee7b9a6
Diffstat (limited to 'include/powermanager/PowerHalController.h')
0 files changed, 0 insertions, 0 deletions