2012-12-18 19:13:49 +00:00
|
|
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
{
|
2013-03-22 13:16:06 +00:00
|
|
|
'variables': {
|
|
|
|
'skia_warnings_as_errors': 0,
|
|
|
|
},
|
2012-12-18 19:13:49 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'jsoncpp',
|
2014-05-16 13:15:41 +00:00
|
|
|
'conditions': [
|
2014-06-18 17:31:40 +00:00
|
|
|
['skia_use_system_json', {
|
|
|
|
'type': 'none',
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'jsoncpp.a',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}, {
|
|
|
|
'type': 'static_library',
|
2014-05-16 13:15:41 +00:00
|
|
|
'defines': [
|
|
|
|
'JSON_USE_EXCEPTION=0',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/json_reader.cpp',
|
2014-08-19 14:21:00 +00:00
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/json_value.cpp',
|
2014-05-16 13:15:41 +00:00
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/json_writer.cpp',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../third_party/externals/jsoncpp/include/',
|
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../third_party/externals/jsoncpp/include/',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'cflags': [
|
|
|
|
'-w',
|
|
|
|
],
|
|
|
|
}],
|
2013-01-07 20:51:13 +00:00
|
|
|
],
|
2012-12-18 19:13:49 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|