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

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: FYI configs. Created 4 years, 6 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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 c.gyp_env.GYP_DEFINES['v8_optimized_debug'] = 1 774 c.gyp_env.GYP_DEFINES['v8_optimized_debug'] = 1
775 775
776 @config_ctx() 776 @config_ctx()
777 def v8_slow_dchecks(c): 777 def v8_slow_dchecks(c):
778 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 778 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1
779 779
780 @config_ctx() 780 @config_ctx()
781 def v8_verify_heap(c): 781 def v8_verify_heap(c):
782 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1 782 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1
783 783
784 @config_ctx() 784 @config_ctx(includes=['chromium', 'official', 'mb'])
785 def chromium_perf(c): 785 def chromium_perf(c):
786 c.clobber_before_runhooks = False 786 c.clobber_before_runhooks = False
787 787
788 @config_ctx() 788 @config_ctx(includes=['chromium_perf', 'goma_hermetic_fallback'])
789 def chromium_perf_fyi(c): 789 def tryserver_chromium_perf(c):
790 c.clobber_before_runhooks = False 790 # Bisects may build using old toolchains, so goma_hermetic_fallback is
791 if c.HOST_PLATFORM == 'win': 791 # required. See https://codereview.chromium.org/1015633002
792 c.compile_py.compiler = None 792 pass
793 c.compile_py.goma_dir = None
794 c.gyp_env.GYP_DEFINES['use_goma'] = 0
795 793
796 @config_ctx(includes=['chromium_clang']) 794 @config_ctx(includes=['chromium_clang'])
797 def cast_linux(c): 795 def cast_linux(c):
798 c.gyp_env.GYP_DEFINES['chromecast'] = 1 796 c.gyp_env.GYP_DEFINES['chromecast'] = 1
799 797
800 @config_ctx() 798 @config_ctx()
801 def internal_gles2_conform_tests(c): 799 def internal_gles2_conform_tests(c):
802 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 800 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1
803 801
804 @config_ctx() 802 @config_ctx()
805 def build_angle_deqp_tests(c): 803 def build_angle_deqp_tests(c):
806 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 804 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1
807 805
808 @config_ctx() 806 @config_ctx()
809 def force_mac_toolchain(c): 807 def force_mac_toolchain(c):
810 c.env.FORCE_MAC_TOOLCHAIN = 1 808 c.env.FORCE_MAC_TOOLCHAIN = 1
811 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 809 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698