Newer
Older
name: "libtinyxml2",
host_supported: true,
vndk: {
enabled: true,
},
"-Wno-implicit-fallthrough",
// tinyxml2.cpp line 436, 441, 446 have -Wimplicit-fallthrough.
target: {
android: {
cflags: [
// LOG_TO_ANDROID_LOGCAT
"-DDEBUG",
"-DANDROID_NDK",
],
},
},
srcs: ["xmltest.cpp"],
shared_libs: ["libtinyxml2"],
data: [
sh_test {
name: "tinyxml2-tests",
src: "run-tinyxml2-tests-on-android.sh",
filename: "run-tinyxml2-tests-on-android.sh",
test_suites: ["general-tests"],
host_supported: true,
device_supported: false,
require_root: true,
target_required: ["tinyxml2-xmltest"],
}