Chromium Code Reviews| 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 602 def clang_tot_mac_asan(c): | 602 def clang_tot_mac_asan(c): |
| 603 # Like chromium_mac_asan, without goma. | 603 # Like chromium_mac_asan, without goma. |
| 604 # Clear lsan configuration for mac. | 604 # Clear lsan configuration for mac. |
| 605 del c.gyp_env.GYP_DEFINES['lsan'] | 605 del c.gyp_env.GYP_DEFINES['lsan'] |
| 606 | 606 |
| 607 @config_ctx(includes=['android_common', 'ninja', 'clang', 'asan', 'clang_tot']) | 607 @config_ctx(includes=['android_common', 'ninja', 'clang', 'asan', 'clang_tot']) |
| 608 def clang_tot_android_asan(c): | 608 def clang_tot_android_asan(c): |
| 609 # Like android_clang, minus goma, minus static_libarary, plus asan. | 609 # Like android_clang, minus goma, minus static_libarary, plus asan. |
| 610 pass | 610 pass |
| 611 | 611 |
| 612 @config_ctx(includes=['android_common', 'ninja', 'clang', 'clang_tot']) | |
|
Nico
2016/09/21 23:27:21
we technically don't need most of this anymore sin
| |
| 613 def clang_tot_android_dbg(c): | |
| 614 # Like android_clang, minus goma, minus static_libarary. | |
| 615 pass | |
| 616 | |
| 612 # GYP_DEFINES must not include 'asan' or 'clang', else the tester bot will try | 617 # GYP_DEFINES must not include 'asan' or 'clang', else the tester bot will try |
| 613 # to compile clang. | 618 # to compile clang. |
| 614 @config_ctx(includes=['chromium_no_goma']) | 619 @config_ctx(includes=['chromium_no_goma']) |
| 615 def chromium_win_asan(c): | 620 def chromium_win_asan(c): |
| 616 c.runtests.run_asan_test = True | 621 c.runtests.run_asan_test = True |
| 617 | 622 |
| 618 @config_ctx() | 623 @config_ctx() |
| 619 def chromium_sanitizer(c): | 624 def chromium_sanitizer(c): |
| 620 c.runtests.test_args.append('--test-launcher-print-test-stdio=always') | 625 c.runtests.test_args.append('--test-launcher-print-test-stdio=always') |
| 621 | 626 |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 799 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 804 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 800 | 805 |
| 801 @config_ctx() | 806 @config_ctx() |
| 802 def build_angle_deqp_tests(c): | 807 def build_angle_deqp_tests(c): |
| 803 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 808 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| 804 | 809 |
| 805 @config_ctx() | 810 @config_ctx() |
| 806 def force_mac_toolchain(c): | 811 def force_mac_toolchain(c): |
| 807 c.env.FORCE_MAC_TOOLCHAIN = 1 | 812 c.env.FORCE_MAC_TOOLCHAIN = 1 |
| 808 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 | 813 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 |
| OLD | NEW |