Fix typo in build_defs.bzl (#5320)

This commit is contained in:
Lee Mracek 2019-05-06 15:10:11 -04:00 committed by Wouter van Oortmerssen
parent af74f87ccd
commit 5d67693e8f
1 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ def flatbuffer_library_public(
include_paths = DEFAULT_INCLUDE_PATHS,
flatc_args = DEFAULT_FLATC_ARGS,
reflection_name = "",
reflection_visiblity = None,
reflection_visibility = None,
output_to_bindir = False):
"""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(
flatc_args: Optional, list of additional arguments to pass to flatc.
reflection_name: Optional, if set this will generate the flatbuffer
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.
@ -116,7 +116,7 @@ def flatbuffer_library_public(
entries = [
native.FilesetEntry(files = reflection_outs),
],
visibility = reflection_visiblity,
visibility = reflection_visibility,
)
def flatbuffer_cc_library(
@ -207,7 +207,7 @@ def flatbuffer_cc_library(
include_paths = include_paths,
flatc_args = flatc_args,
reflection_name = reflection_name,
reflection_visiblity = visibility,
reflection_visibility = visibility,
)
native.cc_library(
name = name,