You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
930B

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