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. |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 4 | { |
borenet@google.com | a72aef8 | 2013-03-22 13:16:06 +0000 | [diff] [blame] | 5 | 'variables': { |
| 6 | 'skia_warnings_as_errors': 0, |
| 7 | }, |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 8 | 'targets': [ |
| 9 | { |
| 10 | 'target_name': 'jsoncpp', |
commit-bot@chromium.org | 61744ec | 2014-05-16 13:15:41 +0000 | [diff] [blame] | 11 | 'conditions': [ |
scroggo | f01a6c3 | 2014-06-18 10:31:40 -0700 | [diff] [blame] | 12 | ['skia_use_system_json', { |
| 13 | 'type': 'none', |
| 14 | 'direct_dependent_settings': { |
| 15 | 'libraries': [ |
| 16 | 'jsoncpp.a', |
| 17 | ], |
| 18 | }, |
| 19 | }, { |
| 20 | 'type': 'static_library', |
commit-bot@chromium.org | 61744ec | 2014-05-16 13:15:41 +0000 | [diff] [blame] | 21 | 'defines': [ |
| 22 | 'JSON_USE_EXCEPTION=0', |
| 23 | ], |
| 24 | 'sources': [ |
commit-bot@chromium.org | 61744ec | 2014-05-16 13:15:41 +0000 | [diff] [blame] | 25 | '../third_party/externals/jsoncpp/src/lib_json/json_reader.cpp', |
mtklein | 3ba54fa | 2014-08-19 07:21:00 -0700 | [diff] [blame] | 26 | '../third_party/externals/jsoncpp/src/lib_json/json_value.cpp', |
commit-bot@chromium.org | 61744ec | 2014-05-16 13:15:41 +0000 | [diff] [blame] | 27 | '../third_party/externals/jsoncpp/src/lib_json/json_writer.cpp', |
| 28 | ], |
| 29 | 'include_dirs': [ |
commit-bot@chromium.org | 61744ec | 2014-05-16 13:15:41 +0000 | [diff] [blame] | 30 | '../third_party/externals/jsoncpp/include/', |
| 31 | '../third_party/externals/jsoncpp/src/lib_json/', |
| 32 | ], |
| 33 | 'direct_dependent_settings': { |
| 34 | 'include_dirs': [ |
commit-bot@chromium.org | 61744ec | 2014-05-16 13:15:41 +0000 | [diff] [blame] | 35 | '../third_party/externals/jsoncpp/include/', |
| 36 | ], |
| 37 | }, |
| 38 | 'cflags': [ |
| 39 | '-w', |
| 40 | ], |
| 41 | }], |
reed@google.com | 4cbb3a1 | 2013-01-07 20:51:13 +0000 | [diff] [blame] | 42 | ], |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 43 | }, |
| 44 | ], |
| 45 | } |