1/*
2 * Copyright (C) 2018 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
17cc_library_static {
18    name: "lib_apex_manifest_proto",
19    host_supported: true,
20    proto: {
21        export_proto_headers: true,
22        type: "full",
23    },
24    srcs: ["apex_manifest.proto"],
25}
26
27cc_library_static {
28    name: "lib_apex_manifest_proto_lite",
29    host_supported: true,
30    recovery_available: true,
31    proto: {
32        export_proto_headers: true,
33        type: "lite",
34    },
35    srcs: ["apex_manifest.proto"],
36}
37
38python_library_host {
39    name: "apex_manifest_proto",
40    version: {
41        py2: {
42            enabled: true,
43        },
44        py3: {
45            enabled: true,
46        },
47    },
48    srcs: [
49        "apex_manifest.proto",
50    ],
51    proto: {
52        canonical_path_from_root: false,
53    },
54}
55
56python_library_host {
57    name: "apex_build_info_proto",
58    version: {
59        py2: {
60            enabled: true,
61        },
62        py3: {
63            enabled: true,
64        },
65    },
66    srcs: [
67        "apex_build_info.proto",
68    ],
69    proto: {
70        canonical_path_from_root: false,
71    },
72}
73
74java_library_static {
75    name: "apex_manifest_proto_java",
76    host_supported: true,
77    device_supported: false,
78    proto: {
79        type: "full",
80    },
81    srcs: ["apex_manifest.proto"],
82}
83
84cc_library_static {
85    name: "lib_apex_session_state_proto",
86    host_supported: true,
87    proto: {
88        export_proto_headers: true,
89        type: "full",
90    },
91    srcs: ["session_state.proto"],
92}
93