From 5d67693e8fc1177548c0523203b5e602ec242caf Mon Sep 17 00:00:00 2001 From: Lee Mracek Date: Mon, 6 May 2019 15:10:11 -0400 Subject: [PATCH] Fix typo in build_defs.bzl (#5320) --- build_defs.bzl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_defs.bzl b/build_defs.bzl index af6761010..a92f0ed8f 100644 --- a/build_defs.bzl +++ b/build_defs.bzl @@ -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,