Skip to content

Commit

Permalink
Add package and hdrs to antlr.bzl (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha-mandadi authored Apr 8, 2022
1 parent 7e98e09 commit 3b52ed6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_defs/antlr.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ def antlr4_cc_combined(name, src, listener = False, visitor = True):
language = "Cpp",
listener = listener,
visitor = visitor,
package = "",
package = name,
)

native.cc_library(
name = name,
srcs = [generated],
hdrs = [generated],
copts = ["-fexceptions"],
linkopts = ["-fexceptions"],
features = ["-use_header_modules"],
Expand Down

0 comments on commit 3b52ed6

Please sign in to comment.