| 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 'recipe_engine/json', | 9 'recipe_engine/json', |
| 10 'recipe_engine/path', | 10 'recipe_engine/path', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 'INTERNAL': False, | 21 'INTERNAL': False, |
| 22 } | 22 } |
| 23 | 23 |
| 24 api.chromium_android.configure_from_properties( | 24 api.chromium_android.configure_from_properties( |
| 25 recipe_config, **kwargs) | 25 recipe_config, **kwargs) |
| 26 | 26 |
| 27 revision = api.properties.get('revision', 'HEAD') | 27 revision = api.properties.get('revision', 'HEAD') |
| 28 api.chromium_android.c.revision = revision | 28 api.chromium_android.c.revision = revision |
| 29 api.chromium_android.c.revisions['src/dart'] = revision | 29 api.chromium_android.c.revisions['src/dart'] = revision |
| 30 | 30 |
| 31 api.chromium_android.init_and_sync() | 31 api.chromium_android.init_and_sync(use_bot_update=False) |
| 32 # TODO(iannucci): Remove when dartium syncs chromium to >= crrev.com/252649 | 32 # TODO(iannucci): Remove when dartium syncs chromium to >= crrev.com/252649 |
| 33 api.chromium.runhooks(env={'GYP_CROSSCOMPILE': "1"}) | 33 api.chromium.runhooks(env={'GYP_CROSSCOMPILE': "1"}) |
| 34 api.chromium.compile(targets=['content_shell_apk']) | 34 api.chromium.compile(targets=['content_shell_apk']) |
| 35 | 35 |
| 36 build_products_dir = \ | 36 build_products_dir = \ |
| 37 api.chromium.c.build_dir.join(api.chromium.c.build_config_fs) | 37 api.chromium.c.build_dir.join(api.chromium.c.build_config_fs) |
| 38 api.python('dartium_test', | 38 api.python('dartium_test', |
| 39 api.path['slave_build'].join('src', 'dart', 'tools', | 39 api.path['slave_build'].join('src', 'dart', 'tools', |
| 40 'bots', 'dartium_android.py'), | 40 'bots', 'dartium_android.py'), |
| 41 args=['--build-products-dir', build_products_dir]) | 41 args=['--build-products-dir', build_products_dir]) |
| 42 | 42 |
| 43 def GenTests(api): | 43 def GenTests(api): |
| 44 yield ( | 44 yield ( |
| 45 api.test('dartium_builder_basic') + | 45 api.test('dartium_builder_basic') + |
| 46 api.properties.generic( | 46 api.properties.generic( |
| 47 revision='34567', | 47 revision='34567', |
| 48 buildername='dartium-builder', | 48 buildername='dartium-builder', |
| 49 buildnumber=1337, | 49 buildnumber=1337, |
| 50 deps_url='https://dart.googlecode.com/svn/trunk/deps/dartium.deps', | 50 deps_url='https://dart.googlecode.com/svn/trunk/deps/dartium.deps', |
| 51 deps_path='dartium.deps')) | 51 deps_path='dartium.deps')) |
| 52 yield ( | 52 yield ( |
| 53 api.test('dartium_builder_git') + | 53 api.test('dartium_builder_git') + |
| 54 api.properties.generic( | 54 api.properties.generic( |
| 55 revision='478695f60c28b5b8a951ce1d4fd60f53d80b21fb', | 55 revision='478695f60c28b5b8a951ce1d4fd60f53d80b21fb', |
| 56 buildername='dartium-builder', | 56 buildername='dartium-builder', |
| 57 buildnumber=1337, | 57 buildnumber=1337, |
| 58 deps_url='https://github.com/dart-lang/sdk.git', | 58 deps_url='https://github.com/dart-lang/sdk.git', |
| 59 deps_path='src/dart')) | 59 deps_path='src/dart')) |
| OLD | NEW |