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 |
epoger@google.com | 5a5e29e | 2013-01-15 17:16:51 +0000 | [diff] [blame] | 6 | # third_party/externals/jsoncpp-chromium/jsoncpp.gyp , at revision 125399, |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 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 |
epoger@google.com | 5a5e29e | 2013-01-15 17:16:51 +0000 | [diff] [blame] | 12 | # and https://code.google.com/p/skia/source/detail?r=7115 |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 13 | |
| 14 | { |
borenet@google.com | a72aef8 | 2013-03-22 13:16:06 +0000 | [diff] [blame] | 15 | 'variables': { |
| 16 | 'skia_warnings_as_errors': 0, |
| 17 | }, |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 18 | 'targets': [ |
| 19 | { |
| 20 | 'target_name': 'jsoncpp', |
| 21 | 'type': 'static_library', |
| 22 | 'defines': [ |
| 23 | 'JSON_USE_EXCEPTION=0', |
| 24 | ], |
| 25 | 'sources': [ |
epoger@google.com | 5a5e29e | 2013-01-15 17:16:51 +0000 | [diff] [blame] | 26 | '../third_party/externals/jsoncpp/include/json/assertions.h', |
| 27 | '../third_party/externals/jsoncpp/include/json/autolink.h', |
| 28 | '../third_party/externals/jsoncpp/include/json/config.h', |
| 29 | '../third_party/externals/jsoncpp/include/json/features.h', |
| 30 | '../third_party/externals/jsoncpp/include/json/forwards.h', |
| 31 | '../third_party/externals/jsoncpp/include/json/json.h', |
| 32 | '../third_party/externals/jsoncpp/include/json/reader.h', |
| 33 | '../third_party/externals/jsoncpp-chromium/overrides/include/json/value.h', |
| 34 | '../third_party/externals/jsoncpp/include/json/writer.h', |
| 35 | '../third_party/externals/jsoncpp/src/lib_json/json_batchallocator.h', |
| 36 | '../third_party/externals/jsoncpp/src/lib_json/json_reader.cpp', |
| 37 | '../third_party/externals/jsoncpp/src/lib_json/json_tool.h', |
| 38 | '../third_party/externals/jsoncpp-chromium/overrides/src/lib_json/json_value.cpp', |
| 39 | '../third_party/externals/jsoncpp/src/lib_json/json_writer.cpp', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 40 | ], |
| 41 | 'include_dirs': [ |
epoger@google.com | 5a5e29e | 2013-01-15 17:16:51 +0000 | [diff] [blame] | 42 | '../third_party/externals/jsoncpp-chromium/overrides/include/', |
| 43 | '../third_party/externals/jsoncpp/include/', |
| 44 | '../third_party/externals/jsoncpp/src/lib_json/', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 45 | ], |
| 46 | 'direct_dependent_settings': { |
| 47 | 'include_dirs': [ |
epoger@google.com | 5a5e29e | 2013-01-15 17:16:51 +0000 | [diff] [blame] | 48 | '../third_party/externals/jsoncpp-chromium/overrides/include/', |
| 49 | '../third_party/externals/jsoncpp/include/', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 50 | ], |
| 51 | }, |
commit-bot@chromium.org | 1e10a9a | 2013-09-30 18:19:26 +0000 | [diff] [blame] | 52 | 'cflags': [ |
| 53 | '-w', |
reed@google.com | 4cbb3a1 | 2013-01-07 20:51:13 +0000 | [diff] [blame] | 54 | ], |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 55 | }, |
| 56 | ], |
| 57 | } |