diff options
author | Emilian Peev <epeev@google.com> | 2019-01-29 11:06:19 -0800 |
---|---|---|
committer | Emilian Peev <epeev@google.com> | 2019-02-05 09:29:08 -0800 |
commit | 57d75ecd5bc1c94c4483cff98aa9fb28a05f2ea5 (patch) | |
tree | c59b7d18b0f5c5194a8e2d5ff24920f8c278f238 | |
parent | 1e337179334c74429e91531d26afdf380a1d437b (diff) | |
download | modp_b64-57d75ecd5bc1c94c4483cff98aa9fb28a05f2ea5.tar.gz |
Add an NDK library variant
An NDK built static variant is needed for
clients that build against the NDK.
The new library will not be part of the
NDK public interface.
Bug: 123237859
Test: Camera CTS
Change-Id: I379ce9c27c34d54048f4a0f1c3d0b4fadb6abc7e
-rw-r--r-- | Android.bp | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -26,3 +26,18 @@ cc_library_static { local_include_dirs: ["modp_b64"], export_include_dirs: ["."], } + +cc_library_static { + name: "libmodpb64_ndk", + vendor_available: false, + srcs: ["modp_b64.cc"], + + cflags: [ + "-Wall", + "-Werror", + ], + local_include_dirs: ["modp_b64"], + export_include_dirs: ["."], + sdk_version: "current", + stl: "c++_static", +} |