diff options
author | Jerome Gaillard <jgaillard@google.com> | 2019-03-11 16:27:14 +0000 |
---|---|---|
committer | Jerome Gaillard <jgaillard@google.com> | 2019-03-11 16:27:14 +0000 |
commit | 73d9ed3bf28330006e324d634e6b5b9414a3f701 (patch) | |
tree | 3709c9aa7f5ca32616cc0797fdddb3057ddc20d3 /Android.bp | |
parent | d9d4fe0f3eecdee619433e3ad4ff24bd1f0d0cdc (diff) | |
download | compiler-rt-73d9ed3bf28330006e324d634e6b5b9414a3f701.tar.gz |
Enable libcompiler_rt on Windows
This allows building libcompiler_rt for Windows, which is necessary to
build a native version of layoutlib.
This removes libunwindbacktrace and libunwind_static from the static
libraries, as they do not build on Windows and do not appear necessary
for libcompiler_rt.
Test: lunch sdk && make libcompiler_rt
Change-Id: I265fafb66d1e8213a10ab023df8e7256d5ab7831
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp index 4191d9259..b8be74026 100644 --- a/Android.bp +++ b/Android.bp @@ -404,7 +404,7 @@ cc_library { shared_libs: ["liblzma"], }, windows: { - static_libs: ["libunwindbacktrace", "libunwind_static"], + enabled: true, // Only build enable_execute_stack.c on non-Windows hosts. exclude_srcs: ["lib/builtins/enable_execute_stack.c"], }, |