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 'depot_tools/cipd', |
| 7 'gae_sdk', |
| 8 'recipe_engine/path', |
| 9 'recipe_engine/platform', |
| 10 'recipe_engine/python', |
| 11 ] |
| 12 |
| 13 |
| 14 def RunSteps(api): |
| 15 api.cipd.install_client() |
| 16 |
| 17 for plat in api.gae_sdk.platforms: |
| 18 out = api.path['build'].join('gae_sdk', '%s_%s' % (plat, api.platform.name)) |
| 19 try: |
| 20 api.gae_sdk.fetch(plat, out) |
| 21 except api.gae_sdk.PackageNotFound as e: |
| 22 api.python.failing_step('Failed to fetch', 'No %s package for %s / %s' % ( |
| 23 plat, api.platform.name, api.platform.bits)) |
| 24 |
| 25 |
| 26 def GenTests(api): |
| 27 yield ( |
| 28 api.test('win') + |
| 29 api.platform('win', 64)) |
| 30 |
| 31 yield ( |
| 32 api.test('linux') + |
| 33 api.platform('linux', 64)) |
| 34 |
| 35 yield ( |
| 36 api.test('mac') + |
| 37 api.platform('mac', 64)) |
OLD | NEW |