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

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

Issue 211473006: Add GN (the build tool) to the chromium.linux buildbots and try jobs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: initial patch for review Created 6 years, 9 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
(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 'chromium',
7 'gclient',
8 'platform',
9 'properties',
10 ]
11
12
13 def GenSteps(api):
14 api.gclient.set_config('chromium')
15 yield api.gclient.checkout(revert=True)
16
17 api.chromium.set_config('chromium')
18 yield api.chromium.runhooks(run_gyp=False)
19
20 yield api.chromium.run_gn(api.chromium.output_dir)
21
22 yield api.chromium.compile_with_ninja('compile', api.chromium.output_dir)
23
24 # TODO(dpranke): crbug.com/353854. We should pull the list of test_targets
25 # from src/testing/buildbot.
26 yield api.chromium.runtest('gn_unittests', annotate='gtest')
27
28
29 def GenTests(api):
30 yield (
31 api.test('unittest_basic') +
32 api.properties.generic(build_config='Debug') +
33 api.platform.name('linux')
34 )
35
36 # TODO(dpranke): This test should actually produce the same result
37 # as the previous test, but it specifically matches what is run
38 # on the "Linux GN (dbg)" bot. We should have one 'simulation' test
39 # for each bot config. Ideally this should live somewhere else
40 # closer to the master tests.
41 yield (
42 api.test('full_chromium_linux_Linux_GN__dbg_') +
43 api.properties.generic(build_config='Debug') +
44 api.platform.name('linux')
45 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698