1/*
2 * Copyright (C) 2020 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
19package apex.proto;
20
21option java_package = "com.android.apex";
22option java_outer_classname = "Protos";
23
24message ApexBuildInfo {
25  // Apexer command line.
26  string apexer_command_line = 1;
27
28  // Content of the selinux file contexts file.
29  bytes file_contexts = 2;
30
31  // Content of the canned_fs_config specifying uid/gid/mode of files.
32  bytes canned_fs_config = 3;
33
34  // Content of the original AndroidManifest.xml, before being compiled by aapt.
35  bytes android_manifest = 4;
36
37  // Value of --min_sdk_version parameter passed at build time.
38  string min_sdk_version = 5;
39
40  // Value of --target_sdk_version parameter passed at build time.
41  string target_sdk_version = 6;
42
43  // Whether the --no_hashtree option was set at build time.
44  bool no_hashtree = 7;
45
46  // Value of --override_apk_package_name passed at build itme.
47  string override_apk_package_name = 8;
48
49  // Value of --logging_parent passed at build time.
50  string logging_parent = 9;
51}
52