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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 def clang_tot_linux_ubsan_vptr(c): | 588 def clang_tot_linux_ubsan_vptr(c): |
589 pass | 589 pass |
590 | 590 |
591 @config_ctx(includes=['clang_tot_mac', 'asan', 'chromium_sanitizer', | 591 @config_ctx(includes=['clang_tot_mac', 'asan', 'chromium_sanitizer', |
592 'static_library']) | 592 'static_library']) |
593 def clang_tot_mac_asan(c): | 593 def clang_tot_mac_asan(c): |
594 # Like chromium_mac_asan, without goma. | 594 # Like chromium_mac_asan, without goma. |
595 # Clear lsan configuration for mac. | 595 # Clear lsan configuration for mac. |
596 del c.gyp_env.GYP_DEFINES['lsan'] | 596 del c.gyp_env.GYP_DEFINES['lsan'] |
597 | 597 |
598 @config_ctx(includes=['android_common', 'ninja', 'clang', 'asan', 'clang_tot']) | 598 @config_ctx(includes=['android_common', 'ninja', 'clang', 'clang_tot']) |
| 599 def clang_tot_android(c): |
| 600 pass |
| 601 |
| 602 @config_ctx(includes=['clang_tot_android', 'asan']) |
599 def clang_tot_android_asan(c): | 603 def clang_tot_android_asan(c): |
600 # Like android_clang, minus goma, minus static_libarary, plus asan. | 604 # Like android_clang, minus goma, minus static_libarary, plus asan. |
601 pass | 605 pass |
602 | 606 |
603 @config_ctx(includes=['android_common', 'ninja', 'clang', 'clang_tot']) | 607 @config_ctx(includes=['clang_tot_android']) |
604 def clang_tot_android_dbg(c): | 608 def clang_tot_android_dbg(c): |
605 # Like android_clang, minus goma, minus static_libarary. | 609 # Like android_clang, minus goma, minus static_libarary. |
606 pass | 610 pass |
607 | 611 |
608 # GYP_DEFINES must not include 'asan' or 'clang', else the tester bot will try | 612 # GYP_DEFINES must not include 'asan' or 'clang', else the tester bot will try |
609 # to compile clang. | 613 # to compile clang. |
610 @config_ctx(includes=['chromium_no_goma']) | 614 @config_ctx(includes=['chromium_no_goma']) |
611 def chromium_win_asan(c): | 615 def chromium_win_asan(c): |
612 c.runtests.run_asan_test = True | 616 c.runtests.run_asan_test = True |
613 | 617 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 def cast_linux(c): | 794 def cast_linux(c): |
791 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 795 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
792 | 796 |
793 @config_ctx() | 797 @config_ctx() |
794 def internal_gles2_conform_tests(c): | 798 def internal_gles2_conform_tests(c): |
795 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 799 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
796 | 800 |
797 @config_ctx() | 801 @config_ctx() |
798 def build_angle_deqp_tests(c): | 802 def build_angle_deqp_tests(c): |
799 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 803 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
OLD | NEW |