You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
620 B
Python
24 lines
620 B
Python
# 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 = [
|
|
'osx_sdk',
|
|
'recipe_engine/platform',
|
|
'recipe_engine/properties',
|
|
'recipe_engine/step',
|
|
]
|
|
|
|
|
|
def RunSteps(api):
|
|
with api.osx_sdk('mac'):
|
|
api.step('gn', ['gn', 'gen', 'out/Release'])
|
|
api.step('ninja', ['ninja', '-C', 'out/Release'])
|
|
|
|
|
|
def GenTests(api):
|
|
for platform in ('linux', 'mac', 'win'):
|
|
yield (api.test(platform) +
|
|
api.platform.name(platform) +
|
|
api.properties.generic(buildername='test_builder'))
|