Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: include/utils/SkJSONCPP.h

Issue 303913002: In Android framework, make tools depend on jsoncpp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Do as Thoreau would do. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/jsoncpp.gyp ('k') | tools/PictureResultsWriter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 * 6 *
7 * A common place to put the jsoncpp library includes, as opposed to littering 7 * A common place to put the jsoncpp library includes, as opposed to littering
8 * the pragmas repeatedly through our code. 8 * the pragmas repeatedly through our code.
9 */ 9 */
10 #ifndef SkJSONCPP_DEFINED 10 #ifndef SkJSONCPP_DEFINED
11 #define SkJSONCPP_DEFINED 11 #define SkJSONCPP_DEFINED
12 12
13 #ifdef SK_BUILD_JSON_WRITER
14
15 #ifdef SK_BUILD_FOR_WIN 13 #ifdef SK_BUILD_FOR_WIN
16 // json includes xlocale which generates warning 4530 because we're 14 // json includes xlocale which generates warning 4530 because we're
17 // compiling without exceptions; 15 // compiling without exceptions;
18 // see https://code.google.com/p/skia/issues/detail?id=1067 16 // see https://code.google.com/p/skia/issues/detail?id=1067
19 #pragma warning(push) 17 #pragma warning(push)
20 #pragma warning(disable : 4530) 18 #pragma warning(disable : 4530)
21 #endif 19 #endif
22 #include "json/reader.h" 20 #include "json/reader.h"
23 #include "json/value.h" 21 #include "json/value.h"
24 #include "json/writer.h" 22 #include "json/writer.h"
25 #ifdef SK_BUILD_FOR_WIN 23 #ifdef SK_BUILD_FOR_WIN
26 #pragma warning(pop) 24 #pragma warning(pop)
27 #endif 25 #endif
28 26
29 #endif // SK_BUILD_JSON_WRITER
30
31 #endif // SkJSONCPP_DEFINED 27 #endif // SkJSONCPP_DEFINED
OLDNEW
« no previous file with comments | « gyp/jsoncpp.gyp ('k') | tools/PictureResultsWriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698