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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 def cfi_vptr(c): | 514 def cfi_vptr(c): |
515 c.gyp_env.GYP_DEFINES['cfi_vptr'] = 1 | 515 c.gyp_env.GYP_DEFINES['cfi_vptr'] = 1 |
516 c.gyp_env.GYP_LINK_CONCURRENCY = 8 | 516 c.gyp_env.GYP_LINK_CONCURRENCY = 8 |
517 | 517 |
518 @config_ctx() | 518 @config_ctx() |
519 def trybot_flavor(c): | 519 def trybot_flavor(c): |
520 fastbuild(c, optional=True) | 520 fastbuild(c, optional=True) |
521 dcheck(c, optional=True) | 521 dcheck(c, optional=True) |
522 | 522 |
523 @config_ctx() | 523 @config_ctx() |
524 def gn_minimal_symbols(c): | |
525 c.gn_args.append('symbol_level=1') | |
526 | |
527 @config_ctx() | |
528 def clang_tot(c): | 524 def clang_tot(c): |
529 c.env.LLVM_FORCE_HEAD_REVISION = 'YES' | 525 c.env.LLVM_FORCE_HEAD_REVISION = 'YES' |
530 # Plugin flags often need to be changed when using a plugin newer than | 526 # Plugin flags often need to be changed when using a plugin newer than |
531 # the latest Clang package, so disable plugins. | 527 # the latest Clang package, so disable plugins. |
532 # TODO(pcc): Investigate whether this should be consistent between Windows and | 528 # TODO(pcc): Investigate whether this should be consistent between Windows and |
533 # non-Windows. | 529 # non-Windows. |
534 if c.TARGET_PLATFORM != 'win': | 530 if c.TARGET_PLATFORM != 'win': |
535 c.gyp_env.GYP_DEFINES['clang_use_chrome_plugins'] = 0 | 531 c.gyp_env.GYP_DEFINES['clang_use_chrome_plugins'] = 0 |
536 | 532 |
537 @config_ctx(includes=['ninja', 'clang', 'asan', 'static_library']) | 533 @config_ctx(includes=['ninja', 'clang', 'asan', 'static_library']) |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 def cast_linux(c): | 796 def cast_linux(c): |
801 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 797 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
802 | 798 |
803 @config_ctx() | 799 @config_ctx() |
804 def internal_gles2_conform_tests(c): | 800 def internal_gles2_conform_tests(c): |
805 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 801 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
806 | 802 |
807 @config_ctx() | 803 @config_ctx() |
808 def build_angle_deqp_tests(c): | 804 def build_angle_deqp_tests(c): |
809 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 805 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
OLD | NEW |