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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 fastbuild(c, final=False) # final=False so win_clang_asan can override it. | 508 fastbuild(c, final=False) # final=False so win_clang_asan can override it. |
509 | 509 |
510 @config_ctx(includes=['chromium_win_clang']) | 510 @config_ctx(includes=['chromium_win_clang']) |
511 def chromium_win_clang_tot(c): | 511 def chromium_win_clang_tot(c): |
512 c.env.LLVM_FORCE_HEAD_REVISION = 'YES' | 512 c.env.LLVM_FORCE_HEAD_REVISION = 'YES' |
513 | 513 |
514 @config_ctx(includes=['chromium_win_clang', 'official']) | 514 @config_ctx(includes=['chromium_win_clang', 'official']) |
515 def chromium_win_clang_official(c): | 515 def chromium_win_clang_official(c): |
516 pass | 516 pass |
517 | 517 |
518 @config_ctx(includes=['chromium_win_clang', 'official']) | |
519 def chromium_win_clang_official_tot(c): | |
520 c.env.LLVM_FORCE_HEAD_REVISION = 'YES' | |
521 | |
522 @config_ctx(includes=['chromium_win_clang', 'asan', 'static_library']) | 518 @config_ctx(includes=['chromium_win_clang', 'asan', 'static_library']) |
523 def chromium_win_clang_asan(c): | 519 def chromium_win_clang_asan(c): |
524 # These are set on the lkgr bot, and the fyi bots should match the lkgr bot. | 520 # These are set on the lkgr bot, and the fyi bots should match the lkgr bot. |
525 # TODO(thakis): Once the lkgr bot uses recipes, the lkgr and the fyi bots | 521 # TODO(thakis): Once the lkgr bot uses recipes, the lkgr and the fyi bots |
526 # should use the same context to ensure they use the same gyp defines. | 522 # should use the same context to ensure they use the same gyp defines. |
527 c.gyp_env.GYP_DEFINES['enable_ipc_fuzzer'] = 1 | 523 c.gyp_env.GYP_DEFINES['enable_ipc_fuzzer'] = 1 |
528 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1 | 524 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1 |
529 | 525 |
530 @config_ctx(includes=['chromium_win_clang_asan']) | 526 @config_ctx(includes=['chromium_win_clang_asan']) |
531 def chromium_win_clang_asan_tot(c): | 527 def chromium_win_clang_asan_tot(c): |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 def chromium_deterministic_build(c): | 783 def chromium_deterministic_build(c): |
788 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 784 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
789 | 785 |
790 @config_ctx() | 786 @config_ctx() |
791 def chromium_mac_sdk_10_10(c): | 787 def chromium_mac_sdk_10_10(c): |
792 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10' | 788 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10' |
793 | 789 |
794 @config_ctx(includes=['chromium_clang']) | 790 @config_ctx(includes=['chromium_clang']) |
795 def cast_linux(c): | 791 def cast_linux(c): |
796 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 792 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
OLD | NEW |