8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 13:23:02 +01:00
firebird-mirror/extern/re2/re2_test.bzl

13 lines
412 B
Python
Raw Normal View History

2019-08-11 16:10:29 +02:00
# Copyright 2009 The RE2 Authors. All Rights Reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# 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=[":test"] + deps,
size=size,
)