upstream google3 include paths for jsoncpp
authormtklein <mtklein@chromium.org>
Wed, 14 Jan 2015 13:02:39 +0000 (05:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 14 Jan 2015 13:02:39 +0000 (05:02 -0800)
BUG=skia:

No public API changes
TBR=reed@google.com

Review URL: https://codereview.chromium.org/853613002

include/utils/SkJSONCPP.h

index de82768..6baf223 100644 (file)
 #ifndef SkJSONCPP_DEFINED
 #define SkJSONCPP_DEFINED
 
-#ifdef SK_BUILD_FOR_WIN
-    // json includes xlocale which generates warning 4530 because we're
-    // compiling without exceptions;
-    // see https://code.google.com/p/skia/issues/detail?id=1067
-    #pragma warning(push)
-    #pragma warning(disable : 4530)
-#endif
-#include "json/reader.h"
-#include "json/value.h"
-#include "json/writer.h"
-#ifdef SK_BUILD_FOR_WIN
-    #pragma warning(pop)
+#ifdef GOOGLE3
+    #include "third_party/jsoncpp/reader.h"
+    #include "third_party/jsoncpp/value.h"
+    #include "third_party/jsoncpp/writer.h"
+#else
+    #ifdef SK_BUILD_FOR_WIN
+        // json includes xlocale which generates warning 4530 because we're
+        // compiling without exceptions;
+        // see https://code.google.com/p/skia/issues/detail?id=1067
+        #pragma warning(push)
+        #pragma warning(disable : 4530)
+    #endif
+    #include "json/reader.h"
+    #include "json/value.h"
+    #include "json/writer.h"
+    #ifdef SK_BUILD_FOR_WIN
+        #pragma warning(pop)
+    #endif
 #endif
 
 #endif // SkJSONCPP_DEFINED