summaryrefslogtreecommitdiffstats
path: root/runtime/plugin.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-12-14 10:11:49 -0800
committerAndreas Gampe <agampe@google.com>2016-12-15 09:50:39 -0800
commit46ee31b67d7ee1bd085fbc240502053caa3cf8fa (patch)
tree83e870f293cd60d533207e389d7b094acd87b31f /runtime/plugin.cc
parent9538f9e2a5d03f1b1bc07ebfbd93b61dcf8ad604 (diff)
downloadart-46ee31b67d7ee1bd085fbc240502053caa3cf8fa.tar.gz
art-46ee31b67d7ee1bd085fbc240502053caa3cf8fa.tar.bz2
art-46ee31b67d7ee1bd085fbc240502053caa3cf8fa.zip
ART: Move to libbase StringPrintf
Remove ART's StringPrintf implementation. Fix up clients. Add missing includes where necessary. Test: m test-art-host Change-Id: I564038d5868595ac3bb88d641af1000cea940e5a
Diffstat (limited to 'runtime/plugin.cc')
-rw-r--r--runtime/plugin.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/plugin.cc b/runtime/plugin.cc
index 481b1caa15..731967c738 100644
--- a/runtime/plugin.cc
+++ b/runtime/plugin.cc
@@ -17,11 +17,15 @@
#include "plugin.h"
#include <dlfcn.h>
-#include "base/stringprintf.h"
+
+#include "android-base/stringprintf.h"
+
#include "base/logging.h"
namespace art {
+using android::base::StringPrintf;
+
const char* PLUGIN_INITIALIZATION_FUNCTION_NAME = "ArtPlugin_Initialize";
const char* PLUGIN_DEINITIALIZATION_FUNCTION_NAME = "ArtPlugin_Deinitialize";