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

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

Issue 59233015: Make gyp target_arch setting native to chromium/config.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase again Created 7 years, 1 month 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 from slave.recipe_config import config_item_context, ConfigGroup 5 from slave.recipe_config import config_item_context, ConfigGroup
6 from slave.recipe_config import ConfigList, Dict, List, Single, Static 6 from slave.recipe_config import ConfigList, Dict, List, Single, Static
7 from slave.recipe_config_types import Path 7 from slave.recipe_config_types import Path
8 8
9 def BaseConfig(INTERNAL, REPO_NAME, REPO_URL, **_kwargs): 9 def BaseConfig(INTERNAL, REPO_NAME, REPO_URL, **_kwargs):
10 return ConfigGroup( 10 return ConfigGroup(
11 INTERNAL = Static(INTERNAL), 11 INTERNAL = Static(INTERNAL),
12 REPO_NAME = Static(REPO_NAME), 12 REPO_NAME = Static(REPO_NAME),
13 REPO_URL = Static(REPO_URL), 13 REPO_URL = Static(REPO_URL),
14 target_arch = Single(basestring, required=False, empty_val=''),
15 extra_env = Dict(value_type=(basestring,int,Path)), 14 extra_env = Dict(value_type=(basestring,int,Path)),
16 run_findbugs = Single(bool, required=False, empty_val=False), 15 run_findbugs = Single(bool, required=False, empty_val=False),
17 run_lint = Single(bool, required=False, empty_val=False), 16 run_lint = Single(bool, required=False, empty_val=False),
18 run_checkdeps = Single(bool, required=False, empty_val=False), 17 run_checkdeps = Single(bool, required=False, empty_val=False),
19 apply_svn_patch = Single(bool, required=False, empty_val=False), 18 apply_svn_patch = Single(bool, required=False, empty_val=False),
20 run_stack_tool_steps = Single(bool, required=False, empty_val=False), 19 run_stack_tool_steps = Single(bool, required=False, empty_val=False),
21 asan_symbolize = Single(bool, required=False, empty_val=False), 20 asan_symbolize = Single(bool, required=False, empty_val=False),
22 get_app_manifest_vars = Single(bool, required=False, empty_val=True), 21 get_app_manifest_vars = Single(bool, required=False, empty_val=True),
23 run_tree_truth = Single(bool, required=False, empty_val=True), 22 run_tree_truth = Single(bool, required=False, empty_val=True),
24 deps_file = Single(basestring, required=False, empty_val='.DEPS.git'), 23 deps_file = Single(basestring, required=False, empty_val='.DEPS.git'),
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 c.run_findbugs = True 61 c.run_findbugs = True
63 c.run_lint = True 62 c.run_lint = True
64 c.run_checkdeps = True 63 c.run_checkdeps = True
65 64
66 @config_ctx() 65 @config_ctx()
67 def component_builder(c): 66 def component_builder(c):
68 pass 67 pass
69 68
70 @config_ctx() 69 @config_ctx()
71 def x86_base(c): 70 def x86_base(c):
72 c.target_arch = 'x86' 71 pass
73 72
74 @config_ctx(includes=['x86_base']) 73 @config_ctx(includes=['x86_base'])
75 def x86_builder(c): 74 def x86_builder(c):
76 pass 75 pass
77 76
78 @config_ctx(includes=['main_builder']) 77 @config_ctx(includes=['main_builder'])
79 def dartium_builder(c): 78 def dartium_builder(c):
80 c.get_app_manifest_vars = False 79 c.get_app_manifest_vars = False
81 c.run_tree_truth = False 80 c.run_tree_truth = False
82 c.deps_file = 'DEPS' 81 c.deps_file = 'DEPS'
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 c.extra_deploy_opts = ['--await-internet'] 130 c.extra_deploy_opts = ['--await-internet']
132 c.tests.append('enormous_instrumentation_tests') 131 c.tests.append('enormous_instrumentation_tests')
133 132
134 @config_ctx(includes=['try_base', 'instrumentation_tests']) 133 @config_ctx(includes=['try_base', 'instrumentation_tests'])
135 def try_instrumentation_tests(c): 134 def try_instrumentation_tests(c):
136 pass 135 pass
137 136
138 @config_ctx(includes=['x86_base', 'try_base', 'instrumentation_tests']) 137 @config_ctx(includes=['x86_base', 'try_base', 'instrumentation_tests'])
139 def x86_try_instrumentation_tests(c): 138 def x86_try_instrumentation_tests(c):
140 c.extra_deploy_opts.append('--non-rooted') 139 c.extra_deploy_opts.append('--non-rooted')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698