blob: 2645a71d339b6f2216ecda694702e2a9a56d63b6 [file] [log] [blame]
# Copyright 2017 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 = [
'chromium',
'recipe_engine/properties',
]
def RunSteps(api):
api.chromium.set_config(
'chromium',
TARGET_PLATFORM=api.properties.get('target_platform', 'linux'),
TARGET_CROS_BOARD=api.properties.get('target_cros_board'))
api.chromium.apply_config('mb')
api.chromium.runhooks()
def GenTests(api):
yield api.test('basic')
yield (
api.test('chromeos') +
api.properties(
target_platform='chromeos',
target_cros_board='x86-generic')
)
yield (
api.test('clobber') +
api.properties(clobber='1')
)