xref: /aosp_15_r20/build/soong/cmd/release_config/release_config_proto/build_flags_common.proto (revision 333d2b3687b3a337dbcca9d65000bca186795e39)
1//
2// Copyright (C) 2024 The Android Open-Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//   http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16syntax = "proto2";
17package android.release_config_proto;
18option go_package = "android/soong/release_config/release_config_proto";
19
20// This protobuf file defines common messages used in the rest of the build flag
21// protos.
22
23enum Workflow {
24  option allow_alias = true;
25  WORKFLOW_UNSPECIFIED = 0;
26
27  // Deprecated.  Use WORKFLOW_UNSPECIFIED instead.
28  Workflow_Unspecified = 0;
29
30  // Boolean value flags that progress from false to true.
31  LAUNCH = 1;
32
33  // String value flags that get updated with new version strings to control
34  // prebuilt inclusion.
35  PREBUILT = 2;
36
37  // Manually managed outside flags.  These are likely to be found in a
38  // different directory than flags with other workflows.
39  MANUAL = 3;
40}
41