| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| DEPS = [ |
| 'macos_sdk', |
| 'recipe_engine/platform', |
| 'recipe_engine/properties', |
| 'recipe_engine/step', |
| ] |
| |
| |
| def RunSteps(api): |
| with api.macos_sdk(): |
| api.step('foo', ['do', 'foo'] + |
| ['--with', api.macos_sdk.sdk_dir] if api.platform.is_mac else []) |
| |
| |
| def GenTests(api): |
| for platform in ('linux', 'mac', 'win'): |
| yield (api.test(platform) + api.platform.name(platform)) |