summaryrefslogtreecommitdiffstats
path: root/dexdump
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-09-07 17:43:06 -0700
committerColin Cross <ccross@android.com>2017-09-07 17:53:29 -0700
commit284610ed90ff75613923cd734f600d960a928812 (patch)
treeaf0a477f6371ad887bdfc968ca7eaed53fe9ef04 /dexdump
parentec995142998f6c7371734e6df95b5e2c80b18d27 (diff)
downloadart-284610ed90ff75613923cd734f600d960a928812.tar.gz
art-284610ed90ff75613923cd734f600d960a928812.tar.bz2
art-284610ed90ff75613923cd734f600d960a928812.zip
Add static version of dexdump2
Add a static version of dexdump2 called dexdumps. Bug: 64478820 Test: m -j dexdumps Change-Id: I3ececd3b540afd0a6419695cd6add833aa339546
Diffstat (limited to 'dexdump')
-rw-r--r--dexdump/Android.bp20
1 files changed, 20 insertions, 0 deletions
diff --git a/dexdump/Android.bp b/dexdump/Android.bp
index 60ce363dbe..2e564d59ad 100644
--- a/dexdump/Android.bp
+++ b/dexdump/Android.bp
@@ -29,6 +29,26 @@ art_cc_binary {
],
}
+art_cc_binary {
+ name: "dexdumps",
+ host_supported: true,
+ device_supported: false,
+ srcs: [
+ "dexdump_cfg.cc",
+ "dexdump_main.cc",
+ "dexdump.cc",
+ ],
+ cflags: ["-Wall"],
+ static_libs: [
+ "libart",
+ "libbase",
+ ] + art_static_dependencies,
+ host_ldlibs: [
+ "-ldl",
+ "-lrt",
+ ],
+}
+
art_cc_test {
name: "art_dexdump_tests",
defaults: [