| 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 'depot_tools/bot_update', | 6 'depot_tools/bot_update', |
| 7 'depot_tools/gclient', | 7 'depot_tools/gclient', |
| 8 'file', | 8 'file', |
| 9 'recipe_engine/path', | 9 'recipe_engine/path', |
| 10 'recipe_engine/platform', | 10 'recipe_engine/platform', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 args=['--mode=Release'], | 47 args=['--mode=Release'], |
| 48 cwd=api.path['checkout'], | 48 cwd=api.path['checkout'], |
| 49 env={'GYP_GENERATORS': 'ninja', | 49 env={'GYP_GENERATORS': 'ninja', |
| 50 'GYP_DEFINES': ' '.join(gyp_defines)}) | 50 'GYP_DEFINES': ' '.join(gyp_defines)}) |
| 51 api.python( | 51 api.python( |
| 52 'annotated steps', | 52 'annotated steps', |
| 53 api.path['checkout'].join( | 53 api.path['checkout'].join( |
| 54 'dart', 'tools', 'dartium', 'buildbot_annotated_steps.py'), | 54 'dart', 'tools', 'dartium', 'buildbot_annotated_steps.py'), |
| 55 cwd=api.path['checkout']) | 55 cwd=api.path['checkout']) |
| 56 if '-inc-' not in builder_name: | 56 if '-inc-' not in builder_name: |
| 57 api.file.rmtree('clobber', 'out', cwd=api.path['checkout']) | 57 build_dir = api.path.abspath(api.path['checkout'].join('out')) |
| 58 api.file.rmtree('clobber', build_dir) |
| 58 | 59 |
| 59 def GenTests(api): | 60 def GenTests(api): |
| 60 yield ( | 61 yield ( |
| 61 api.test('dartium-win-ia32-be') + | 62 api.test('dartium-win-ia32-be') + |
| 62 api.properties.generic( | 63 api.properties.generic( |
| 63 mastername='client.dart', | 64 mastername='client.dart', |
| 64 buildername='dartium-win-ia32-be', | 65 buildername='dartium-win-ia32-be', |
| 65 revision='12345') + | 66 revision='12345') + |
| 66 api.platform('win', 32)) | 67 api.platform('win', 32)) |
| 67 yield ( | 68 yield ( |
| 68 api.test('dartium-linux-x64-dev') + | 69 api.test('dartium-linux-x64-dev') + |
| 69 api.properties.generic( | 70 api.properties.generic( |
| 70 mastername='client.dart', | 71 mastername='client.dart', |
| 71 buildername='dartium-linux-x64-dev', | 72 buildername='dartium-linux-x64-dev', |
| 72 revision='12345') + | 73 revision='12345') + |
| 73 api.platform('linux', 64)) | 74 api.platform('linux', 64)) |
| 74 yield ( | 75 yield ( |
| 75 api.test('dartium-mac-ia32-inc-stable') + | 76 api.test('dartium-mac-ia32-inc-stable') + |
| 76 api.properties.generic( | 77 api.properties.generic( |
| 77 mastername='client.dart', | 78 mastername='client.dart', |
| 78 buildername='dartium-mac-ia32-inc-stable', | 79 buildername='dartium-mac-ia32-inc-stable', |
| 79 revision='12345') + | 80 revision='12345') + |
| 80 api.platform('mac', 32)) | 81 api.platform('mac', 32)) |
| OLD | NEW |