mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 21:08:18 +00:00
Fix buildifier warnings found in new bazel (#5517)
Fixes warnings caught in: https://buildkite.com/bazel/flatbuffers/builds/863#cff87e1d-b976-4734-8157-4b6d88c7b5e1
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
917687c7a6
commit
2f5bb2eec4
@@ -5,6 +5,8 @@
|
||||
Rules for building C++ flatbuffers with Bazel.
|
||||
"""
|
||||
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
|
||||
flatc_path = "@com_github_google_flatbuffers//:flatc"
|
||||
|
||||
DEFAULT_INCLUDE_PATHS = [
|
||||
@@ -209,7 +211,7 @@ def flatbuffer_cc_library(
|
||||
reflection_name = reflection_name,
|
||||
reflection_visibility = visibility,
|
||||
)
|
||||
native.cc_library(
|
||||
cc_library(
|
||||
name = name,
|
||||
hdrs = [
|
||||
":" + srcs_lib,
|
||||
|
||||
Reference in New Issue
Block a user