Home | History | Annotate | Download | only in jsoncpp
      1 # Copyright 2014 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.
      4 
      5 config("jsoncpp_config") {
      6   include_dirs = [
      7     "overrides/include",
      8     "source/include",
      9   ]
     10 }
     11 
     12 source_set("jsoncpp") {
     13   sources = [
     14     "overrides/include/json/value.h",
     15     "overrides/src/lib_json/json_reader.cpp",
     16     "overrides/src/lib_json/json_value.cpp",
     17     "source/include/json/assertions.h",
     18     "source/include/json/autolink.h",
     19     "source/include/json/config.h",
     20     "source/include/json/features.h",
     21     "source/include/json/forwards.h",
     22     "source/include/json/json.h",
     23     "source/include/json/reader.h",
     24     "source/include/json/writer.h",
     25     "source/src/lib_json/json_batchallocator.h",
     26     "source/src/lib_json/json_tool.h",
     27     "source/src/lib_json/json_writer.cpp",
     28   ]
     29 
     30   public_configs = [ ":jsoncpp_config" ]
     31 
     32   defines = [
     33     "JSON_USE_EXCEPTION=0",
     34   ]
     35 
     36   include_dirs = [
     37     "source/src/lib_json",
     38   ]
     39 }
     40