1*333d2b36SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 2*333d2b36SAndroid Build Coastguard Worker// You may obtain a copy of the License at 3*333d2b36SAndroid Build Coastguard Worker// 4*333d2b36SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 5*333d2b36SAndroid Build Coastguard Worker// 6*333d2b36SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 7*333d2b36SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 8*333d2b36SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 9*333d2b36SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 10*333d2b36SAndroid Build Coastguard Worker// limitations under the License. 11*333d2b36SAndroid Build Coastguard Worker 12*333d2b36SAndroid Build Coastguard Workersyntax = "proto2"; 13*333d2b36SAndroid Build Coastguard Workerpackage team_proto; 14*333d2b36SAndroid Build Coastguard Workeroption go_package = "android/soong/android/team_proto"; 15*333d2b36SAndroid Build Coastguard Worker 16*333d2b36SAndroid Build Coastguard Workermessage Team { 17*333d2b36SAndroid Build Coastguard Worker // REQUIRED: Name of the build target 18*333d2b36SAndroid Build Coastguard Worker optional string target_name = 1; 19*333d2b36SAndroid Build Coastguard Worker 20*333d2b36SAndroid Build Coastguard Worker // REQUIRED: Code location of the target. 21*333d2b36SAndroid Build Coastguard Worker // To be used to support legacy/backup systems that use OWNERS file and is 22*333d2b36SAndroid Build Coastguard Worker // also required for our dashboard to support per code location basis UI 23*333d2b36SAndroid Build Coastguard Worker optional string path = 2; 24*333d2b36SAndroid Build Coastguard Worker 25*333d2b36SAndroid Build Coastguard Worker // REQUIRED: Team ID of the team that owns this target. 26*333d2b36SAndroid Build Coastguard Worker optional string trendy_team_id = 3; 27*333d2b36SAndroid Build Coastguard Worker 28*333d2b36SAndroid Build Coastguard Worker // OPTIONAL: Files directly owned by this module. 29*333d2b36SAndroid Build Coastguard Worker repeated string file = 4; 30*333d2b36SAndroid Build Coastguard Worker 31*333d2b36SAndroid Build Coastguard Worker // OPTIONAL: Is this a test-only module. 32*333d2b36SAndroid Build Coastguard Worker optional bool test_only = 5; 33*333d2b36SAndroid Build Coastguard Worker 34*333d2b36SAndroid Build Coastguard Worker // OPTIONAL: Is this intended to be run as a test target. 35*333d2b36SAndroid Build Coastguard Worker // This target can be run directly as a test or passed to tradefed. 36*333d2b36SAndroid Build Coastguard Worker optional bool top_level_target = 6; 37*333d2b36SAndroid Build Coastguard Worker 38*333d2b36SAndroid Build Coastguard Worker // OPTIONAL: Name of module kind, i.e. java_library 39*333d2b36SAndroid Build Coastguard Worker optional string kind = 7; 40*333d2b36SAndroid Build Coastguard Worker} 41*333d2b36SAndroid Build Coastguard Worker 42*333d2b36SAndroid Build Coastguard Workermessage AllTeams { 43*333d2b36SAndroid Build Coastguard Worker repeated Team teams = 1; 44*333d2b36SAndroid Build Coastguard Worker} 45