aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2017-07-18 16:59:08 -0700
committerMiao Wang <miaowang@google.com>2017-07-26 03:55:10 +0000
commit7ca694a42d6b0794c9ec4b513fe1abe20eb09e2c (patch)
tree08f659fe1f92d26d276ef886f9a16a92ac51d344 /Android.bp
parent9f9f0a7fb40cc12913c5da5015367e772401b3b6 (diff)
downloadgemmlowp-7ca694a42d6b0794c9ec4b513fe1abe20eb09e2c.tar.gz
Make gemmlowp properly support host modules.
- ANDROID is set on all compiles in the android tree; __ANDROID__ is set when targeting an android device - gemmlowp should only be checking __ANDROID__ when including android/api-level.h - Also removes obsolete / duplicated files. Test: mm Test: nnapi_example tests all pass Change-Id: I4f52860ed36b01194c66c5fb7622721407656fc0
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5e20eb9..ac93eb2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,4 +12,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+cc_library_headers {
+ name: "libfixedpoint",
+ host_supported: true,
+ export_include_dirs: ["fixedpoint"],
+}
+
+cc_library_headers {
+ name: "libgemmlowp",
+ host_supported: true,
+ export_include_dirs: ["public"],
+}
+
subdirs = ["eight_bit_int_gemm"]