Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / gyp / jsoncpp.gyp
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 {
5   'variables': {
6     'skia_warnings_as_errors': 0,
7   },
8   'targets': [
9     {
10       'target_name': 'jsoncpp',
11       'conditions': [
12         ['skia_use_system_json', {
13           'type': 'none',
14           'direct_dependent_settings': {
15             'libraries': [
16               'jsoncpp.a',
17             ],
18           },
19         }, {
20           'type': 'static_library',
21           'defines': [
22             'JSON_USE_EXCEPTION=0',
23           ],
24           'sources': [
25             '../third_party/externals/jsoncpp/src/lib_json/json_reader.cpp',
26             '../third_party/externals/jsoncpp/src/lib_json/json_value.cpp',
27             '../third_party/externals/jsoncpp/src/lib_json/json_writer.cpp',
28           ],
29           'include_dirs': [
30             '../third_party/externals/jsoncpp/include/',
31             '../third_party/externals/jsoncpp/src/lib_json/',
32           ],
33           'direct_dependent_settings': {
34             'include_dirs': [
35               '../third_party/externals/jsoncpp/include/',
36             ],
37           },
38           'cflags': [
39             '-w',
40           ],
41         }],
42       ],
43     },
44   ],
45 }