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 'gclient', | 6 'gclient', |
7 'recipe_engine/path', | 7 'recipe_engine/path', |
8 'recipe_engine/properties', | 8 'recipe_engine/properties', |
9 ] | 9 ] |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 'webports', | 54 'webports', |
55 'webrtc_test_resources', | 55 'webrtc_test_resources', |
56 'with_branch_heads', | 56 'with_branch_heads', |
57 ] | 57 ] |
58 | 58 |
59 | 59 |
60 def RunSteps(api): | 60 def RunSteps(api): |
61 for config_name in TEST_CONFIGS: | 61 for config_name in TEST_CONFIGS: |
62 api.gclient.make_config(config_name) | 62 api.gclient.make_config(config_name) |
63 | 63 |
64 src_cfg = api.gclient.make_config(GIT_MODE=True, CACHE_DIR='[ROOT]/git_cache') | 64 src_cfg = api.gclient.make_config(CACHE_DIR='[ROOT]/git_cache') |
65 soln = src_cfg.solutions.add() | 65 soln = src_cfg.solutions.add() |
66 soln.name = 'src' | 66 soln.name = 'src' |
67 soln.url = 'https://chromium.googlesource.com/chromium/src.git' | 67 soln.url = 'https://chromium.googlesource.com/chromium/src.git' |
68 soln.revision = api.properties.get('revision') | 68 soln.revision = api.properties.get('revision') |
69 src_cfg.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' | 69 src_cfg.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' |
70 api.gclient.c = src_cfg | 70 api.gclient.c = src_cfg |
71 api.gclient.checkout() | 71 api.gclient.checkout() |
72 | 72 |
73 api.gclient.spec_alias = 'WebKit' | 73 api.gclient.spec_alias = 'WebKit' |
74 bl_cfg = api.gclient.make_config() | 74 bl_cfg = api.gclient.make_config() |
(...skipping 19 matching lines...) Expand all Loading... |
94 | 94 |
95 assert not api.gclient.is_blink_mode | 95 assert not api.gclient.is_blink_mode |
96 | 96 |
97 | 97 |
98 def GenTests(api): | 98 def GenTests(api): |
99 yield api.test('basic') | 99 yield api.test('basic') |
100 | 100 |
101 yield api.test('revision') + api.properties(revision='abc') | 101 yield api.test('revision') + api.properties(revision='abc') |
102 | 102 |
103 yield api.test('tryserver') + api.properties.tryserver() | 103 yield api.test('tryserver') + api.properties.tryserver() |
OLD | NEW |