blob: 1ed6abe183c2df6560f5eab97e491a9f41f7fd56 [file] [log] [blame]
// Copyright 2023 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 recipes.fuchsia.contrib.clang_toolchain;
import "google/protobuf/struct.proto";
enum LTOMode {
FALSE = 0;
FULL = 1;
THIN = 2;
}
message InputProperties {
// Git repository URL.
string repository = 1;
// Git revision.
string revision = 2;
// CIPD platform for the target.
string platform = 3;
// Do a 2-stage build.
bool do_2stage = 4;
// LTO mode.
LTOMode lto_mode = 5;
// Enable LLD linker.
bool enable_lld = 6;
// Use reclient for remote C++ builds (takes precedence over Goma).
bool use_rbe = 7;
// Enable assertions.
bool enable_assertions = 8;
// Enable backtraces.
bool enable_backtraces = 9;
// Upload package to CIPD.
bool upload_package = 10;
// GCS Bucket for uploading build log and traces.
string artifact_gcs_bucket = 11;
// Mapping from platform name to list of builders to trigger (Format: '<project>/<trigger name>').
map<string, google.protobuf.ListValue> builders = 12;
// Mapping from platform name to list of builders to trigger that build tip of tree Fuchsia.
map<string, google.protobuf.ListValue> tot_builders = 13;
// List of revisions to revert before building Clang.
repeated string reverts = 14;
}