summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-04-03 22:32:40 -0700
committerSteven Moreland <smoreland@google.com>2017-04-05 09:52:07 -0700
commit1959301b5a4f1cf5547eabdbebbf407edf73c402 (patch)
treeb6d9420ef4dd1f0528e2bcc57044ef846edaf289
parent60d1780fd316c558de31c0d6222a32606e222359 (diff)
downloadrs-1959301b5a4f1cf5547eabdbebbf407edf73c402.tar.gz
rsHidlAdaptation: Include log/log.h, since it uses ALOG*
Don't rely on this being included transitively by some other header. Test: m -j libRS Change-Id: Ieeea9ca80f76f854bf9c557c59a0dde7ebda028e
-rw-r--r--rsHidlAdaptation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsHidlAdaptation.cpp b/rsHidlAdaptation.cpp
index 2ec10697..ead47542 100644
--- a/rsHidlAdaptation.cpp
+++ b/rsHidlAdaptation.cpp
@@ -14,11 +14,14 @@
* limitations under the License.
*/
+#define LOG_TAG "RenderScript HIDL Adaptation"
+
#include "cpp/rsDispatch.h"
#include "rsHidlAdaptation.h"
#include "rsFallbackAdaptation.h"
#include <cutils/properties.h>
+#include <log/log.h>
using ::android::hardware::renderscript::V1_0::IDevice;
using ::android::hardware::renderscript::V1_0::IContext;
@@ -51,9 +54,6 @@ using ::android::hardware::Return;
using ::android::hardware::Void;
using ::android::sp;
-#undef LOG_TAG
-#define LOG_TAG "RenderScript HIDL Adaptation"
-
dispatchTable RsHidlAdaptation::mEntryFuncs;
sp<IDevice> RsHidlAdaptation::mHidl;
std::set<sp<IContext> > RsHidlAdaptation::mContexts;