diff options
author | 2017-02-15 02:53:43 +0000 | |
---|---|---|
committer | 2017-02-15 10:05:59 +0000 | |
commit | 695b80e63db8c97eccd14d0a1b04d48c14b3e4aa (patch) | |
tree | e85d929599bef0c528f938d98c554bbeb2bbdcbb /scripts | |
parent | e851fe29cc5b13cae3cae383c548e86c150a93fe (diff) |
CrosstoolCompilationSupport can be used for multi-arch binaries by allowing a configuration to be passed into the cc backend and used to scope output artifacts.
Artifacts involved:
(1) Object files: see change in CppHelper, CppModel, CppCompileActionBuilder
(2) Archive files: see change in CppModel
(3) Archive objfile list: see change in ObjcVariablesExtension.
Other little things that needed to be cleaned up to enable this:
(1) neverlink set on objc archive actions. Without neverlink, colliding solib artifacts are generated from the two archives arising from the multi-arch split.
(2) Toolchain selection in CrosstoolCompilationSupport uses passed-in configuration instead of :cc_toolchain attribute. This allows for each of the compiles spawned from apple_binary.srcs to select the correct toolchain based on the child configuration.
--
PiperOrigin-RevId: 147550618
MOS_MIGRATED_REVID=147550618
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions