diff options
author | Sam Sobell <sam.sobell@gmail.com> | 2021-07-19 16:42:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 16:42:27 -0400 |
commit | 016e6aa13f9c66683b366efd82c2812f512c8ae5 (patch) | |
tree | 5e52fdad8f6c9396916bb7d5a3d994e937cebfce /build_defs.bzl | |
parent | 65700441d3334aacbb141d29587a77876c2783e0 (diff) | |
download | flatbuffers-016e6aa13f9c66683b366efd82c2812f512c8ae5.tar.gz flatbuffers-016e6aa13f9c66683b366efd82c2812f512c8ae5.tar.bz2 flatbuffers-016e6aa13f9c66683b366efd82c2812f512c8ae5.zip |
Add a split on ':' to build_defs.bzl (#6742)
Diffstat (limited to 'build_defs.bzl')
-rw-r--r-- | build_defs.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_defs.bzl b/build_defs.bzl index 88792be4..231804bf 100644 --- a/build_defs.bzl +++ b/build_defs.bzl @@ -209,7 +209,7 @@ def flatbuffer_cc_library( Happy dependent Flatbuffering! ''' output_headers = [ - (out_prefix + "%s_generated.h") % (s.replace(".fbs", "").split("/")[-1]) + (out_prefix + "%s_generated.h") % (s.replace(".fbs", "").split("/")[-1].split(":")[-1]) for s in srcs ] reflection_name = "%s_reflection" % name if gen_reflections else "" |