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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 GYP_LINK_CONCURRENCY = Single(int, required=False), | 67 GYP_LINK_CONCURRENCY = Single(int, required=False), |
68 GYP_MSVS_VERSION = Single(basestring, required=False), | 68 GYP_MSVS_VERSION = Single(basestring, required=False), |
69 GYP_USE_SEPARATE_MSPDBSRV = Single(int, jsonish_fn=str, required=False), | 69 GYP_USE_SEPARATE_MSPDBSRV = Single(int, jsonish_fn=str, required=False), |
70 LLVM_DOWNLOAD_GOLD_PLUGIN = Single(int, required=False), | 70 LLVM_DOWNLOAD_GOLD_PLUGIN = Single(int, required=False), |
71 ), | 71 ), |
72 env = ConfigGroup( | 72 env = ConfigGroup( |
73 PATH = List(Path), | 73 PATH = List(Path), |
74 ADB_VENDOR_KEYS = Single(Path, required=False), | 74 ADB_VENDOR_KEYS = Single(Path, required=False), |
75 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), | 75 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), |
76 GOMA_STUBBY_PROXY_IP_ADDRESS = Single(basestring, required=False), | 76 GOMA_STUBBY_PROXY_IP_ADDRESS = Single(basestring, required=False), |
| 77 FORCE_MAC_TOOLCHAIN = Single(int, required=False), |
77 ), | 78 ), |
78 project_generator = ConfigGroup( | 79 project_generator = ConfigGroup( |
79 tool = Single(basestring, empty_val='gyp'), | 80 tool = Single(basestring, empty_val='gyp'), |
80 args = Set(basestring), | 81 args = Set(basestring), |
81 ), | 82 ), |
82 build_dir = Single(Path), | 83 build_dir = Single(Path), |
83 cros_sdk = ConfigGroup( | 84 cros_sdk = ConfigGroup( |
84 external = Single(bool, empty_val=True, required=False), | 85 external = Single(bool, empty_val=True, required=False), |
85 args = List(basestring), | 86 args = List(basestring), |
86 ), | 87 ), |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 def cast_linux(c): | 799 def cast_linux(c): |
799 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 800 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
800 | 801 |
801 @config_ctx() | 802 @config_ctx() |
802 def internal_gles2_conform_tests(c): | 803 def internal_gles2_conform_tests(c): |
803 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 804 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
804 | 805 |
805 @config_ctx() | 806 @config_ctx() |
806 def build_angle_deqp_tests(c): | 807 def build_angle_deqp_tests(c): |
807 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 808 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| 809 |
| 810 @config_ctx() |
| 811 def force_mac_toolchain(c): |
| 812 c.env.FORCE_MAC_TOOLCHAIN = 1 |
OLD | NEW |