| 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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 def clang_tot_linux_ubsan_vptr(c): | 598 def clang_tot_linux_ubsan_vptr(c): |
| 599 pass | 599 pass |
| 600 | 600 |
| 601 @config_ctx(includes=['clang_tot_mac', 'asan', 'chromium_sanitizer', | 601 @config_ctx(includes=['clang_tot_mac', 'asan', 'chromium_sanitizer', |
| 602 'static_library']) | 602 'static_library']) |
| 603 def clang_tot_mac_asan(c): | 603 def clang_tot_mac_asan(c): |
| 604 # Like chromium_mac_asan, without goma. | 604 # Like chromium_mac_asan, without goma. |
| 605 # Clear lsan configuration for mac. | 605 # Clear lsan configuration for mac. |
| 606 del c.gyp_env.GYP_DEFINES['lsan'] | 606 del c.gyp_env.GYP_DEFINES['lsan'] |
| 607 | 607 |
| 608 @config_ctx(includes=['android_common', 'ninja', 'clang', 'asan', 'clang_tot']) | 608 @config_ctx(includes=['android_common', 'ninja', 'clang', 'clang_tot']) |
| 609 def clang_tot_android(c): |
| 610 pass |
| 611 |
| 612 @config_ctx(includes=['clang_tot_android', 'asan']) |
| 609 def clang_tot_android_asan(c): | 613 def clang_tot_android_asan(c): |
| 610 # Like android_clang, minus goma, minus static_libarary, plus asan. | 614 # Like android_clang, minus goma, minus static_libarary, plus asan. |
| 611 pass | 615 pass |
| 612 | 616 |
| 613 @config_ctx(includes=['android_common', 'ninja', 'clang', 'clang_tot']) | 617 @config_ctx(includes=['clang_tot_android']) |
| 614 def clang_tot_android_dbg(c): | 618 def clang_tot_android_dbg(c): |
| 615 # Like android_clang, minus goma, minus static_libarary. | 619 # Like android_clang, minus goma, minus static_libarary. |
| 616 pass | 620 pass |
| 617 | 621 |
| 618 # GYP_DEFINES must not include 'asan' or 'clang', else the tester bot will try | 622 # GYP_DEFINES must not include 'asan' or 'clang', else the tester bot will try |
| 619 # to compile clang. | 623 # to compile clang. |
| 620 @config_ctx(includes=['chromium_no_goma']) | 624 @config_ctx(includes=['chromium_no_goma']) |
| 621 def chromium_win_asan(c): | 625 def chromium_win_asan(c): |
| 622 c.runtests.run_asan_test = True | 626 c.runtests.run_asan_test = True |
| 623 | 627 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 def cast_linux(c): | 804 def cast_linux(c): |
| 801 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 805 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 802 | 806 |
| 803 @config_ctx() | 807 @config_ctx() |
| 804 def internal_gles2_conform_tests(c): | 808 def internal_gles2_conform_tests(c): |
| 805 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 809 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 806 | 810 |
| 807 @config_ctx() | 811 @config_ctx() |
| 808 def build_angle_deqp_tests(c): | 812 def build_angle_deqp_tests(c): |
| 809 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 813 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| OLD | NEW |