epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 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 | # 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.com | 4cbb3a1 | 2013-01-07 20:51:13 +0000 | [diff] [blame] | 48 | 'conditions': [ |
| 49 | [ 'skia_os == "mac"', { |
| 50 | 'xcode_settings': { |
| 51 | 'OTHER_CPLUSPLUSFLAGS!': [ |
| 52 | '-Werror', |
| 53 | ] |
| 54 | }, |
| 55 | }], |
bsalomon@google.com | 50c79d8 | 2013-01-08 20:31:53 +0000 | [diff] [blame] | 56 | [ 'skia_os == "win"', { |
| 57 | 'msvs_settings': { |
| 58 | 'VCCLCompilerTool': { |
| 59 | 'WarnAsError': 'false', |
| 60 | }, |
| 61 | }, |
| 62 | }], |
reed@google.com | 4cbb3a1 | 2013-01-07 20:51:13 +0000 | [diff] [blame] | 63 | ], |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 64 | }, |
| 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: |