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

Side by Side Diff: scripts/slave/recipes/chromium_mojo.py

Issue 791733005: split out chromium_mojo recipe changes from chromium_mojo master cl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: update docstring Created 6 years 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
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 DEPS = [
6 'bot_update',
7 'chromium',
8 ]
9
10
11 BUILDERS = {
12 'chromium.mojo': {
13 'builders': {
14 'Chromium Mojo Linux': {
15 'chromium_config_kwargs': {
16 'BUILD_CONFIG': 'Release',
17 'TARGET_PLATFORM': 'linux',
18 },
19 },
20 },
21 },
22 }
23
24
25 def GenSteps(api):
26 _, bot_config = api.chromium.configure_bot(BUILDERS, ['gn'])
27
28 api.bot_update.ensure_checkout(force=True,
29 patch_root=bot_config.get('root_override'))
30
31 api.chromium.runhooks()
32
33 api.chromium.run_gn(use_goma=True)
34
35 api.chromium.compile(targets=['html_viewer_unittests'])
36
37 api.chromium.runtest('html_viewer_unittests')
38
39
40 def GenTests(api):
41 for test in api.chromium.gen_tests_for_builders(BUILDERS):
42 yield test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698