summaryrefslogtreecommitdiff
path: root/chromium/third_party/jsoncpp
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@theqtcompany.com>2014-12-05 15:04:29 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2014-12-09 10:49:28 +0100
commitaf6588f8d723931a298c995fa97259bb7f7deb55 (patch)
tree060ca707847ba1735f01af2372e0d5e494dc0366 /chromium/third_party/jsoncpp
parent2fff84d821cc7b1c785f6404e0f8091333283e74 (diff)
downloadqtwebengine-chromium-af6588f8d723931a298c995fa97259bb7f7deb55.tar.gz
BASELINE: Update chromium to 40.0.2214.28 and ninja to 1.5.3.
Change-Id: I759465284fd64d59ad120219cbe257f7402c4181 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'chromium/third_party/jsoncpp')
-rw-r--r--chromium/third_party/jsoncpp/BUILD.gn2
-rw-r--r--chromium/third_party/jsoncpp/README.chromium6
-rw-r--r--chromium/third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp10
3 files changed, 7 insertions, 11 deletions
diff --git a/chromium/third_party/jsoncpp/BUILD.gn b/chromium/third_party/jsoncpp/BUILD.gn
index 0e788115c5c..55189e7132b 100644
--- a/chromium/third_party/jsoncpp/BUILD.gn
+++ b/chromium/third_party/jsoncpp/BUILD.gn
@@ -27,7 +27,7 @@ source_set("jsoncpp") {
"source/src/lib_json/json_writer.cpp",
]
- direct_dependent_configs = [ ":jsoncpp_config" ]
+ public_configs = [ ":jsoncpp_config" ]
defines = [
"JSON_USE_EXCEPTION=0",
diff --git a/chromium/third_party/jsoncpp/README.chromium b/chromium/third_party/jsoncpp/README.chromium
index c2cb7d54a82..f632079fdd1 100644
--- a/chromium/third_party/jsoncpp/README.chromium
+++ b/chromium/third_party/jsoncpp/README.chromium
@@ -6,5 +6,9 @@ License File: LICENSE
Security Critical: yes
Description:
-The libjingle/webrtc/liblouis_nacl uses jsoncpp for signaling message serialization and deserialization.
+The libjingle/webrtc/liblouis_nacl uses jsoncpp for signaling message
+serialization and deserialization.
+Local modifications:
+The overrides are used to eliminate static initializers in json_value.cpp and
+json_reader.cpp adds includes for <string> and <istream> to build on libc++.
diff --git a/chromium/third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp b/chromium/third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp
index 1bc7429993b..f8cfad70510 100644
--- a/chromium/third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp
+++ b/chromium/third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp
@@ -14,16 +14,8 @@
#include <cassert>
#include <cstring>
#include <stdexcept>
-#ifdef __pnacl__
-// This file uses the following headers (at least in Reader::parse), but
-// the upstream version doesn't include them because iostream pulls in
-// static initializers. This breaks the PNaCl build because it uses
-// libc++ which declares getline in <string> (as per the C++ standard)
-// but defines it in <iostream>. The code therefore fails linking, which
-// these includes fix.
#include <string>
-#include <iostream>
-#endif
+#include <istream>
#if _MSC_VER >= 1400 // VC++ 8.0
#pragma warning( disable : 4996 ) // disable warning about strdup being deprecated.