build: Support tags[] arg for more specific build control (#8233)

Support tags[] arg for more specific build control.
Where the underlying bazel primitives support tags[], envoy_() should support them.

Risk Level: Low
Testing: Local on Windows and Linux CI

Signed-off-by: Yechiel Kalmenson <ykalmenson@pivotal.io>

Mirrored from https://github.com/envoyproxy/envoy @ 0bce3a14ab8ac0dbb9e9c3f291b9fc5e4f25ea8d
pull/620/head
data-plane-api(CircleCI) 5 years ago
parent ac6527e568
commit 27f2d0385a
  1. 2
      bazel/api_build_system.bzl

@ -105,6 +105,7 @@ def api_proto_library(
visibility = ["//visibility:private"],
srcs = [],
deps = [],
tags = [],
external_proto_deps = [],
external_cc_proto_deps = [],
external_py_proto_deps = [],
@ -116,6 +117,7 @@ def api_proto_library(
name = name,
srcs = srcs,
deps = deps + external_proto_deps + _COMMON_PROTO_DEPS,
tags = tags,
visibility = visibility,
)
cc_proto_library_name = _Suffix(name, _CC_SUFFIX)

Loading…
Cancel
Save