blob: f9f5eefe52269ebd16d239f7e425aebbeab3e7b2 [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 }],
56 ],
epoger@google.comee8a8e32012-12-18 19:13:49 +000057 },
58 ],
59}
60
61# Local Variables:
62# tab-width:2
63# indent-tabs-mode:nil
64# End:
65# vim: set expandtab tabstop=2 shiftwidth=2: