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 'windows_sdk', 7 'recipe_engine/platform', 8 'recipe_engine/properties', 9 'recipe_engine/step', 10] 11 12 13def RunSteps(api): 14 with api.windows_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 properties = { 22 'buildername': 'test_builder', 23 } 24 yield (api.test(platform) + api.platform.name(platform) + 25 api.properties.generic(**properties)) 26