aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf/apk_manifest.proto
blob: 7d3ee9c63330a32a2cc1bbca9e217abe9924fbd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Copyright 2016 The Bazel Authors. 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.

syntax = "proto3";
package blaze.apk_manifest;

option java_package = "com.google.devtools.build.lib.rules.android.apkmanifest";

message Artifact {
  // This path is relative to "bazel info execution_root"
  string exec_root_path = 1;
  bytes hash = 2;
}

message NativeLib {
  repeated Artifact native_libs = 1;
  string arch = 2;
}

message AndroidSdk {
  string aapt = 1;
  string adb = 2;
  string aidl = 3;
  string android_jar = 4;
  string annotations_jar = 5;
  string apkbuilder = 6;
  string dx = 7;
  string framework_aidl = 8;
  string jack = 9;
  string jill = 10;
  string main_dex_classes = 11;
  string main_dex_list_creator = 12;
  string proguard = 13;
  string resource_extractor = 14;
  string shrinked_android_jar = 15;
  string zipalign = 16;
  string build_tools_version = 17; // assume latest if not set
}

message ApkManifest {
  AndroidSdk android_sdk = 1;
  repeated Artifact jars = 2;
  Artifact resource_apk = 3;
  repeated NativeLib native_lib = 4;
}