Shanmukha
Shanmukha

Reputation: 105

How to build AOSP's libhardware

I just cloned libhardware from https://android.googlesource.com/platform/hardware/libhardware/ how do I build shared library out of this.

I tried using below command, ndk-build APP_BUILD_SCRIPT=Android.mk NDK_PROJECT_PATH=. but i see this message "Android NDK: WARNING: There are no modules to build in this project!"

Upvotes: 1

Views: 1077

Answers (1)

iamantony
iamantony

Reputation: 1395

Personally, I did not try to build libhardware standalone. I downloaded full AOSP project and build it using official guide. Yes, it will take a lot of time, but finally you get all libraries including libhardware :)

Upvotes: 1

Related Questions