Dario Freni | adbee5d | 2018-12-27 12:44:01 +0000 | [diff] [blame] | 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 | |
Abhijeet Kaur | 216e36c | 2019-01-04 10:15:01 +0000 | [diff] [blame] | 17 | cc_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 Han | c3d74b4 | 2019-12-06 19:51:29 +0900 | [diff] [blame] | 27 | cc_library_static { |
| 28 | name: "lib_apex_manifest_proto_lite", |
| 29 | host_supported: true, |
Jiyong Park | c844ae1 | 2019-12-08 00:23:52 +0900 | [diff] [blame] | 30 | recovery_available: true, |
Jooyung Han | c3d74b4 | 2019-12-06 19:51:29 +0900 | [diff] [blame] | 31 | proto: { |
| 32 | export_proto_headers: true, |
| 33 | type: "lite", |
| 34 | }, |
| 35 | srcs: ["apex_manifest.proto"], |
| 36 | } |
| 37 | |
Dario Freni | adbee5d | 2018-12-27 12:44:01 +0000 | [diff] [blame] | 38 | python_library_host { |
Abhijeet Kaur | a971613 | 2019-01-04 09:02:31 +0000 | [diff] [blame] | 39 | name: "apex_manifest_proto", |
Dario Freni | adbee5d | 2018-12-27 12:44:01 +0000 | [diff] [blame] | 40 | version: { |
| 41 | py2: { |
| 42 | enabled: true, |
| 43 | }, |
| 44 | py3: { |
| 45 | enabled: true, |
| 46 | }, |
| 47 | }, |
| 48 | srcs: [ |
Abhijeet Kaur | a971613 | 2019-01-04 09:02:31 +0000 | [diff] [blame] | 49 | "apex_manifest.proto", |
Dario Freni | adbee5d | 2018-12-27 12:44:01 +0000 | [diff] [blame] | 50 | ], |
| 51 | proto: { |
| 52 | canonical_path_from_root: false, |
| 53 | }, |
Martijn Coenen | cabc92f | 2019-01-11 10:50:35 +0100 | [diff] [blame] | 54 | } |
| 55 | |
Dario Freni | ed536ee | 2020-01-02 18:52:59 +0000 | [diff] [blame] | 56 | python_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 Park | e014686 | 2019-07-12 16:32:31 +0900 | [diff] [blame] | 74 | java_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 Coenen | cabc92f | 2019-01-11 10:50:35 +0100 | [diff] [blame] | 84 | cc_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 | } |