diff options
author | Ivan Lozano <ivanlozano@google.com> | 2021-03-23 15:53:44 -0400 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2021-03-25 13:50:17 -0400 |
commit | 63bb7680c93655bdb54c79dd34b7fea64d85e3d8 (patch) | |
tree | a61f55256c59a804f2b7a1a078c34e32422f01d2 /sdk/java_sdk_test.go | |
parent | 6400f204300c82e37e2cedf696f9f1751c24a049 (diff) |
rust: Add whole_static_libs, revert static_lib
Revert the static_lib behavior to the previous behavior (pass static
libs to the linker rather than via to rustc using `-lstatic=<lib>`). To
bundle static libraries into libraries, provide the whole_static_libs
property which retains the current static_libs behavior.
Passing all static libraries via -lstatic was resulting in odd bloat
where in some cases static symbols were duplicated in binaries and
libraries. This split makes it possible to be explicit about when static
libraries should be bundled.
Bug: 183182230
Test: mma system/bt; mma system/security/keystore2; mma external/rust
Change-Id: Ic2dde5d1542dca5ce145aa3a3fbd9ea54440d991
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions