Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Side by Side Diff: scripts/slave/recipe_modules/chromium/config.py

Issue 2256123002: [perf] Refactor chromium.perf.fyi recipe config to reuse chromium.perf code. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698