• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2022 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 = "proto3";
18
19option java_package = "com.android.modules.proto";
20
21enum Classpath {
22  UNKNOWN = 0;
23  BOOTCLASSPATH = 1;
24  SYSTEMSERVERCLASSPATH = 2;
25  STANDALONE_SYSTEMSERVER_JARS = 4;
26}
27
28message SharedLibrary {
29  string name = 1;
30  string type = 2;
31  string version = 3;
32  repeated string paths = 4;
33}
34
35message Apk {
36  string path = 1;
37}
38
39message Jar {
40  string path = 1;
41  Classpath classpath = 2;
42}
43
44message ClasspathEntry {
45  oneof entry_type {
46    Jar jar = 1;
47    SharedLibrary library = 2;
48    Apk apk = 3;
49  }
50
51  repeated string classes = 4;
52}
53
54message ClasspathClassesDump {
55  repeated ClasspathEntry entries = 1;
56}
57