aboutsummaryrefslogtreecommitdiff
path: root/lib/Android.bp
diff options
context:
space:
mode:
authorDavid Sehr <sehr@google.com>2018-12-17 17:55:44 -0800
committerDavid Sehr <sehr@google.com>2018-12-17 17:55:44 -0800
commite5dfc9a720938d8aa503c80b7031df328d58ff46 (patch)
tree3afb32e11a958f7a7d3e9c8e6c8f79bb53a30dc7 /lib/Android.bp
parent8bd741837f08278acf1ef290272475982c15414d (diff)
downloadlz4-e5dfc9a720938d8aa503c80b7031df328d58ff46.tar.gz
Build static library for Windows
Enable building a static library for windows, to be used to build some ART tools there. Bug: none Test: none Change-Id: Ib249c7881ab330405217c56922aecfd5f89de70d
Diffstat (limited to 'lib/Android.bp')
-rw-r--r--lib/Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Android.bp b/lib/Android.bp
index 6426af1a..9cf24181 100644
--- a/lib/Android.bp
+++ b/lib/Android.bp
@@ -7,6 +7,14 @@ cc_library {
enabled: true,
},
host_supported: true,
+ target: {
+ windows: {
+ enabled: true,
+ shared: {
+ enabled: false,
+ },
+ },
+ },
srcs: [
"lz4.c",
"lz4hc.c",