Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: infra/bots/recipe_modules/flavor/gn_flavor.py

Issue 2356853002: GN: add skia_enable_gpu (default true) (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-NoGPU.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipe_modules/flavor/gn_flavor.py
diff --git a/infra/bots/recipe_modules/flavor/gn_flavor.py b/infra/bots/recipe_modules/flavor/gn_flavor.py
index b2a2230cc9ff696cbbf61606622610dd569aac6d..ba37e1760c9510d225b81f29bebf841404b8372a 100644
--- a/infra/bots/recipe_modules/flavor/gn_flavor.py
+++ b/infra/bots/recipe_modules/flavor/gn_flavor.py
@@ -16,6 +16,7 @@ class GNFlavorUtils(default_flavor.DefaultFlavorUtils):
'SAN' in extra_config,
extra_config == 'Fast',
extra_config == 'GN',
+ extra_config == 'NoGPU',
extra_config.startswith('SK'),
os == 'Ubuntu' and target_arch == 'x86',
])
@@ -63,6 +64,8 @@ class GNFlavorUtils(default_flavor.DefaultFlavorUtils):
args['is_debug'] = 'false'
if extra_config == 'MSAN':
args['skia_use_fontconfig'] = 'false'
+ if extra_config == 'NoGPU':
+ args['skia_enable_gpu'] = 'false'
for (k,v) in {
'cc': cc,
« no previous file with comments | « BUILD.gn ('k') | infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-NoGPU.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698