| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 DEPS = [ |
| 6 'findit', |
| 7 'path', |
| 8 'platform', |
| 9 'properties', |
| 10 ] |
| 11 |
| 12 |
| 13 def RunSteps(api): |
| 14 api.path['checkout'] = api.path.mkdtemp('fake_checkout') |
| 15 revision = api.properties['revision'] |
| 16 solution_name = api.properties.get('solution_name') |
| 17 api.findit.get_files_affected_by_revision(revision, solution_name) |
| 18 |
| 19 |
| 20 def GenTests(api): |
| 21 yield api.test('affected_files_in_src') + api.properties( |
| 22 revision='r1', |
| 23 solution_name='src', |
| 24 ) |
| 25 yield api.test('affected_files_third_party') + api.properties( |
| 26 revision='r1', |
| 27 solution_name='src/third_party/pdfium', |
| 28 ) |
| 29 yield ( |
| 30 api.test('affected_files_on_win') + |
| 31 api.platform.name('win') + |
| 32 api.properties( |
| 33 revision='r1', |
| 34 solution_name='src\\third_party\\pdfium', |
| 35 ) |
| 36 ) |
| OLD | NEW |