xref: /aosp_15_r20/system/security/ondevice-signing/proto/Android.bp (revision e1997b9af69e3155ead6e072d106a0077849ffba)
1/*
2 * Copyright (C) 2021 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
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21cc_library_static {
22    name: "lib_odsign_proto",
23    host_supported: true,
24    proto: {
25        export_proto_headers: true,
26        type: "lite",
27    },
28    srcs: ["odsign_info.proto"],
29    apex_available: [
30        "//apex_available:platform",
31        "com.android.compos",
32    ],
33}
34
35rust_protobuf {
36    name: "libodsign_proto_rust",
37    crate_name: "odsign_proto",
38    protos: ["odsign_info.proto"],
39    source_stem: "odsign_proto",
40    host_supported: true,
41    apex_available: [
42        "com.android.compos",
43    ],
44}
45