xref: /aosp_15_r20/external/googleapis/Android.bp (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19cc_library {
20    name: "libgoogleapis-status-proto",
21    visibility: [
22        "//device/google/cuttlefish:__subpackages__",
23    ],
24    srcs: [
25        "google/rpc/code.proto",
26        "google/rpc/status.proto",
27        ":libprotobuf-internal-any-proto",
28    ],
29    host_supported: true,
30    proto: {
31        canonical_path_from_root: false,
32        export_proto_headers: true,
33        include_dirs: [
34            "external/googleapis",
35            "external/protobuf/src",
36        ],
37        type: "full",
38    },
39    shared_libs: [
40        "libprotobuf-cpp-full",
41    ],
42}
43