diff options
author | Jayant Chowdhary <jchowdhary@google.com> | 2017-05-22 12:43:37 -0700 |
---|---|---|
committer | Jayant Chowdhary <jchowdhary@google.com> | 2017-05-22 12:43:41 -0700 |
commit | cf662e32ab32046705d1048c7f46576e6061246f (patch) | |
tree | 393fa911f7ecafa18523481453eb7ec50e530b14 /lib | |
parent | e0b553c6a8733b0569b9fa228f623da904ff649e (diff) | |
download | llvm-cf662e32ab32046705d1048c7f46576e6061246f.tar.gz |
Make llvm libs export headers.
libLLVM depends on a number of static libraries built from
platform/external/llvm/lib. Make these export headers in order to help
header-abi-dumper to filter out the abi exported by these libraries.
header-abi-dumper's performance improves as it can now avoid recursing
into all the AST nodes which are not exported by these libraries.
This also improves header-abi-linker's performance when it has to combine
the abi dumps from these static libraries into libLLVM's abi dump.
Test: mm -j64.
Change-Id: I70ae2606ab23c778e24d9d465a2e3cde04a0112f
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Android.bp b/lib/Android.bp index 974a44703664..33b2cf28c297 100644 --- a/lib/Android.bp +++ b/lib/Android.bp @@ -1,6 +1,7 @@ cc_defaults { name: "llvm-lib-defaults", defaults: ["llvm-defaults"], + export_header_lib_headers: ["llvm-headers"], target: { windows: { enabled: true, |