Add linkerconfig to the host exports.

ART runs it on host to create the linker config for its chroot test
environment. This avoids problems building linkerconfig in the reduced
master-art manifest.

Even though linkerconfig currently is in platform/system I'm adding it
to the Bionic module exports based on discussions that the linkerconfig
binary should be part of the Runtime (Bionic) APEX due to its close
ties to the linker.

Test: build/soong/scripts/build-aml-prebuilts.sh runtime-module-host-exports
  then try the prebuilt snapshot with art/tools/buildbot-build.sh in
  master-art
Bug: 162819454
Change-Id: I4d43d7f0b980af48b193d5eb358e4f010eea541b
This commit is contained in:
Martin Stjernholm 2020-08-05 22:26:26 +01:00
parent 159b140661
commit d6e35f1cc8

View file

@ -65,10 +65,14 @@ sdk {
module_exports {
name: "runtime-module-host-exports",
defaults: ["linux_bionic_supported"],
host_supported: true,
device_supported: false,
compile_multilib: "64",
native_binaries: [
"linker",
],
native_binaries: ["linkerconfig"],
target: {
linux_bionic: {
native_binaries: ["linker"],
},
},
}