| // Copyright 2021 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. |
| syntax = "proto3"; |
| |
| package recipe_modules.fuchsia.build; |
| |
| message InputProperties { |
| message CustomToolchain { |
| // Either "isolated" (used in production) or "cipd" (only used for manual |
| // led runs). |
| // NOTE: We could probably use an enum or oneof field here to get better |
| // safety guarantees, but it's simplest to just use a string. |
| string source = 1; |
| |
| // CIPD version string, or CAS digest. |
| string version = 2; |
| } |
| |
| // clang toolchain used to build fuchsia. |
| CustomToolchain clang_toolchain = 1; |
| |
| // gcc toolchain used to build fuchsia. |
| CustomToolchain gcc_toolchain = 2; |
| |
| // rustc toolchain used to build fuchsia. |
| CustomToolchain rust_toolchain = 3; |
| } |