mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
* Update jsoncpp to 1.8.4 This fix updates the jsoncpp to 1.8.4 to address the issue raised in 20170. The jsoncpp used in tf was old and may contain security issues. This fix fixes 20170. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add JSON_HAS_INT64 define to jsoncpp build Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix data type conversion issue for jsoncpp. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix build by include "version.h" Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
38 lines
924 B
Plaintext
38 lines
924 B
Plaintext
licenses(["unencumbered"]) # Public Domain or MIT
|
|
|
|
exports_files(["LICENSE"])
|
|
|
|
cc_library(
|
|
name = "jsoncpp",
|
|
srcs = [
|
|
"include/json/assertions.h",
|
|
"src/lib_json/json_reader.cpp",
|
|
"src/lib_json/json_tool.h",
|
|
"src/lib_json/json_value.cpp",
|
|
"src/lib_json/json_writer.cpp",
|
|
],
|
|
hdrs = [
|
|
"include/json/autolink.h",
|
|
"include/json/config.h",
|
|
"include/json/features.h",
|
|
"include/json/forwards.h",
|
|
"include/json/json.h",
|
|
"include/json/reader.h",
|
|
"include/json/value.h",
|
|
"include/json/version.h",
|
|
"include/json/writer.h",
|
|
],
|
|
copts = [
|
|
"-DJSON_USE_EXCEPTION=0",
|
|
"-DJSON_HAS_INT64",
|
|
],
|
|
includes = ["include"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [":private"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "private",
|
|
textual_hdrs = ["src/lib_json/json_valueiterator.inl"],
|
|
)
|