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 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 def chromium_perf_fyi(c): | 766 def chromium_perf_fyi(c): |
767 c.compile_py.clobber = False | 767 c.compile_py.clobber = False |
768 if c.HOST_PLATFORM == 'win': | 768 if c.HOST_PLATFORM == 'win': |
769 c.compile_py.compiler = None | 769 c.compile_py.compiler = None |
770 c.compile_py.goma_dir = None | 770 c.compile_py.goma_dir = None |
771 c.gyp_env.GYP_DEFINES['use_goma'] = 0 | 771 c.gyp_env.GYP_DEFINES['use_goma'] = 0 |
772 | 772 |
773 @config_ctx() | 773 @config_ctx() |
774 def chromium_deterministic_build(c): | 774 def chromium_deterministic_build(c): |
775 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 775 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
| 776 |
| 777 @config_ctx(includes=['chromium_clang']) |
| 778 def cast_linux(c): |
| 779 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 780 c.compile_py.default_targets = ['cast_shell', 'cast_test_lists'] |
OLD | NEW |