| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 def ninja(c): | 229 def ninja(c): |
| 230 if c.TARGET_PLATFORM == 'ios': | 230 if c.TARGET_PLATFORM == 'ios': |
| 231 c.gyp_env.GYP_GENERATORS.add('ninja') | 231 c.gyp_env.GYP_GENERATORS.add('ninja') |
| 232 | 232 |
| 233 out_path = 'out' | 233 out_path = 'out' |
| 234 if c.TARGET_CROS_BOARD: | 234 if c.TARGET_CROS_BOARD: |
| 235 out_path += '_%s' % (c.TARGET_CROS_BOARD,) | 235 out_path += '_%s' % (c.TARGET_CROS_BOARD,) |
| 236 c.build_dir = c.CHECKOUT_PATH.join(out_path) | 236 c.build_dir = c.CHECKOUT_PATH.join(out_path) |
| 237 | 237 |
| 238 @config_ctx() | 238 @config_ctx() |
| 239 def msvs2010(c): | |
| 240 c.gyp_env.GYP_MSVS_VERSION = '2010' | |
| 241 | |
| 242 @config_ctx() | |
| 243 def msvs2012(c): | |
| 244 c.gyp_env.GYP_MSVS_VERSION = '2012' | |
| 245 | |
| 246 @config_ctx() | |
| 247 def msvs2013(c): | 239 def msvs2013(c): |
| 248 c.gn_args.append('visual_studio_version=2013') | 240 c.gn_args.append('visual_studio_version=2013') |
| 249 c.gyp_env.GYP_MSVS_VERSION = '2013' | 241 c.gyp_env.GYP_MSVS_VERSION = '2013' |
| 250 | 242 |
| 251 @config_ctx() | 243 @config_ctx() |
| 252 def msvs2015(c): | 244 def msvs2015(c): |
| 253 c.gn_args.append('visual_studio_version=2015') | 245 c.gn_args.append('visual_studio_version=2015') |
| 254 c.gyp_env.GYP_MSVS_VERSION = '2015' | 246 c.gyp_env.GYP_MSVS_VERSION = '2015' |
| 255 | 247 |
| 256 @config_ctx() | 248 @config_ctx() |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 def cast_linux(c): | 804 def cast_linux(c): |
| 813 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 805 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 814 | 806 |
| 815 @config_ctx() | 807 @config_ctx() |
| 816 def internal_gles2_conform_tests(c): | 808 def internal_gles2_conform_tests(c): |
| 817 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 809 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 818 | 810 |
| 819 @config_ctx() | 811 @config_ctx() |
| 820 def build_angle_deqp_tests(c): | 812 def build_angle_deqp_tests(c): |
| 821 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 813 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| OLD | NEW |