blob: be9966a44b84b8a30f6b6c99d4402979f0ec73d3 [file] [log] [blame]
Dario Freniadbee5d2018-12-27 12:44:01 +00001/*
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
Abhijeet Kaur216e36c2019-01-04 10:15:01 +000017cc_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
Jooyung Hanc3d74b42019-12-06 19:51:29 +090027cc_library_static {
28 name: "lib_apex_manifest_proto_lite",
29 host_supported: true,
Jiyong Parkc844ae12019-12-08 00:23:52 +090030 recovery_available: true,
Jooyung Hanc3d74b42019-12-06 19:51:29 +090031 proto: {
32 export_proto_headers: true,
33 type: "lite",
34 },
35 srcs: ["apex_manifest.proto"],
36}
37
Dario Freniadbee5d2018-12-27 12:44:01 +000038python_library_host {
Abhijeet Kaura9716132019-01-04 09:02:31 +000039 name: "apex_manifest_proto",
Dario Freniadbee5d2018-12-27 12:44:01 +000040 version: {
41 py2: {
42 enabled: true,
43 },
44 py3: {
45 enabled: true,
46 },
47 },
48 srcs: [
Abhijeet Kaura9716132019-01-04 09:02:31 +000049 "apex_manifest.proto",
Dario Freniadbee5d2018-12-27 12:44:01 +000050 ],
51 proto: {
52 canonical_path_from_root: false,
53 },
Martijn Coenencabc92f2019-01-11 10:50:35 +010054}
55
Dario Frenied536ee2020-01-02 18:52:59 +000056python_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
Jiyong Parke0146862019-07-12 16:32:31 +090074java_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
Martijn Coenencabc92f2019-01-11 10:50:35 +010084cc_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}