diff options
author | Adrian Roos <roosa@google.com> | 2020-03-30 11:55:20 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-30 11:55:20 +0000 |
commit | 93fbec92595e2bc9b6a3e593a04aa73b53ddea73 (patch) | |
tree | 8107af79f333219cf2f043078e4e733974edc19c /proto/manifest.proto | |
parent | 61aa957f55fb065224ea3695460b4fc047945037 (diff) | |
parent | 0d6829d18aedcaf5dd02b6c5f51d721e2e01791f (diff) | |
download | turbine-93fbec92595e2bc9b6a3e593a04aa73b53ddea73.tar.gz |
Merge upstream into AOSP am: b3b9a496c8 am: 0d6829d18a
Change-Id: I1e12da2f674663fd498d62d653ceb4735130a082
Diffstat (limited to 'proto/manifest.proto')
-rw-r--r-- | proto/manifest.proto | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/proto/manifest.proto b/proto/manifest.proto new file mode 100644 index 0000000..20e85ef --- /dev/null +++ b/proto/manifest.proto @@ -0,0 +1,40 @@ +// Copyright 2020 Google Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// 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. + +// Definitions for dependency reports. + +syntax = "proto2"; + +option java_package = "com.google.turbine.proto"; +option java_outer_classname = "ManifestProto"; + +// Information about a single compilation unit (.java file) +message CompilationUnit { + // The path to the compilation unit + optional string path = 1; + + // The package of the source file + optional string pkg = 2; + + // Whether the source was generated by an annotation processor + optional bool generated_by_annotation_processor = 3; + + // The list of top-level types in the compilation unit + repeated string top_level = 4; +} + +// Top-level message found in .manifest artifacts +message Manifest { + repeated CompilationUnit compilation_unit = 1; +}
\ No newline at end of file |