blob: 361218be1456a0f207d4aecbc28de5f8b055bd32 [file] [log] [blame]
Julien Desprezb0dcbcd2018-06-25 14:50:02 -07001/*
2 * Copyright (C) 2018 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 = "proto3";
17
18package tradefed.config;
19
20option java_package = "com.android.tradefed.config.proto";
21option java_outer_classname = "ConfigurationDescription";
22
23// Representation of the metadata attributes in a similar way as MultiMap in
24// Tradefed. One key associated to a list of values.
25message Metadata {
26 // Key of the pair to identify the metadata.
27 string key = 1;
28 // List of values associated to the key.
29 repeated string value = 2;
30}
31
32// Representation of abi
33message Abi {
34 // Name of the abi.
35 // For example: arm64-v8a, armeabi-v7a, x86_64, x86
36 string name = 1;
37 // The bitness of the abi. Can be 32 or 64.
38 string bitness = 2;
39}
40
41// Representation of a Tradefed Configuration Descriptor in proto format.
42message Descriptor {
43 // The suite names that the configuration belong to.
44 repeated string test_suite_tag = 1;
45 // A set of metadata representing some configuration attributes
46 repeated Metadata metadata = 2;
47 // Whether the configuration is shardable or not.
48 bool shardable = 3;
49 // Whether the configuration is strict shardable or not.
50 bool strict_shardable = 4;
51 // Whether we are currently running the configuration in sandbox mode or not.
52 bool use_sandboxing = 5;
53 // The module name if running in a suite.
54 string module_name = 6;
55 // The Abi of the module.
56 Abi abi = 7;
57}