|
| 1 | +# Copyright 2022 Google LLC |
| 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 | +# https://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 | + |
| 15 | +package(default_visibility = ["//visibility:private"]) |
| 16 | + |
| 17 | +licenses(["notice"]) # Apache 2.0 |
| 18 | + |
| 19 | +load(":google_cloud_cpp_webrisk.bzl", "google_cloud_cpp_webrisk_hdrs", "google_cloud_cpp_webrisk_srcs") |
| 20 | + |
| 21 | +cc_library( |
| 22 | + name = "google_cloud_cpp_webrisk", |
| 23 | + srcs = google_cloud_cpp_webrisk_srcs, |
| 24 | + hdrs = google_cloud_cpp_webrisk_hdrs, |
| 25 | + visibility = ["//:__pkg__"], |
| 26 | + deps = [ |
| 27 | + "//google/cloud:google_cloud_cpp_common", |
| 28 | + "//google/cloud:google_cloud_cpp_grpc_utils", |
| 29 | + "@com_google_googleapis//google/cloud/webrisk/v1:webrisk_cc_grpc", |
| 30 | + ], |
| 31 | +) |
| 32 | + |
| 33 | +load(":google_cloud_cpp_webrisk_mocks.bzl", "google_cloud_cpp_webrisk_mocks_hdrs", "google_cloud_cpp_webrisk_mocks_srcs") |
| 34 | + |
| 35 | +cc_library( |
| 36 | + name = "google_cloud_cpp_webrisk_mocks", |
| 37 | + srcs = google_cloud_cpp_webrisk_mocks_srcs, |
| 38 | + hdrs = google_cloud_cpp_webrisk_mocks_hdrs, |
| 39 | + visibility = ["//:__pkg__"], |
| 40 | + deps = [ |
| 41 | + ":google_cloud_cpp_webrisk", |
| 42 | + "//google/cloud:google_cloud_cpp_common", |
| 43 | + "//google/cloud:google_cloud_cpp_grpc_utils", |
| 44 | + ], |
| 45 | +) |
0 commit comments