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 recipe_engine.config import config_item_context, ConfigGroup | 7 from recipe_engine.config import config_item_context, ConfigGroup |
8 from recipe_engine.config import Dict, List, Single, Static, Set, BadConf | 8 from recipe_engine.config import Dict, List, Single, Static, Set, BadConf |
9 from recipe_engine.config_types import Path | 9 from recipe_engine.config_types import Path |
10 | 10 |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 c.compile_py.compiler = None | 782 c.compile_py.compiler = None |
783 c.compile_py.goma_dir = None | 783 c.compile_py.goma_dir = None |
784 c.gyp_env.GYP_DEFINES['use_goma'] = 0 | 784 c.gyp_env.GYP_DEFINES['use_goma'] = 0 |
785 | 785 |
786 @config_ctx() | 786 @config_ctx() |
787 def chromium_deterministic_build(c): | 787 def chromium_deterministic_build(c): |
788 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 788 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
789 | 789 |
790 @config_ctx() | 790 @config_ctx() |
791 def chromium_mac_sdk_10_10(c): | 791 def chromium_mac_sdk_10_10(c): |
792 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10' | 792 c.gyp_env.GYP_DEFINES['mac_sdk_min'] = '10.10' |
793 | 793 |
794 @config_ctx(includes=['chromium_clang']) | 794 @config_ctx(includes=['chromium_clang']) |
795 def cast_linux(c): | 795 def cast_linux(c): |
796 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 796 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
OLD | NEW |