adds the required visibility rules and delegates the rest to the generic api_proto_library. I tested the change by doing the following without getting errors. ./ci/run_envoy_docker.sh './ci/do_ci.sh docs' I changed the BUILD files using the following commands. /envoy/api$ find . -type f -name BUILD | xargs sed -i -e 's/api_proto_library(/api_proto_library_internal(/g' envoy/api$ find . -type f -name BUILD | xargs sed -i -e 's/"api_proto_library"/"api_proto_library_internal"/g' Signed-off-by: mickey <mickeyju@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 4b871c0ab9350882271a490adcee44e613ed9807pull/620/head
parent
f0557ff45f
commit
8e13c8b4af
55 changed files with 141 additions and 135 deletions
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "buffer", |
name = "buffer", |
||||||
srcs = ["buffer.proto"], |
srcs = ["buffer.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "gzip", |
name = "gzip", |
||||||
srcs = ["gzip.proto"], |
srcs = ["gzip.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "lua", |
name = "lua", |
||||||
srcs = ["lua.proto"], |
srcs = ["lua.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "rate_limit", |
name = "rate_limit", |
||||||
srcs = ["rate_limit.proto"], |
srcs = ["rate_limit.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "squash", |
name = "squash", |
||||||
srcs = ["squash.proto"], |
srcs = ["squash.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "transcoder", |
name = "transcoder", |
||||||
srcs = ["transcoder.proto"], |
srcs = ["transcoder.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "redis_proxy", |
name = "redis_proxy", |
||||||
srcs = ["redis_proxy.proto"], |
srcs = ["redis_proxy.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "redis", |
name = "redis", |
||||||
srcs = ["redis.proto"], |
srcs = ["redis.proto"], |
||||||
) |
) |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
load("//bazel:api_build_system.bzl", "api_proto_library") |
load("//bazel:api_build_system.bzl", "api_proto_library_internal") |
||||||
|
|
||||||
licenses(["notice"]) # Apache 2 |
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
api_proto_library( |
api_proto_library_internal( |
||||||
name = "thrift_proxy", |
name = "thrift_proxy", |
||||||
srcs = ["thrift_proxy.proto"], |
srcs = ["thrift_proxy.proto"], |
||||||
) |
) |
||||||
|
Loading…
Reference in new issue