• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1licenses(["unencumbered"])  # Public Domain or MIT
2
3exports_files(["LICENSE"])
4
5cc_library(
6    name = "jsoncpp",
7    srcs = [
8        "src/lib_json/json_reader.cpp",
9        "src/lib_json/json_tool.h",
10        "src/lib_json/json_value.cpp",
11        "src/lib_json/json_writer.cpp",
12    ],
13    hdrs = [
14        "include/json/allocator.h",
15        "include/json/assertions.h",
16        "include/json/config.h",
17        "include/json/json_features.h",
18        "include/json/forwards.h",
19        "include/json/json.h",
20        "include/json/reader.h",
21        "include/json/value.h",
22        "include/json/version.h",
23        "include/json/writer.h",
24    ],
25    copts = [
26        "-DJSON_USE_EXCEPTION=0",
27        "-DJSON_HAS_INT64",
28    ],
29    includes = ["include"],
30    visibility = ["//visibility:public"],
31    deps = [":private"],
32)
33
34cc_library(
35    name = "private",
36    textual_hdrs = ["src/lib_json/json_valueiterator.inl"],
37)
38