ART: Use libbase

Move to using standard macros from libbase. Required so that we
can use libbase in libart-disassembler to disconnect from libart.

Bug: 15436106
Test: m
Test: m ART_BUILD_HOST_STATIC=true
Test: m test-art-host
Change-Id: I1f1723d875d20689d73835f6ab78c27a8efcf27a
diff --git a/runtime/Android.bp b/runtime/Android.bp
index c92df4e..9b74b0d 100644
--- a/runtime/Android.bp
+++ b/runtime/Android.bp
@@ -379,6 +379,8 @@
         "liblz4",
         // For liblog, atrace, properties, ashmem, set_sched_policy and socket_peer_is_trusted.
         "libcutils",
+        // For common macros.
+        "libbase",
     ],
     static: {
         static_libs: ["libsigchain_dummy"],
@@ -387,6 +389,8 @@
         shared_libs: ["libsigchain"],
     },
     export_include_dirs: ["."],
+    // ART's macros.h depends on libbase's macros.h.
+    export_shared_lib_headers: ["libbase"],
 }
 
 gensrcs {