From 7ca694a42d6b0794c9ec4b513fe1abe20eb09e2c Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Tue, 18 Jul 2017 16:59:08 -0700 Subject: 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 --- Android.bp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Android.bp') 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"] -- cgit v1.2.3