commit | 848f07a68833dc924c41fea286db37e1b4ba8c66 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Thu Mar 30 03:42:11 2023 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Thu Mar 30 05:57:43 2023 +0000 |
tree | 9c6394ec05ce64aeb74a3aa4652230004cc3f83d | |
parent | 1790a15c4908dc120ff8f4815d4904d420780aec [diff] |
make: Add support for whole archives Add two new module flags for whole archive support: * MODULE_USE_WHOLE_ARCHIVE specifies that the current module should be linked with --whole-archive * MODULE_WHOLE_ARCHIVES lists extra prebuilt archives that also need --whole-archive Bug: 275620340 Test: com.android.trusty.binderRpcTest with clang-r475365b Change-Id: I1d30cfa42d8045f471a5d67a38588ca8d0b29116