Commit 5d67693e authored by Lee Mracek's avatar Lee Mracek Committed by Wouter van Oortmerssen

Fix typo in build_defs.bzl (#5320)

parent af74f87c
...@@ -32,7 +32,7 @@ def flatbuffer_library_public( ...@@ -32,7 +32,7 @@ def flatbuffer_library_public(
include_paths = DEFAULT_INCLUDE_PATHS, include_paths = DEFAULT_INCLUDE_PATHS,
flatc_args = DEFAULT_FLATC_ARGS, flatc_args = DEFAULT_FLATC_ARGS,
reflection_name = "", reflection_name = "",
reflection_visiblity = None, reflection_visibility = None,
output_to_bindir = False): output_to_bindir = False):
"""Generates code files for reading/writing the given flatbuffers in the requested language using the public compiler. """Generates code files for reading/writing the given flatbuffers in the requested language using the public compiler.
...@@ -48,7 +48,7 @@ def flatbuffer_library_public( ...@@ -48,7 +48,7 @@ def flatbuffer_library_public(
flatc_args: Optional, list of additional arguments to pass to flatc. flatc_args: Optional, list of additional arguments to pass to flatc.
reflection_name: Optional, if set this will generate the flatbuffer reflection_name: Optional, if set this will generate the flatbuffer
reflection binaries for the schemas. reflection binaries for the schemas.
reflection_visiblity: The visibility of the generated reflection Fileset. reflection_visibility: The visibility of the generated reflection Fileset.
output_to_bindir: Passed to genrule for output to bin directory. output_to_bindir: Passed to genrule for output to bin directory.
...@@ -116,7 +116,7 @@ def flatbuffer_library_public( ...@@ -116,7 +116,7 @@ def flatbuffer_library_public(
entries = [ entries = [
native.FilesetEntry(files = reflection_outs), native.FilesetEntry(files = reflection_outs),
], ],
visibility = reflection_visiblity, visibility = reflection_visibility,
) )
def flatbuffer_cc_library( def flatbuffer_cc_library(
...@@ -207,7 +207,7 @@ def flatbuffer_cc_library( ...@@ -207,7 +207,7 @@ def flatbuffer_cc_library(
include_paths = include_paths, include_paths = include_paths,
flatc_args = flatc_args, flatc_args = flatc_args,
reflection_name = reflection_name, reflection_name = reflection_name,
reflection_visiblity = visibility, reflection_visibility = visibility,
) )
native.cc_library( native.cc_library(
name = name, name = name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment