blob: 34f05e5fd082ea00e91b3946e6d90f54bc558f58 [file] [log] [blame]
epoger@google.comee8a8e32012-12-18 19:13:49 +00001# 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# TODO: This file was copied from the external dependency
6# third_party/externals/jsoncpp/jsoncpp.gyp , at revision 125399,
7# with directory paths modified to work at this level.
8#
9# It would be better for us to depend on that gypfile within the external
10# dependency, but so far we have been unable to make that work reliably.
11# See https://code.google.com/p/skia/issues/detail?id=1023
12
13{
14 'targets': [
15 {
16 'target_name': 'jsoncpp',
17 'type': 'static_library',
18 'defines': [
19 'JSON_USE_EXCEPTION=0',
20 ],
21 'sources': [
22 '../third_party/externals/jsoncpp/source/include/json/assertions.h',
23 '../third_party/externals/jsoncpp/source/include/json/autolink.h',
24 '../third_party/externals/jsoncpp/source/include/json/config.h',
25 '../third_party/externals/jsoncpp/source/include/json/features.h',
26 '../third_party/externals/jsoncpp/source/include/json/forwards.h',
27 '../third_party/externals/jsoncpp/source/include/json/json.h',
28 '../third_party/externals/jsoncpp/source/include/json/reader.h',
29 '../third_party/externals/jsoncpp/overrides/include/json/value.h',
30 '../third_party/externals/jsoncpp/source/include/json/writer.h',
31 '../third_party/externals/jsoncpp/source/src/lib_json/json_batchallocator.h',
32 '../third_party/externals/jsoncpp/source/src/lib_json/json_reader.cpp',
33 '../third_party/externals/jsoncpp/source/src/lib_json/json_tool.h',
34 '../third_party/externals/jsoncpp/overrides/src/lib_json/json_value.cpp',
35 '../third_party/externals/jsoncpp/source/src/lib_json/json_writer.cpp',
36 ],
37 'include_dirs': [
38 '../third_party/externals/jsoncpp/overrides/include/',
39 '../third_party/externals/jsoncpp/source/include/',
40 '../third_party/externals/jsoncpp/source/src/lib_json/',
41 ],
42 'direct_dependent_settings': {
43 'include_dirs': [
44 '../third_party/externals/jsoncpp/overrides/include/',
45 '../third_party/externals/jsoncpp/source/include/',
46 ],
47 },
reed@google.com4cbb3a12013-01-07 20:51:13 +000048 'conditions': [
49 [ 'skia_os == "mac"', {
50 'xcode_settings': {
51 'OTHER_CPLUSPLUSFLAGS!': [
52 '-Werror',
53 ]
54 },
55 }],
bsalomon@google.com50c79d82013-01-08 20:31:53 +000056 [ 'skia_os == "win"', {
57 'msvs_settings': {
58 'VCCLCompilerTool': {
59 'WarnAsError': 'false',
60 },
61 },
62 }],
reed@google.com4cbb3a12013-01-07 20:51:13 +000063 ],
epoger@google.comee8a8e32012-12-18 19:13:49 +000064 },
65 ],
66}
67
68# Local Variables:
69# tab-width:2
70# indent-tabs-mode:nil
71# End:
72# vim: set expandtab tabstop=2 shiftwidth=2: