mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-25 12:28:39 +00:00
committed by
Wouter van Oortmerssen
parent
75601b81cc
commit
12e5cf0b29
10
BUILD
10
BUILD
@@ -12,11 +12,6 @@ exports_files([
|
|||||||
"LICENSE",
|
"LICENSE",
|
||||||
])
|
])
|
||||||
|
|
||||||
FLATBUFFERS_COPTS = [
|
|
||||||
"-Wno-implicit-fallthrough",
|
|
||||||
"-linclude",
|
|
||||||
]
|
|
||||||
|
|
||||||
# Public flatc library to compile flatbuffer files at runtime.
|
# Public flatc library to compile flatbuffer files at runtime.
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "flatbuffers",
|
name = "flatbuffers",
|
||||||
@@ -30,7 +25,6 @@ cc_library(
|
|||||||
"src/util.cpp",
|
"src/util.cpp",
|
||||||
],
|
],
|
||||||
hdrs = [":public_headers"],
|
hdrs = [":public_headers"],
|
||||||
copts = FLATBUFFERS_COPTS,
|
|
||||||
includes = ["include/"],
|
includes = ["include/"],
|
||||||
linkstatic = 1,
|
linkstatic = 1,
|
||||||
)
|
)
|
||||||
@@ -68,7 +62,6 @@ cc_library(
|
|||||||
"include/flatbuffers/flatc.h",
|
"include/flatbuffers/flatc.h",
|
||||||
":public_headers",
|
":public_headers",
|
||||||
],
|
],
|
||||||
copts = FLATBUFFERS_COPTS,
|
|
||||||
includes = [
|
includes = [
|
||||||
"grpc/",
|
"grpc/",
|
||||||
"include/",
|
"include/",
|
||||||
@@ -101,7 +94,6 @@ cc_binary(
|
|||||||
"src/idl_gen_python.cpp",
|
"src/idl_gen_python.cpp",
|
||||||
"src/idl_gen_text.cpp",
|
"src/idl_gen_text.cpp",
|
||||||
],
|
],
|
||||||
copts = FLATBUFFERS_COPTS,
|
|
||||||
includes = [
|
includes = [
|
||||||
"grpc/",
|
"grpc/",
|
||||||
"include/",
|
"include/",
|
||||||
@@ -132,7 +124,7 @@ cc_test(
|
|||||||
"tests/union_vector/union_vector_generated.h",
|
"tests/union_vector/union_vector_generated.h",
|
||||||
":public_headers",
|
":public_headers",
|
||||||
],
|
],
|
||||||
copts = FLATBUFFERS_COPTS + [
|
copts = [
|
||||||
"-DFLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE",
|
"-DFLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE",
|
||||||
],
|
],
|
||||||
data = [
|
data = [
|
||||||
|
|||||||
Reference in New Issue
Block a user