summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2019-01-28 17:53:34 -0800
committerEmilian Peev <epeev@google.com>2019-01-31 14:14:41 -0800
commit531af4faa21e03855e529c273810633e043eb1a0 (patch)
tree7453d6a8a1c2575a82f17fc8b4fe60116506ca28
parent6fbbe14e989f10e17e6d854d5c02dc0c5a24a55c (diff)
downloadimage_io-531af4faa21e03855e529c273810633e043eb1a0.tar.gz
Add an NDK library variant
An NDK built library variant is needed for clients using the NDK toolchain. Bug: 123237859 Test: Camera CTS Change-Id: I431db5cbfd908cc70ff68bc1eb116ad431498497
-rw-r--r--Android.bp20
-rw-r--r--README.android9
2 files changed, 29 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 37b4d9f..b1a9422 100644
--- a/Android.bp
+++ b/Android.bp
@@ -34,3 +34,23 @@ cc_library {
"libmodpb64",
],
}
+
+cc_library_headers {
+ name: "libimage_io_ndk-headers",
+ export_include_dirs: ["includes"],
+ sdk_version: "current",
+}
+
+cc_library_static {
+ name: "libimage_io_ndk",
+ defaults: ["libimage_io-defaults"],
+ vendor_available: false,
+ header_libs: ["libimage_io_ndk-headers"],
+ export_include_dirs: ["includes"],
+ srcs: ["src/**/*.cc"],
+ static_libs: [
+ "libmodpb64_ndk",
+ ],
+ sdk_version: "current",
+ stl: "c++_static",
+}
diff --git a/README.android b/README.android
new file mode 100644
index 0000000..b091b16
--- /dev/null
+++ b/README.android
@@ -0,0 +1,9 @@
+Library Name: Image IO
+License: Apache 2
+Description: This library provides a lightweight interface to the images and metadata contained
+in Depth and AR photos.
+
+Local patches
+-------------
+- Add an NDK library variant.
+