blob: 69ebf4332470b04ae468fd68d287e30ae51804bc [file] [log] [blame]
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto2";
package team_proto;
option go_package = "android/soong/android/team_proto";
message Team {
// REQUIRED: Name of the build target
optional string target_name = 1;
// REQUIRED: Code location of the target.
// To be used to support legacy/backup systems that use OWNERS file and is
// also required for our dashboard to support per code location basis UI
optional string path = 2;
// REQUIRED: Team ID of the team that owns this target.
optional string trendy_team_id = 3;
// OPTIONAL: Files directly owned by this module.
repeated string file = 4;
// OPTIONAL: Is this a test-only module.
optional bool test_only = 5;
// OPTIONAL: Is this intended to be run as a test target.
// This target can be run directly as a test or passed to tradefed.
optional bool top_level_target = 6;
// OPTIONAL: Name of module kind, i.e. java_library
optional string kind = 7;
}
message AllTeams {
repeated Team teams = 1;
}