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

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

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Copyright notices Created 5 years, 7 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 | Annotate | Revision Log
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 recipe_engine.recipe_config import config_item_context, ConfigGroup
8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf 8 from recipe_engine.recipe_config import Dict, List, Single, Static, Set, BadConf
9 from slave.recipe_config_types import Path 9 from recipe_engine.recipe_config_types import Path
10 10
11 # Because of the way that we use decorators, pylint can't figure out the proper 11 # Because of the way that we use decorators, pylint can't figure out the proper
12 # type signature of functions annotated with the @config_ctx decorator. 12 # type signature of functions annotated with the @config_ctx decorator.
13 # pylint: disable=E1123 13 # pylint: disable=E1123
14 14
15 HOST_PLATFORMS = ('linux', 'win', 'mac') 15 HOST_PLATFORMS = ('linux', 'win', 'mac')
16 TARGET_PLATFORMS = HOST_PLATFORMS + ('ios', 'android', 'chromeos') 16 TARGET_PLATFORMS = HOST_PLATFORMS + ('ios', 'android', 'chromeos')
17 HOST_TARGET_BITS = (32, 64) 17 HOST_TARGET_BITS = (32, 64)
18 HOST_ARCHS = ('intel',) 18 HOST_ARCHS = ('intel',)
19 TARGET_ARCHS = HOST_ARCHS + ('arm', 'mips', 'mipsel') 19 TARGET_ARCHS = HOST_ARCHS + ('arm', 'mips', 'mipsel')
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 def chromium_deterministic_build(c): 826 def chromium_deterministic_build(c):
827 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 827 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1
828 828
829 @config_ctx() 829 @config_ctx()
830 def chromium_mac_sdk_10_10(c): 830 def chromium_mac_sdk_10_10(c):
831 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10' 831 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10'
832 832
833 @config_ctx(includes=['chromium_clang']) 833 @config_ctx(includes=['chromium_clang'])
834 def cast_linux(c): 834 def cast_linux(c):
835 c.gyp_env.GYP_DEFINES['chromecast'] = 1 835 c.gyp_env.GYP_DEFINES['chromecast'] = 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698