summaryrefslogtreecommitdiffstats
path: root/broadcastradio
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2017-12-13 19:31:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-12-13 19:31:45 +0000
commitc961f613c3ad75c94c371d065abce413a39c52eb (patch)
treee546e6dc432bc9227eaa9e5982b408df36fb18ec /broadcastradio
parentd4020eaa2725799e625c211038b67a3c60e821c4 (diff)
parent28ca7e9740b990c5ceb9ae19cf77a8c93cfba7ad (diff)
downloadplatform_hardware_interfaces-c961f613c3ad75c94c371d065abce413a39c52eb.tar.gz
platform_hardware_interfaces-c961f613c3ad75c94c371d065abce413a39c52eb.tar.bz2
platform_hardware_interfaces-c961f613c3ad75c94c371d065abce413a39c52eb.zip
Merge "Try to fix some builds."
Diffstat (limited to 'broadcastradio')
-rw-r--r--broadcastradio/2.0/default/TunerSession.cpp2
-rw-r--r--broadcastradio/common/utils/Android.bp5
2 files changed, 6 insertions, 1 deletions
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<Result> 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<mutex> 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",
+ ],
}