diff options
Diffstat (limited to 'third_party/def_parser')
-rw-r--r-- | third_party/def_parser/BUILD | 57 |
1 files changed, 37 insertions, 20 deletions
diff --git a/third_party/def_parser/BUILD b/third_party/def_parser/BUILD index 9159a2ce32..0759d340c5 100644 --- a/third_party/def_parser/BUILD +++ b/third_party/def_parser/BUILD @@ -1,37 +1,54 @@ licenses(["notice"]) # 3-clause BSD cc_library( - name = "def_parser_lib", - srcs = ["def_parser.cc"], - hdrs = ["def_parser.h"], - deps = [ - "//src/main/cpp/util:file", - ], + name = "def_parser_lib", + srcs = ["def_parser.cc"], + hdrs = ["def_parser.h"], + deps = [ + "//src/main/cpp/util:file", + ], ) cc_binary( - name = "def_parser", - srcs = ["def_parser_main.cc"], - deps = [ - ":def_parser_lib", - ], - visibility = [ - "//src:__pkg__", - ], + name = "def_parser", + srcs = ["def_parser_main.cc"], + visibility = [ + "//src:__pkg__", + ], + deps = [ + ":def_parser_lib", + ], ) py_test( - name = "def_parser_test", - srcs = ["def_parser_test.py"], - data = [":def_parser"], - deps = ["//src/test/py/bazel:test_base"], + name = "def_parser_test", + srcs = ["def_parser_test.py"], + data = [":def_parser"], + deps = ["//src/test/py/bazel:test_base"], ) filegroup( name = "srcs", srcs = glob(["**"]), visibility = [ - "//src:__pkg__", - "//third_party:__pkg__", + "//src:__pkg__", + "//third_party:__pkg__", + ], +) + +test_suite( + name = "windows_tests", + tags = [ + "-no_windows", + "-slow", + ], + visibility = ["//visibility:private"], +) + +test_suite( + name = "all_windows_tests", + tests = [ + ":windows_tests", ], + visibility = ["//third_party:__pkg__"], ) |