| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # TODO: This file was copied from the external dependency | 5 # TODO: This file was copied from the external dependency |
| 6 # third_party/externals/jsoncpp-chromium/jsoncpp.gyp , at revision 125399, | 6 # third_party/externals/jsoncpp-chromium/jsoncpp.gyp , at revision 125399, |
| 7 # with directory paths modified to work at this level. | 7 # with directory paths modified to work at this level. |
| 8 # | 8 # |
| 9 # It would be better for us to depend on that gypfile within the external | 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. | 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 | 11 # See https://code.google.com/p/skia/issues/detail?id=1023 |
| 12 # and https://code.google.com/p/skia/source/detail?r=7115 | 12 # and https://code.google.com/p/skia/source/detail?r=7115 |
| 13 | 13 |
| 14 { | 14 { |
| 15 'variables': { | 15 'variables': { |
| 16 'skia_warnings_as_errors': 0, | 16 'skia_warnings_as_errors': 0, |
| 17 }, | 17 }, |
| 18 'targets': [ | 18 'targets': [ |
| 19 { | 19 { |
| 20 'target_name': 'jsoncpp', | 20 'target_name': 'jsoncpp', |
| 21 'type': 'static_library', | 21 'type': 'static_library', |
| 22 'conditions': [ | 22 'conditions': [ |
| 23 ['skia_build_json_writer', { | 23 ['skia_use_system_json == 0', { |
| 24 'defines': [ | 24 'defines': [ |
| 25 'JSON_USE_EXCEPTION=0', | 25 'JSON_USE_EXCEPTION=0', |
| 26 ], | 26 ], |
| 27 'sources': [ | 27 'sources': [ |
| 28 '../third_party/externals/jsoncpp/include/json/assertions.h', | 28 '../third_party/externals/jsoncpp/include/json/assertions.h', |
| 29 '../third_party/externals/jsoncpp/include/json/autolink.h', | 29 '../third_party/externals/jsoncpp/include/json/autolink.h', |
| 30 '../third_party/externals/jsoncpp/include/json/config.h', | 30 '../third_party/externals/jsoncpp/include/json/config.h', |
| 31 '../third_party/externals/jsoncpp/include/json/features.h', | 31 '../third_party/externals/jsoncpp/include/json/features.h', |
| 32 '../third_party/externals/jsoncpp/include/json/forwards.h', | 32 '../third_party/externals/jsoncpp/include/json/forwards.h', |
| 33 '../third_party/externals/jsoncpp/include/json/json.h', | 33 '../third_party/externals/jsoncpp/include/json/json.h', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 52 ], | 52 ], |
| 53 }, | 53 }, |
| 54 'cflags': [ | 54 'cflags': [ |
| 55 '-w', | 55 '-w', |
| 56 ], | 56 ], |
| 57 }], | 57 }], |
| 58 ], | 58 ], |
| 59 }, | 59 }, |
| 60 ], | 60 ], |
| 61 } | 61 } |
| OLD | NEW |