Home | History | Annotate | Download | only in jsoncpp
      1 cc_defaults {
      2     name: "libjsoncpp_defaults",
      3 
      4     srcs: [
      5         "src/lib_json/json_reader.cpp",
      6         "src/lib_json/json_value.cpp",
      7         "src/lib_json/json_writer.cpp",
      8     ],
      9 
     10     local_include_dirs: [
     11         "src/lib_json",
     12     ],
     13 
     14     export_include_dirs: ["include"],
     15 
     16     cflags: [
     17         "-DJSON_USE_EXCEPTION=0",
     18         "-Wall",
     19         "-Werror",
     20     ],
     21 
     22     target: {
     23         windows: {
     24             enabled: true,
     25         },
     26     },
     27 }
     28 
     29 cc_library_static {
     30     name: "libjsoncpp",
     31     defaults: ["libjsoncpp_defaults"],
     32     vendor_available: true,
     33     host_supported: true,
     34 }
     35 
     36 cc_library_static {
     37     name: "libjsoncpp_ndk",
     38     defaults: ["libjsoncpp_defaults"],
     39     sdk_version: "9",
     40     stl: "libc++_static",
     41 }
     42