| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import pipes | 5 import pipes |
| 6 | 6 |
| 7 from slave.recipe_config import config_item_context, ConfigGroup | 7 from slave.recipe_config import config_item_context, ConfigGroup |
| 8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf | 8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf |
| 9 from slave.recipe_config_types import Path | 9 from slave.recipe_config_types import Path |
| 10 | 10 |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 dcheck(c, optional=True) | 479 dcheck(c, optional=True) |
| 480 | 480 |
| 481 @config_ctx() | 481 @config_ctx() |
| 482 def gn_component_build(c): | 482 def gn_component_build(c): |
| 483 c.gn_args.append('is_component_build=true') | 483 c.gn_args.append('is_component_build=true') |
| 484 | 484 |
| 485 @config_ctx() | 485 @config_ctx() |
| 486 def gn_minimal_symbols(c): | 486 def gn_minimal_symbols(c): |
| 487 c.gn_args.append('symbol_level=1') | 487 c.gn_args.append('symbol_level=1') |
| 488 | 488 |
| 489 @config_ctx() | |
| 490 def gn_use_prebuilt_mojo_shell(c): | |
| 491 c.gn_args.append('use_prebuilt_mojo_shell=true') | |
| 492 | |
| 493 #### 'Full' configurations | 489 #### 'Full' configurations |
| 494 @config_ctx(includes=['ninja', 'default_compiler']) | 490 @config_ctx(includes=['ninja', 'default_compiler']) |
| 495 def chromium_no_goma(c): | 491 def chromium_no_goma(c): |
| 496 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] | 492 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] |
| 497 | 493 |
| 498 @config_ctx(includes=['ninja', 'default_compiler', 'goma']) | 494 @config_ctx(includes=['ninja', 'default_compiler', 'goma']) |
| 499 def chromium(c): | 495 def chromium(c): |
| 500 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] | 496 c.compile_py.default_targets = ['All', 'chromium_builder_tests'] |
| 501 | 497 |
| 502 @config_ctx(includes=['ninja', 'clang']) # Intentionally no goma yet. | 498 @config_ctx(includes=['ninja', 'clang']) # Intentionally no goma yet. |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 def chromium_perf_fyi(c): | 741 def chromium_perf_fyi(c): |
| 746 c.compile_py.clobber = False | 742 c.compile_py.clobber = False |
| 747 if c.HOST_PLATFORM == 'win': | 743 if c.HOST_PLATFORM == 'win': |
| 748 c.compile_py.compiler = None | 744 c.compile_py.compiler = None |
| 749 c.compile_py.goma_dir = None | 745 c.compile_py.goma_dir = None |
| 750 c.gyp_env.GYP_DEFINES['use_goma'] = 0 | 746 c.gyp_env.GYP_DEFINES['use_goma'] = 0 |
| 751 | 747 |
| 752 @config_ctx() | 748 @config_ctx() |
| 753 def chromium_deterministic_build(c): | 749 def chromium_deterministic_build(c): |
| 754 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 750 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
| OLD | NEW |