blob: 568cfd3c59ec347a1b6493975f13ebac9ff914a7 [file] [log] [blame]
Derek Sollenbergerfd78d1f2018-01-31 13:27:11 -05001cc_defaults {
2 name: "libjsoncpp_defaults",
Leon Scroggins III37adfc02017-01-20 16:04:33 -05003
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
Dan Albertbf34ad12018-12-06 11:03:03 -080014 include_build_directory: false,
15
Leon Scroggins III37adfc02017-01-20 16:04:33 -050016 export_include_dirs: ["include"],
17
Chih-Hung Hsieh5b9e4772017-09-28 12:36:04 -070018 cflags: [
19 "-DJSON_USE_EXCEPTION=0",
20 "-Wall",
21 "-Werror",
Chih-Hung Hsiehb860d832018-09-04 15:00:45 -070022 "-Wno-implicit-fallthrough",
23 // src/lib_json/json_reader.cpp:210 has -Wno-implicit-fallthrough
Chih-Hung Hsieh5b9e4772017-09-28 12:36:04 -070024 ],
John Muir19f1bfc2017-10-15 22:26:53 -070025
26 target: {
27 windows: {
28 enabled: true,
29 },
30 },
Leon Scroggins III37adfc02017-01-20 16:04:33 -050031}
Derek Sollenbergerfd78d1f2018-01-31 13:27:11 -050032
Doug Horn948e5172018-08-15 18:04:47 -070033cc_library {
Derek Sollenbergerfd78d1f2018-01-31 13:27:11 -050034 name: "libjsoncpp",
35 defaults: ["libjsoncpp_defaults"],
36 vendor_available: true,
Suren Baghdasaryan67f5c6d2018-12-14 10:05:48 -080037 vndk: {
38 enabled: true,
39 support_system_process: true,
40 },
Derek Sollenbergerfd78d1f2018-01-31 13:27:11 -050041 host_supported: true,
Suren Baghdasaryan67f5c6d2018-12-14 10:05:48 -080042 recovery_available: true,
dimitry921a9432019-05-14 11:30:42 +020043 native_bridge_supported: true,
Derek Sollenbergerfd78d1f2018-01-31 13:27:11 -050044}
45
46cc_library_static {
47 name: "libjsoncpp_ndk",
48 defaults: ["libjsoncpp_defaults"],
49 sdk_version: "9",
50 stl: "libc++_static",
51}