libhidlbase / libhidltransport is static
Need libhidl* for static executables that links
to HAL implementations statically.
Bug: 63702641
Test: charger works
Change-Id: Ie02acd0b7d1b6ec949e0ec2425e7ab783b0ef1cb
diff --git a/base/Android.bp b/base/Android.bp
index 4505b5e..22f5ee1 100644
--- a/base/Android.bp
+++ b/base/Android.bp
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-cc_library_shared {
+cc_library {
name: "libhidlbase",
vendor_available: true,
vndk: {
diff --git a/transport/Android.bp b/transport/Android.bp
index e09cb4d..4821560 100644
--- a/transport/Android.bp
+++ b/transport/Android.bp
@@ -25,7 +25,7 @@
"token/1.0/utils",
]
-cc_library_shared {
+cc_library {
name: "libhidltransport",
vendor_available: true,
vndk: {