| # Copyright 2020 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. |
| from recipe_engine.post_process import DoesNotRun, Filter, StatusFailure |
| PYTHON_VERSION_COMPATIBILITY = 'PY3' |
| 'recipe_engine/properties', |
| checkout = api.path['start_dir'] |
| env = {'GOMA_DIR': api.goma.goma_dir} |
| with api.context(env=env, env_prefixes=env_prefixes): |
| api.build_util.run_gn([], checkout) |
| api.build_util.build('release', checkout, ['mytarget']) |
| api.build_util.build_autoninja('release', checkout, ['mytarget']) |
| yield api.test('basic', api.properties(no_lto=True, goma_jobs=100)) |