libnl: build static library

android-clat needs a static libnl, so build a static library.  To
avoid building everything twice, build the static library first
and then use LOCAL_WHOLE_STATIC_LIBRARIES to build a shared library.

Also use LOCAL_EXPORT_C_INCLUDE_DIRS to avoid each module that builds
against libnl to have to import its include dir, and remove the
unnecessary LOCAL_MODULE_TAGS.

Change-Id: Ib78e89e916c402787ba3f801bdf8400cbf0d784a
1 file changed