| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 'recipe_engine/platform', | 6 'recipe_engine/platform', |
| 7 'goma', | 7 'goma', |
| 8 ] | 8 ] |
| 9 | 9 |
| 10 def RunSteps(api): | 10 def RunSteps(api): |
| 11 api.goma.ensure_goma() | 11 api.goma.ensure_goma() |
| 12 api.goma.start() | 12 api.goma.start('/tmp/build_data_dir') |
| 13 # build something using goma. | 13 # build something using goma. |
| 14 api.goma.stop() | 14 api.goma.stop() |
| 15 | 15 |
| 16 | 16 |
| 17 def GenTests(api): | 17 def GenTests(api): |
| 18 for platform in ('linux', 'win', 'mac'): | 18 for platform in ('linux', 'win', 'mac'): |
| 19 yield api.test(platform) + api.platform.name(platform) | 19 yield api.test(platform) + api.platform.name(platform) |
| OLD | NEW |