| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| """Recipe for building Fuchsia.""" |
| |
| |
| DEPS = [ |
| "fuchsia/build", |
| "fuchsia/buildbucket_util", |
| "fuchsia/checkout", |
| "recipe_engine/path", |
| ] |
| |
| |
| def RunSteps(api): |
| checkout = api.checkout.fuchsia_with_options( |
| manifest="flower", |
| remote="https://fuchsia.googlesource.com/integration", |
| ) |
| |
| api.build.clang_toolchain_dir = api.path["start_dir"].join("custom", "clang") |
| api.build.gcc_toolchain_dir = api.path["start_dir"].join("custom", "gcc") |
| api.build.rust_toolchain_dir = api.path["start_dir"].join("custom", "rust") |
| |
| api.build.with_options( |
| checkout, |
| fint_params_path="infra/specs/fint-params.textproto", |
| ) |
| |
| |
| def GenTests(api): |
| yield api.buildbucket_util.test("default") |