| OLD | NEW |
| 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 DEPS = [ | 5 DEPS = [ |
| 6 'android', | 6 'android', |
| 7 'path', | 7 'path', |
| 8 'properties', | 8 'properties', |
| 9 'rietveld' | 9 'rietveld' |
| 10 ] | 10 ] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 build_tool='make-android', | 30 build_tool='make-android', |
| 31 targets=['libwebviewchromium', 'android_webview_java'], | 31 targets=['libwebviewchromium', 'android_webview_java'], |
| 32 use_goma=True) | 32 use_goma=True) |
| 33 | 33 |
| 34 def GenTests(api): | 34 def GenTests(api): |
| 35 yield api.test('basic') + api.properties.scheduled() | 35 yield api.test('basic') + api.properties.scheduled() |
| 36 | 36 |
| 37 yield ( | 37 yield ( |
| 38 api.test('uses_android_repo') + | 38 api.test('uses_android_repo') + |
| 39 api.properties.scheduled() + | 39 api.properties.scheduled() + |
| 40 api.path.exists('[SLAVE_BUILD_ROOT]/android-src/.repo/repo/repo') | 40 api.path.exists( |
| 41 api.path.slave_build('android-src', '.repo', 'repo', 'repo')) |
| 41 ) | 42 ) |
| 42 | 43 |
| 43 yield ( | 44 yield ( |
| 44 api.test('doesnt_sync_if_android_present') + | 45 api.test('doesnt_sync_if_android_present') + |
| 45 api.properties.scheduled() + | 46 api.properties.scheduled() + |
| 46 api.path.exists('[SLAVE_BUILD_ROOT]/android-src') | 47 api.path.exists(api.path.slave_build('android-src')) |
| 47 ) | 48 ) |
| 48 | 49 |
| 49 yield ( | 50 yield ( |
| 50 api.test('does_delete_stale_chromium') + | 51 api.test('does_delete_stale_chromium') + |
| 51 api.properties.scheduled() + | 52 api.properties.scheduled() + |
| 52 api.path.exists('[SLAVE_BUILD_ROOT]/android-src/external/chromium_org') | 53 api.path.exists( |
| 54 api.path.slave_build('android-src', 'external', 'chromium_org')) |
| 53 ) | 55 ) |
| 54 | 56 |
| 55 yield ( | 57 yield ( |
| 56 api.test('uses_goma_test') + | 58 api.test('uses_goma_test') + |
| 57 api.properties.scheduled() + | 59 api.properties.scheduled() + |
| 58 api.path.exists('[BUILD_ROOT]/goma') | 60 api.path.exists(api.path.build('goma')) |
| 59 ) | 61 ) |
| 60 | 62 |
| 61 yield api.test('works_if_revision_not_present') + api.properties.generic() | 63 yield api.test('works_if_revision_not_present') + api.properties.generic() |
| 62 | 64 |
| 63 yield api.test('trybot') + api.properties.tryserver() | 65 yield api.test('trybot') + api.properties.tryserver() |
| OLD | NEW |