mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 11:38:05 +00:00
Add a split on ':' to build_defs.bzl (#6742)
This commit is contained in:
@@ -209,7 +209,7 @@ def flatbuffer_cc_library(
|
|||||||
Happy dependent Flatbuffering!
|
Happy dependent Flatbuffering!
|
||||||
'''
|
'''
|
||||||
output_headers = [
|
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
|
for s in srcs
|
||||||
]
|
]
|
||||||
reflection_name = "%s_reflection" % name if gen_reflections else ""
|
reflection_name = "%s_reflection" % name if gen_reflections else ""
|
||||||
|
|||||||
Reference in New Issue
Block a user