xref: /aosp_15_r20/tools/asuite/atest/tf_proto/configuration_description.proto (revision c2e18aaa1096c836b086f94603d04f4eb9cf37f5)
1*c2e18aaaSAndroid Build Coastguard Worker/*
2*c2e18aaaSAndroid Build Coastguard Worker * Copyright (C) 2018 The Android Open Source Project
3*c2e18aaaSAndroid Build Coastguard Worker *
4*c2e18aaaSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License");
5*c2e18aaaSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License.
6*c2e18aaaSAndroid Build Coastguard Worker * You may obtain a copy of the License at
7*c2e18aaaSAndroid Build Coastguard Worker *
8*c2e18aaaSAndroid Build Coastguard Worker *      http://www.apache.org/licenses/LICENSE-2.0
9*c2e18aaaSAndroid Build Coastguard Worker *
10*c2e18aaaSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software
11*c2e18aaaSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS,
12*c2e18aaaSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*c2e18aaaSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and
14*c2e18aaaSAndroid Build Coastguard Worker * limitations under the License.
15*c2e18aaaSAndroid Build Coastguard Worker */
16*c2e18aaaSAndroid Build Coastguard Workersyntax = "proto3";
17*c2e18aaaSAndroid Build Coastguard Worker
18*c2e18aaaSAndroid Build Coastguard Workerpackage tradefed.config;
19*c2e18aaaSAndroid Build Coastguard Worker
20*c2e18aaaSAndroid Build Coastguard Workeroption java_package = "com.android.tradefed.config.proto";
21*c2e18aaaSAndroid Build Coastguard Workeroption java_outer_classname = "ConfigurationDescription";
22*c2e18aaaSAndroid Build Coastguard Worker
23*c2e18aaaSAndroid Build Coastguard Worker// Representation of the metadata attributes in a similar way as MultiMap in
24*c2e18aaaSAndroid Build Coastguard Worker// Tradefed. One key associated to a list of values.
25*c2e18aaaSAndroid Build Coastguard Workermessage Metadata {
26*c2e18aaaSAndroid Build Coastguard Worker  // Key of the pair to identify the metadata.
27*c2e18aaaSAndroid Build Coastguard Worker  string key = 1;
28*c2e18aaaSAndroid Build Coastguard Worker  // List of values associated to the key.
29*c2e18aaaSAndroid Build Coastguard Worker  repeated string value = 2;
30*c2e18aaaSAndroid Build Coastguard Worker}
31*c2e18aaaSAndroid Build Coastguard Worker
32*c2e18aaaSAndroid Build Coastguard Worker// Representation of abi
33*c2e18aaaSAndroid Build Coastguard Workermessage Abi {
34*c2e18aaaSAndroid Build Coastguard Worker  // Name of the abi.
35*c2e18aaaSAndroid Build Coastguard Worker  // For example: arm64-v8a, armeabi-v7a, x86_64, x86
36*c2e18aaaSAndroid Build Coastguard Worker  string name = 1;
37*c2e18aaaSAndroid Build Coastguard Worker  // The bitness of the abi. Can be 32 or 64.
38*c2e18aaaSAndroid Build Coastguard Worker  string bitness = 2;
39*c2e18aaaSAndroid Build Coastguard Worker}
40*c2e18aaaSAndroid Build Coastguard Worker
41*c2e18aaaSAndroid Build Coastguard Worker// Representation of a Tradefed Configuration Descriptor in proto format.
42*c2e18aaaSAndroid Build Coastguard Workermessage Descriptor {
43*c2e18aaaSAndroid Build Coastguard Worker  // The suite names that the configuration belong to.
44*c2e18aaaSAndroid Build Coastguard Worker  repeated string test_suite_tag = 1;
45*c2e18aaaSAndroid Build Coastguard Worker  // A set of metadata representing some configuration attributes
46*c2e18aaaSAndroid Build Coastguard Worker  repeated Metadata metadata = 2;
47*c2e18aaaSAndroid Build Coastguard Worker  // Whether the configuration is shardable or not.
48*c2e18aaaSAndroid Build Coastguard Worker  bool shardable = 3;
49*c2e18aaaSAndroid Build Coastguard Worker  // Whether the configuration is strict shardable or not.
50*c2e18aaaSAndroid Build Coastguard Worker  bool strict_shardable = 4;
51*c2e18aaaSAndroid Build Coastguard Worker  // Whether we are currently running the configuration in sandbox mode or not.
52*c2e18aaaSAndroid Build Coastguard Worker  bool use_sandboxing = 5;
53*c2e18aaaSAndroid Build Coastguard Worker  // The module name if running in a suite.
54*c2e18aaaSAndroid Build Coastguard Worker  string module_name = 6;
55*c2e18aaaSAndroid Build Coastguard Worker  // The Abi of the module.
56*c2e18aaaSAndroid Build Coastguard Worker  Abi abi = 7;
57*c2e18aaaSAndroid Build Coastguard Worker}