From 2ca1e9ad888285aa9a33389c36cc56874932d987 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 26 Jan 2021 19:37:22 +0000 Subject: [PATCH] libaidlcommonsupport_test: static libs In case devices don't have them. I've also changed the version of these libraries which are used to be explicit. Fixes: 178483563 Test: libaidlcommonsupport_test Change-Id: I4ebbbc84f8cb383b99d1e9a1ecc5ad6b28b8549e --- common/support/Android.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/support/Android.bp b/common/support/Android.bp index 3bb48049f3..ce3aa3fbd6 100644 --- a/common/support/Android.bp +++ b/common/support/Android.bp @@ -6,7 +6,7 @@ cc_library_static { srcs: ["NativeHandle.cpp"], export_include_dirs: ["include"], shared_libs: [ - "android.hardware.common-unstable-ndk_platform", + "android.hardware.common-V2-ndk_platform", "libcutils", ], } @@ -17,10 +17,10 @@ cc_test { defaults: ["libbinder_ndk_host_user"], srcs: ["test.cpp"], static_libs: [ + "android.hardware.common-V2-ndk_platform", "libaidlcommonsupport", ], shared_libs: [ - "android.hardware.common-unstable-ndk_platform", "libcutils", ], test_suites: ["general-tests"],