| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 69   api.gclient.c = src_cfg | 69   api.gclient.c = src_cfg | 
| 70   api.gclient.checkout() | 70   api.gclient.checkout() | 
| 71 | 71 | 
| 72   api.gclient.spec_alias = 'WebKit' | 72   api.gclient.spec_alias = 'WebKit' | 
| 73   bl_cfg = api.gclient.make_config() | 73   bl_cfg = api.gclient.make_config() | 
| 74   soln = bl_cfg.solutions.add() | 74   soln = bl_cfg.solutions.add() | 
| 75   soln.name = 'WebKit' | 75   soln.name = 'WebKit' | 
| 76   soln.url = 'svn://svn.chromium.org/blink/trunk' | 76   soln.url = 'svn://svn.chromium.org/blink/trunk' | 
| 77   bl_cfg.revisions['third_party/WebKit'] = '123' | 77   bl_cfg.revisions['third_party/WebKit'] = '123' | 
| 78 | 78 | 
|  | 79   # Use safesync url for lkgr. | 
|  | 80   soln.safesync_url = 'https://blink-status.appspot.com/lkgr' | 
|  | 81 | 
| 79   bl_cfg.got_revision_mapping['src/blatley'] = 'got_blatley_revision' | 82   bl_cfg.got_revision_mapping['src/blatley'] = 'got_blatley_revision' | 
| 80   api.gclient.checkout( | 83   api.gclient.checkout( | 
| 81       gclient_config=bl_cfg, | 84       gclient_config=bl_cfg, | 
| 82       with_branch_heads=True, | 85       with_branch_heads=True, | 
| 83       cwd=api.path['slave_build'].join('src', 'third_party')) | 86       cwd=api.path['slave_build'].join('src', 'third_party')) | 
| 84 | 87 | 
| 85   api.gclient.break_locks() | 88   api.gclient.break_locks() | 
| 86 | 89 | 
| 87   del api.gclient.spec_alias | 90   del api.gclient.spec_alias | 
| 88 | 91 | 
| 89   api.gclient.runhooks() | 92   api.gclient.runhooks() | 
| 90 | 93 | 
| 91   assert not api.gclient.is_blink_mode | 94   assert not api.gclient.is_blink_mode | 
| 92 | 95 | 
| 93 | 96 | 
| 94 def GenTests(api): | 97 def GenTests(api): | 
| 95   yield api.test('basic') | 98   yield api.test('basic') | 
| 96 | 99 | 
| 97   yield api.test('revision') + api.properties(revision='abc') | 100   yield api.test('revision') + api.properties(revision='abc') | 
| 98 | 101 | 
| 99   yield api.test('tryserver') + api.properties.tryserver() | 102   yield api.test('tryserver') + api.properties.tryserver() | 
| OLD | NEW | 
|---|