summaryrefslogtreecommitdiff
path: root/re2_test.bzl
diff options
context:
space:
mode:
Diffstat (limited to 're2_test.bzl')
-rw-r--r--re2_test.bzl7
1 files changed, 2 insertions, 5 deletions
diff --git a/re2_test.bzl b/re2_test.bzl
index 8dafbd5..94443f6 100644
--- a/re2_test.bzl
+++ b/re2_test.bzl
@@ -2,14 +2,11 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-# Define a bazel macro that creates cc_test for re2.
+# Defines a Bazel macro that instantiates a native cc_test rule for an RE2 test.
def re2_test(name, deps=[], size="medium"):
native.cc_test(
name=name,
srcs=["re2/testing/%s.cc" % (name)],
- deps=[
- ":re2",
- ":test",
- ] + deps,
+ deps=[":test"] + deps,
size = size,
)