1# Copyright 2018 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 5DEPS = [ 6 'macos_sdk', 7 'recipe_engine/platform', 8 'recipe_engine/properties', 9 'recipe_engine/step', 10] 11 12 13def RunSteps(api): 14 with api.macos_sdk(): 15 api.step('gn', ['gn', 'gen', 'out/Release']) 16 api.step('ninja', ['ninja', '-C', 'out/Release']) 17 18 19def GenTests(api): 20 for platform in ('linux', 'mac', 'win'): 21 yield (api.test(platform) + api.platform.name(platform) + 22 api.properties.generic(buildername='test_builder')) 23