Home | History | Annotate | Download | only in tinyxml2
      1 cc_library {
      2     name: "libtinyxml2",
      3     host_supported: true,
      4     vendor_available: true,
      5     recovery_available: true,
      6     vndk: {
      7         enabled: true,
      8     },
      9 
     10     srcs: ["tinyxml2.cpp"],
     11 
     12     cflags: [
     13         "-Wall",
     14         "-Werror",
     15         "-Wno-implicit-fallthrough",
     16         // tinyxml2.cpp line 436, 441, 446 have -Wimplicit-fallthrough.
     17     ],
     18 
     19     shared_libs: ["liblog"],
     20 
     21     target: {
     22         android: {
     23             cflags: [
     24                 // LOG_TO_ANDROID_LOGCAT
     25                 "-DDEBUG",
     26                 "-DANDROID_NDK",
     27             ],
     28         },
     29     },
     30 
     31     export_include_dirs: ["."],
     32 }
     33 
     34 cc_test {
     35     name: "tinyxml2-tests",
     36     srcs: ["xmltest.cpp"],
     37     shared_libs: ["libtinyxml2"],
     38     data: [
     39         "resources/**/*",
     40     ],
     41 }
     42