aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Litvin <andreilitvin@google.com>2017-06-08 17:03:21 -0400
committerAndrei Litvin <andreilitvin@google.com>2017-06-08 17:17:22 -0400
commit74c816f8f20136b4f2a26167ab527e32d15bc59e (patch)
treeb8e187ae288f437bfb945d49ab6077d17297e675
parent91ebe5d75039bce22610f2d1a5834f465cb4b40a (diff)
downloadeigen-74c816f8f20136b4f2a26167ab527e32d15bc59e.tar.gz
Allow host builds to use the eigen library.
Test: compile AOSP ChangeId: 481d0b70783ff52c5a7518125915abd8938911b6
-rw-r--r--Android.bp1
-rw-r--r--blas/Android.bp1
2 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 2c7c317c7..78a86fb7d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -15,6 +15,7 @@
cc_library_headers {
export_include_dirs = [ "." ],
name: "libeigen",
+ host_supported: true,
}
subdirs = ["blas"]
diff --git a/blas/Android.bp b/blas/Android.bp
index db0e4daed..16d2f44a1 100644
--- a/blas/Android.bp
+++ b/blas/Android.bp
@@ -48,6 +48,7 @@ cc_defaults {
cc_library_static {
name: "libF77blas",
defaults: ["eigen-defaults"],
+ host_supported: true,
}
// Build Eigen using API 9 toolchain for RS Support lib.