aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/jsoncpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/jsoncpp')
-rw-r--r--third_party/jsoncpp/BUILD.gn21
1 files changed, 21 insertions, 0 deletions
diff --git a/third_party/jsoncpp/BUILD.gn b/third_party/jsoncpp/BUILD.gn
new file mode 100644
index 0000000000..4122692dcf
--- /dev/null
+++ b/third_party/jsoncpp/BUILD.gn
@@ -0,0 +1,21 @@
+# Copyright 2016 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+declare_args() {
+}
+
+import("../third_party.gni")
+
+third_party("jsoncpp") {
+ public_include_dirs = [ "../externals/jsoncpp/include" ]
+
+ defines = [ "JSON_USE_EXCEPTION=0" ]
+ sources = [
+ "../externals/jsoncpp/src/lib_json/json_reader.cpp",
+ "../externals/jsoncpp/src/lib_json/json_value.cpp",
+ "../externals/jsoncpp/src/lib_json/json_writer.cpp",
+ ]
+ testonly = true
+}