Add a libc++ version of ijar for prebuilt use
I'll remove the old version once we've moved over to the prebuilts.
Change-Id: Ifd8d396f8b653abbe958cd34e69831a6ca378649
diff --git a/tools/ijar/Android.bp b/tools/ijar/Android.bp
index f7e9a28..6f3a239 100644
--- a/tools/ijar/Android.bp
+++ b/tools/ijar/Android.bp
@@ -18,3 +18,17 @@
// libc++ is not supported for TARGET_BUILD_APPS builds
stl: "libstdc++",
}
+
+cc_binary_host {
+ srcs: [
+ "classfile.cc",
+ "ijar.cc",
+ "zip.cc",
+ ],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
+ host_ldlibs: ["-lz"],
+ name: "ijar_libc++",
+}