OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 DEPS = [ | 5 DEPS = [ |
6 'chromium', | 6 'chromium', |
7 'chromium_android', | 7 'chromium_android', |
8 'depot_tools/gclient', | 8 'depot_tools/gclient', |
| 9 'depot_tools/infra_paths', |
9 'recipe_engine/json', | 10 'recipe_engine/json', |
10 'recipe_engine/path', | 11 'recipe_engine/path', |
11 'recipe_engine/properties', | 12 'recipe_engine/properties', |
12 'recipe_engine/python', | 13 'recipe_engine/python', |
13 ] | 14 ] |
14 | 15 |
15 def RunSteps(api): | 16 def RunSteps(api): |
16 recipe_config = 'dartium_builder' | 17 recipe_config = 'dartium_builder' |
17 kwargs = { | 18 kwargs = { |
18 'REPO_URL': api.properties.get('deps_url'), | 19 'REPO_URL': api.properties.get('deps_url'), |
(...skipping 10 matching lines...) Expand all Loading... |
29 api.chromium_android.c.revisions['src/dart'] = revision | 30 api.chromium_android.c.revisions['src/dart'] = revision |
30 | 31 |
31 api.chromium_android.init_and_sync(use_bot_update=False) | 32 api.chromium_android.init_and_sync(use_bot_update=False) |
32 # TODO(iannucci): Remove when dartium syncs chromium to >= crrev.com/252649 | 33 # TODO(iannucci): Remove when dartium syncs chromium to >= crrev.com/252649 |
33 api.chromium.runhooks(env={'GYP_CROSSCOMPILE': "1"}) | 34 api.chromium.runhooks(env={'GYP_CROSSCOMPILE': "1"}) |
34 api.chromium.compile(targets=['content_shell_apk']) | 35 api.chromium.compile(targets=['content_shell_apk']) |
35 | 36 |
36 build_products_dir = \ | 37 build_products_dir = \ |
37 api.chromium.c.build_dir.join(api.chromium.c.build_config_fs) | 38 api.chromium.c.build_dir.join(api.chromium.c.build_config_fs) |
38 api.python('dartium_test', | 39 api.python('dartium_test', |
39 api.path['slave_build'].join('src', 'dart', 'tools', | 40 api.infra_paths['slave_build'].join('src', 'dart', 'tools', |
40 'bots', 'dartium_android.py'), | 41 'bots', 'dartium_android.py'), |
41 args=['--build-products-dir', build_products_dir]) | 42 args=['--build-products-dir', build_products_dir]) |
42 | 43 |
43 def GenTests(api): | 44 def GenTests(api): |
44 yield ( | 45 yield ( |
45 api.test('dartium_builder_basic') + | 46 api.test('dartium_builder_basic') + |
46 api.properties.generic( | 47 api.properties.generic( |
47 revision='34567', | 48 revision='34567', |
48 buildername='dartium-builder', | 49 buildername='dartium-builder', |
49 buildnumber=1337, | 50 buildnumber=1337, |
50 deps_url='https://dart.googlecode.com/svn/trunk/deps/dartium.deps', | 51 deps_url='https://dart.googlecode.com/svn/trunk/deps/dartium.deps', |
51 deps_path='dartium.deps')) | 52 deps_path='dartium.deps')) |
52 yield ( | 53 yield ( |
53 api.test('dartium_builder_git') + | 54 api.test('dartium_builder_git') + |
54 api.properties.generic( | 55 api.properties.generic( |
55 revision='478695f60c28b5b8a951ce1d4fd60f53d80b21fb', | 56 revision='478695f60c28b5b8a951ce1d4fd60f53d80b21fb', |
56 buildername='dartium-builder', | 57 buildername='dartium-builder', |
57 buildnumber=1337, | 58 buildnumber=1337, |
58 deps_url='https://github.com/dart-lang/sdk.git', | 59 deps_url='https://github.com/dart-lang/sdk.git', |
59 deps_path='src/dart')) | 60 deps_path='src/dart')) |
OLD | NEW |