| 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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 def v8_hybrid_arm(c): | 781 def v8_hybrid_arm(c): |
| 782 c.gyp_env.GYP_DEFINES['disable_nacl'] = 1 | 782 c.gyp_env.GYP_DEFINES['disable_nacl'] = 1 |
| 783 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'arm' | 783 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'arm' |
| 784 c.gyp_env.GYP_DEFINES['target_arch'] = 'ia32' | 784 c.gyp_env.GYP_DEFINES['target_arch'] = 'ia32' |
| 785 c.gyp_env.GYP_DEFINES['host_arch'] = 'x86_64' | 785 c.gyp_env.GYP_DEFINES['host_arch'] = 'x86_64' |
| 786 | 786 |
| 787 @config_ctx() | 787 @config_ctx() |
| 788 def enable_ipc_fuzzer(c): | 788 def enable_ipc_fuzzer(c): |
| 789 c.gyp_env.GYP_DEFINES['enable_ipc_fuzzer'] = 1 | 789 c.gyp_env.GYP_DEFINES['enable_ipc_fuzzer'] = 1 |
| 790 | 790 |
| 791 @config_ctx(includes=['chromium', 'official', 'mb']) | |
| 792 def chromium_perf(c): | |
| 793 c.clobber_before_runhooks = False | |
| 794 | |
| 795 @config_ctx(includes=['chromium_perf', 'goma_hermetic_fallback']) | |
| 796 def tryserver_chromium_perf(c): | |
| 797 # Bisects may build using old toolchains, so goma_hermetic_fallback is | |
| 798 # required. See https://codereview.chromium.org/1015633002 | |
| 799 pass | |
| 800 | |
| 801 @config_ctx(includes=['chromium_clang']) | 791 @config_ctx(includes=['chromium_clang']) |
| 802 def cast_linux(c): | 792 def cast_linux(c): |
| 803 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 793 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 804 | 794 |
| 805 @config_ctx() | 795 @config_ctx() |
| 806 def internal_gles2_conform_tests(c): | 796 def internal_gles2_conform_tests(c): |
| 807 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 797 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 808 | 798 |
| 809 @config_ctx() | 799 @config_ctx() |
| 810 def build_angle_deqp_tests(c): | 800 def build_angle_deqp_tests(c): |
| 811 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 801 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| 812 | 802 |
| 813 @config_ctx() | 803 @config_ctx() |
| 814 def force_mac_toolchain(c): | 804 def force_mac_toolchain(c): |
| 815 c.env.FORCE_MAC_TOOLCHAIN = 1 | 805 c.env.FORCE_MAC_TOOLCHAIN = 1 |
| 816 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 | 806 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 |
| OLD | NEW |