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

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

Issue 1049333002: Cast builder: changes default compile targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 8 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 slave.recipe_config import config_item_context, ConfigGroup 7 from slave.recipe_config import config_item_context, ConfigGroup
8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf 8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf
9 from slave.recipe_config_types import Path 9 from slave.recipe_config_types import Path
10 10
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 def chromium_perf_fyi(c): 766 def chromium_perf_fyi(c):
767 c.compile_py.clobber = False 767 c.compile_py.clobber = False
768 if c.HOST_PLATFORM == 'win': 768 if c.HOST_PLATFORM == 'win':
769 c.compile_py.compiler = None 769 c.compile_py.compiler = None
770 c.compile_py.goma_dir = None 770 c.compile_py.goma_dir = None
771 c.gyp_env.GYP_DEFINES['use_goma'] = 0 771 c.gyp_env.GYP_DEFINES['use_goma'] = 0
772 772
773 @config_ctx() 773 @config_ctx()
774 def chromium_deterministic_build(c): 774 def chromium_deterministic_build(c):
775 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 775 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1
776
777 @config_ctx(includes=['chromium_clang'])
778 def cast_linux(c):
779 c.gyp_env.GYP_DEFINES['chromecast'] = 1
780 c.compile_py.default_targets = ['cast_shell', 'cast_test_lists']
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698