From 28ca7e9740b990c5ceb9ae19cf77a8c93cfba7ad Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Wed, 13 Dec 2017 10:09:22 -0800 Subject: [PATCH] Try to fix some builds. Broken builds: aosp_x86, docs, full, sdk_phone_armv7. I cannot reproduce the break locally, so making my best guess on the fix. Test: it still builds Change-Id: Icf86c3502fede66dba815458b66f2ebdf33afe91 --- broadcastradio/2.0/default/TunerSession.cpp | 2 +- broadcastradio/common/utils/Android.bp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/broadcastradio/2.0/default/TunerSession.cpp b/broadcastradio/2.0/default/TunerSession.cpp index 7e02e53e0e..f0b98b8a39 100644 --- a/broadcastradio/2.0/default/TunerSession.cpp +++ b/broadcastradio/2.0/default/TunerSession.cpp @@ -185,7 +185,7 @@ Return TunerSession::step(bool directionUp) { #endif auto task = [this, stepTo]() { - ALOGI("Performing step to %lu", stepTo); + ALOGI("Performing step to %s", std::to_string(stepTo).c_str()); lock_guard lk(mMut); diff --git a/broadcastradio/common/utils/Android.bp b/broadcastradio/common/utils/Android.bp index 99793a1ef3..33ba7da22f 100644 --- a/broadcastradio/common/utils/Android.bp +++ b/broadcastradio/common/utils/Android.bp @@ -27,4 +27,9 @@ cc_library_static { "WorkerThread.cpp", ], export_include_dirs: ["include"], + shared_libs: [ + "libbase", + "liblog", + "libutils", + ], }