1*f7d94438SYifei Zhang// Copyright 2020 Google Inc. All Rights Reserved. 2*f7d94438SYifei Zhang// 3*f7d94438SYifei Zhang// Licensed under the Apache License, Version 2.0 (the "License"); 4*f7d94438SYifei Zhang// you may not use this file except in compliance with the License. 5*f7d94438SYifei Zhang// You may obtain a copy of the License at 6*f7d94438SYifei Zhang// 7*f7d94438SYifei Zhang// http://www.apache.org/licenses/LICENSE-2.0 8*f7d94438SYifei Zhang// 9*f7d94438SYifei Zhang// Unless required by applicable law or agreed to in writing, software 10*f7d94438SYifei Zhang// distributed under the License is distributed on an "AS IS" BASIS, 11*f7d94438SYifei Zhang// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*f7d94438SYifei Zhang// See the License for the specific language governing permissions and 13*f7d94438SYifei Zhang// limitations under the License. 14*f7d94438SYifei Zhang 15*f7d94438SYifei Zhang// Definitions for dependency reports. 16*f7d94438SYifei Zhang 17*f7d94438SYifei Zhangsyntax = "proto2"; 18*f7d94438SYifei Zhang 19*f7d94438SYifei Zhangoption java_package = "com.google.turbine.proto"; 20*f7d94438SYifei Zhangoption java_outer_classname = "ManifestProto"; 21*f7d94438SYifei Zhang 22*f7d94438SYifei Zhang// Information about a single compilation unit (.java file) 23*f7d94438SYifei Zhangmessage CompilationUnit { 24*f7d94438SYifei Zhang // The path to the compilation unit 25*f7d94438SYifei Zhang optional string path = 1; 26*f7d94438SYifei Zhang 27*f7d94438SYifei Zhang // The package of the source file 28*f7d94438SYifei Zhang optional string pkg = 2; 29*f7d94438SYifei Zhang 30*f7d94438SYifei Zhang // Whether the source was generated by an annotation processor 31*f7d94438SYifei Zhang optional bool generated_by_annotation_processor = 3; 32*f7d94438SYifei Zhang 33*f7d94438SYifei Zhang // The list of top-level types in the compilation unit 34*f7d94438SYifei Zhang repeated string top_level = 4; 35*f7d94438SYifei Zhang} 36*f7d94438SYifei Zhang 37*f7d94438SYifei Zhang// Top-level message found in .manifest artifacts 38*f7d94438SYifei Zhangmessage Manifest { 39*f7d94438SYifei Zhang repeated CompilationUnit compilation_unit = 1; 40*f7d94438SYifei Zhang}