| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 gyp_env = ConfigGroup( | 60 gyp_env = ConfigGroup( |
| 61 GYP_CROSSCOMPILE = Single(int, jsonish_fn=str, required=False), | 61 GYP_CROSSCOMPILE = Single(int, jsonish_fn=str, required=False), |
| 62 GYP_CHROMIUM_NO_ACTION = Single(int, jsonish_fn=str, required=False), | 62 GYP_CHROMIUM_NO_ACTION = Single(int, jsonish_fn=str, required=False), |
| 63 GYP_DEFINES = Dict(equal_fn, ' '.join, (basestring,int,Path)), | 63 GYP_DEFINES = Dict(equal_fn, ' '.join, (basestring,int,Path)), |
| 64 GYP_GENERATORS = Set(basestring, ','.join), | 64 GYP_GENERATORS = Set(basestring, ','.join), |
| 65 GYP_GENERATOR_FLAGS = Dict(equal_fn, ' '.join, (basestring,int)), | 65 GYP_GENERATOR_FLAGS = Dict(equal_fn, ' '.join, (basestring,int)), |
| 66 GYP_INCLUDE_LAST = Single(Path, required=False), | 66 GYP_INCLUDE_LAST = Single(Path, required=False), |
| 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), | |
| 71 FORCE_MAC_TOOLCHAIN = Single(int, required=False), | 70 FORCE_MAC_TOOLCHAIN = Single(int, required=False), |
| 72 ), | 71 ), |
| 73 env = ConfigGroup( | 72 env = ConfigGroup( |
| 74 PATH = List(Path), | 73 PATH = List(Path), |
| 75 ADB_VENDOR_KEYS = Single(Path, required=False), | 74 ADB_VENDOR_KEYS = Single(Path, required=False), |
| 76 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), | 75 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), |
| 77 GOMA_STUBBY_PROXY_IP_ADDRESS = Single(basestring, required=False), | 76 GOMA_STUBBY_PROXY_IP_ADDRESS = Single(basestring, required=False), |
| 78 FORCE_MAC_TOOLCHAIN = Single(int, required=False), | 77 FORCE_MAC_TOOLCHAIN = Single(int, required=False), |
| 79 ), | 78 ), |
| 80 project_generator = ConfigGroup( | 79 project_generator = ConfigGroup( |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 826 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 828 | 827 |
| 829 @config_ctx() | 828 @config_ctx() |
| 830 def build_angle_deqp_tests(c): | 829 def build_angle_deqp_tests(c): |
| 831 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 830 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| 832 | 831 |
| 833 @config_ctx() | 832 @config_ctx() |
| 834 def force_mac_toolchain(c): | 833 def force_mac_toolchain(c): |
| 835 c.env.FORCE_MAC_TOOLCHAIN = 1 | 834 c.env.FORCE_MAC_TOOLCHAIN = 1 |
| 836 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 | 835 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 |
| OLD | NEW |