blob: b6efd87bf8e805fa30ef0b759fd6a36c1b3ff659 [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.
epoger@google.comee8a8e32012-12-18 19:13:49 +00004{
borenet@google.coma72aef82013-03-22 13:16:06 +00005 'variables': {
6 'skia_warnings_as_errors': 0,
7 },
epoger@google.comee8a8e32012-12-18 19:13:49 +00008 'targets': [
9 {
10 'target_name': 'jsoncpp',
commit-bot@chromium.org61744ec2014-05-16 13:15:41 +000011 'conditions': [
scroggof01a6c32014-06-18 10:31:40 -070012 ['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.org61744ec2014-05-16 13:15:41 +000021 'defines': [
22 'JSON_USE_EXCEPTION=0',
23 ],
24 'sources': [
commit-bot@chromium.org61744ec2014-05-16 13:15:41 +000025 '../third_party/externals/jsoncpp/src/lib_json/json_reader.cpp',
mtklein3ba54fa2014-08-19 07:21:00 -070026 '../third_party/externals/jsoncpp/src/lib_json/json_value.cpp',
commit-bot@chromium.org61744ec2014-05-16 13:15:41 +000027 '../third_party/externals/jsoncpp/src/lib_json/json_writer.cpp',
28 ],
29 'include_dirs': [
commit-bot@chromium.org61744ec2014-05-16 13:15:41 +000030 '../third_party/externals/jsoncpp/include/',
31 '../third_party/externals/jsoncpp/src/lib_json/',
32 ],
33 'direct_dependent_settings': {
34 'include_dirs': [
commit-bot@chromium.org61744ec2014-05-16 13:15:41 +000035 '../third_party/externals/jsoncpp/include/',
36 ],
37 },
38 'cflags': [
39 '-w',
40 ],
41 }],
reed@google.com4cbb3a12013-01-07 20:51:13 +000042 ],
epoger@google.comee8a8e32012-12-18 19:13:49 +000043 },
44 ],
45}