summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Dennis Shen <dzshen@google.com> 2022-08-03 16:46:43 +0000
committer Dennis Shen <dzshen@google.com> 2022-08-18 18:25:19 +0000
commitaf41bc13da0a8b529b0e8d7fca5a6e9354a0f816 (patch)
treedd6724d1cd82877953d10b047f81c700db8a63bf /java/java_test.go
parentae7fe1697cee2638435522c6436e59d84661c699 (diff)
Place native shared libs for soong build DCLA.
Currently, DCLA is built in rapid. With new train build, DCLA will be directly built in soong, just like a regular module, refer to b/239679485. In old rapid built DCLA, native shared libs are placed the following way inside apex: /lib(64)?/foo.so/<sha256 foo.so>/foo.so The sha256 hash is used to differentiate different libs. To ensure the same lib placement in soong built DCLA, three changes are made: (1) in apex.go, added an apex soong module property called dynamic_common_lib_apex to indicate if this apex is a DCLA (2) in builder.go, update apexRule to call into run_apexer binary instead of apexer binary. run_apexer binary is a wrapper of apexer binary. If it is DCLA, the wrapper binary will place the native shared libs in desired location and update canned_fs_config accordingly. TEST: manuualy added this field to adbd. Local build by banchan and then inspect the payload image contensts. All libs are proprely placed. BUG: 241096765 Change-Id: I2a5e7ea75a6e9a7af1932ff7dccb9dc3a3785db9
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions