blob: 60a88f8f4076d8c70864942d342b33ff7c511823 [file] [log] [blame]
Himanshu Gupta5c7467f2025-02-12 14:40:11 +00001/*
2 * Copyright (C) 2019 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 */
16
17syntax = "proto2";
18
19package com.android.dependencymapper;
20option java_package = "com.android.dependencymapper";
21option java_outer_classname = "DependencyProto";
22
23/**
24 * A com.android.dependencymapper.DependencyProto.FileDependency object.
25 */
26
27message FileDependency {
28
29 // java file path on disk
30 optional string file_path = 1;
31 // if a change in this file warrants recompiling all files
32 optional bool is_dependency_to_all = 2;
33 // class files generated when this java file is compiled
34 repeated string generated_classes = 3;
35 // dependencies of this file.
36 repeated string file_dependencies = 4;
37}
38
39/**
40 * A com.android.dependencymapper.DependencyProto.FileDependencyList object.
41 */
42message FileDependencyList {
43
44 // List of java file usages
45 repeated FileDependency fileDependency = 1;
46}