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.
|
|
|
|
|
|
|
|
# TODO: This file was copied from the external dependency
|
2013-01-15 17:16:51 +00:00
|
|
|
# third_party/externals/jsoncpp-chromium/jsoncpp.gyp , at revision 125399,
|
2012-12-18 19:13:49 +00:00
|
|
|
# with directory paths modified to work at this level.
|
|
|
|
#
|
|
|
|
# It would be better for us to depend on that gypfile within the external
|
|
|
|
# dependency, but so far we have been unable to make that work reliably.
|
|
|
|
# See https://code.google.com/p/skia/issues/detail?id=1023
|
2013-01-15 17:16:51 +00:00
|
|
|
# and https://code.google.com/p/skia/source/detail?r=7115
|
2012-12-18 19:13:49 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'jsoncpp',
|
|
|
|
'type': 'static_library',
|
|
|
|
'defines': [
|
|
|
|
'JSON_USE_EXCEPTION=0',
|
|
|
|
],
|
|
|
|
'sources': [
|
2013-01-15 17:16:51 +00:00
|
|
|
'../third_party/externals/jsoncpp/include/json/assertions.h',
|
|
|
|
'../third_party/externals/jsoncpp/include/json/autolink.h',
|
|
|
|
'../third_party/externals/jsoncpp/include/json/config.h',
|
|
|
|
'../third_party/externals/jsoncpp/include/json/features.h',
|
|
|
|
'../third_party/externals/jsoncpp/include/json/forwards.h',
|
|
|
|
'../third_party/externals/jsoncpp/include/json/json.h',
|
|
|
|
'../third_party/externals/jsoncpp/include/json/reader.h',
|
|
|
|
'../third_party/externals/jsoncpp-chromium/overrides/include/json/value.h',
|
|
|
|
'../third_party/externals/jsoncpp/include/json/writer.h',
|
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/json_batchallocator.h',
|
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/json_reader.cpp',
|
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/json_tool.h',
|
|
|
|
'../third_party/externals/jsoncpp-chromium/overrides/src/lib_json/json_value.cpp',
|
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/json_writer.cpp',
|
2012-12-18 19:13:49 +00:00
|
|
|
],
|
|
|
|
'include_dirs': [
|
2013-01-15 17:16:51 +00:00
|
|
|
'../third_party/externals/jsoncpp-chromium/overrides/include/',
|
|
|
|
'../third_party/externals/jsoncpp/include/',
|
|
|
|
'../third_party/externals/jsoncpp/src/lib_json/',
|
2012-12-18 19:13:49 +00:00
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
2013-01-15 17:16:51 +00:00
|
|
|
'../third_party/externals/jsoncpp-chromium/overrides/include/',
|
|
|
|
'../third_party/externals/jsoncpp/include/',
|
2012-12-18 19:13:49 +00:00
|
|
|
],
|
|
|
|
},
|
2013-01-07 20:51:13 +00:00
|
|
|
'conditions': [
|
|
|
|
[ 'skia_os == "mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_CPLUSPLUSFLAGS!': [
|
|
|
|
'-Werror',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
}],
|
2013-01-08 20:31:53 +00:00
|
|
|
[ 'skia_os == "win"', {
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCCLCompilerTool': {
|
|
|
|
'WarnAsError': 'false',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}],
|
2013-02-07 18:58:35 +00:00
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
'cflags!': [
|
|
|
|
'-Wall',
|
|
|
|
'-Werror',
|
|
|
|
],
|
|
|
|
}],
|
2013-01-07 20:51:13 +00:00
|
|
|
],
|
2012-12-18 19:13:49 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|