blob: 4bac4123bd67ac89a58eb370d7de489ef62cf4a3 [file] [log] [blame]
# Copyright 2018 The Chromium 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 = [
'windows_sdk',
'recipe_engine/platform',
'recipe_engine/properties',
'recipe_engine/step',
]
def RunSteps(api):
with api.windows_sdk(enabled=api.platform.is_win):
api.step('gn', ['gn', 'gen', 'out/Release'])
api.step('ninja', ['ninja', '-C', 'out/Release'])
def GenTests(api):
for platform in ('linux', 'mac', 'win'):
properties = {
'buildername': 'test_builder',
}
yield (api.test(platform) +
api.platform.name(platform) +
api.properties.generic(**properties))