summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fan Xu <fanxu@google.com> 2018-12-07 13:27:57 -0800
committer Fan Xu <fanxu@google.com> 2018-12-07 13:27:57 -0800
commitaea8e5e5b04c23edd120673aeaa0e0752cfb6fff (patch)
treeb448ab95cbfa0dffefc3ffc3302830347cba27a7
parent49a945a212ff6ecda29030ceb3aa614e52812cd2 (diff)
Fix BufferHubMetadata_test build on oc branch
By some reason in master branch the compiler could find unique_fd.h on compiling, but in oc-dr1-daydream-dev it's complaining about it. Test: m BufferHubMetadata -j (build passed) Bug: none Change-Id: I26e3e5288ec60f2c3d11d8416e563ef074eb553c
-rw-r--r--libs/ui/tests/Android.bp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ui/tests/Android.bp b/libs/ui/tests/Android.bp
index fcc6d371d9..18bbb3e876 100644
--- a/libs/ui/tests/Android.bp
+++ b/libs/ui/tests/Android.bp
@@ -74,7 +74,12 @@ cc_test {
cc_test {
name: "BufferHubMetadata_test",
header_libs: ["libbufferhub_headers", "libdvr_headers"],
- shared_libs: ["libpdx_default_transport", "libui", "libutils"],
+ shared_libs: [
+ "libbase",
+ "libpdx_default_transport",
+ "libui",
+ "libutils",
+ ],
srcs: ["BufferHubMetadata_test.cpp"],
cflags: ["-Wall", "-Werror"],
}