diff options
author | Miao Wang <miaowang@google.com> | 2017-07-18 16:59:08 -0700 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2017-07-26 03:55:10 +0000 |
commit | 7ca694a42d6b0794c9ec4b513fe1abe20eb09e2c (patch) | |
tree | 08f659fe1f92d26d276ef886f9a16a92ac51d344 /Android.bp | |
parent | 9f9f0a7fb40cc12913c5da5015367e772401b3b6 (diff) | |
download | gemmlowp-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.bp | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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"] |