mtklein | 25c81d4 | 2016-07-27 13:55:26 -0700 | [diff] [blame] | 1 | # Copyright 2016 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | declare_args() { |
| 7 | } |
| 8 | |
| 9 | import("../third_party.gni") |
| 10 | |
| 11 | third_party("jsoncpp") { |
| 12 | public_include_dirs = [ "../externals/jsoncpp/include" ] |
| 13 | |
| 14 | defines = [ "JSON_USE_EXCEPTION=0" ] |
| 15 | sources = [ |
| 16 | "../externals/jsoncpp/src/lib_json/json_reader.cpp", |
| 17 | "../externals/jsoncpp/src/lib_json/json_value.cpp", |
| 18 | "../externals/jsoncpp/src/lib_json/json_writer.cpp", |
| 19 | ] |
| 20 | testonly = true |
| 21 | } |