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

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

Issue 2030713004: Refactor chromium.perf recipe configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@2-refactorr
Patch Set: Rebase, hope it's right :) 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
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium_android/chromium_config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 def v8_hybrid_arm(c): 784 def v8_hybrid_arm(c):
785 c.gyp_env.GYP_DEFINES['disable_nacl'] = 1 785 c.gyp_env.GYP_DEFINES['disable_nacl'] = 1
786 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'arm' 786 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'arm'
787 c.gyp_env.GYP_DEFINES['target_arch'] = 'ia32' 787 c.gyp_env.GYP_DEFINES['target_arch'] = 'ia32'
788 c.gyp_env.GYP_DEFINES['host_arch'] = 'x86_64' 788 c.gyp_env.GYP_DEFINES['host_arch'] = 'x86_64'
789 789
790 @config_ctx() 790 @config_ctx()
791 def enable_ipc_fuzzer(c): 791 def enable_ipc_fuzzer(c):
792 c.gyp_env.GYP_DEFINES['enable_ipc_fuzzer'] = 1 792 c.gyp_env.GYP_DEFINES['enable_ipc_fuzzer'] = 1
793 793
794 @config_ctx() 794 @config_ctx(includes=['chromium', 'official', 'mb'])
795 def chromium_perf(c): 795 def chromium_perf(c):
796 c.clobber_before_runhooks = False 796 c.clobber_before_runhooks = False
797 797
798 @config_ctx() 798 @config_ctx(includes=['chromium_perf', 'goma_hermetic_fallback'])
799 def chromium_perf_fyi(c): 799 def tryserver_chromium_perf(c):
800 c.clobber_before_runhooks = False 800 # Bisects may build using old toolchains, so goma_hermetic_fallback is
801 if c.HOST_PLATFORM == 'win': 801 # required. See https://codereview.chromium.org/1015633002
802 c.compile_py.compiler = None 802 pass
803 c.compile_py.goma_dir = None
804 c.gyp_env.GYP_DEFINES['use_goma'] = 0
805 803
806 @config_ctx(includes=['chromium_clang']) 804 @config_ctx(includes=['chromium_clang'])
807 def cast_linux(c): 805 def cast_linux(c):
808 c.gyp_env.GYP_DEFINES['chromecast'] = 1 806 c.gyp_env.GYP_DEFINES['chromecast'] = 1
809 807
810 @config_ctx() 808 @config_ctx()
811 def internal_gles2_conform_tests(c): 809 def internal_gles2_conform_tests(c):
812 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 810 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1
813 811
814 @config_ctx() 812 @config_ctx()
815 def build_angle_deqp_tests(c): 813 def build_angle_deqp_tests(c):
816 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 814 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1
817 815
818 @config_ctx() 816 @config_ctx()
819 def force_mac_toolchain(c): 817 def force_mac_toolchain(c):
820 c.env.FORCE_MAC_TOOLCHAIN = 1 818 c.env.FORCE_MAC_TOOLCHAIN = 1
821 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 819 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium_android/chromium_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698