dart-sdk/build/toolchain
Tess Strickland 9df6656aa9 [build] Re-add linker flags to create empty section in AOT runtime.
To avoid these flags being applied to unexpected build rules, we
separate them out into a separate config that is then pulled in
explicitly in the `dart_precompiled_runtime{,_product}` executable
rules. Only those two executables need the additional empty section:
the product version because it becomes `dartaotruntime` in the SDK
bundle, and the non-product version because some of our tests build
standalone executables using it.

The linker flags were originally removed due to
https://github.com/flutter/flutter/issues/112687.
With the recent removal of bitcode support from Flutter (see
https://github.com/flutter/flutter/issues/107883), I can build
the `ios_release` target locally without any issue.

This also reverts the clang DEPS changes from CL 256208 (again).

TEST=pkg/dartdev/test/commands/compile_test

Bug: https://github.com/dart-lang/sdk/issues/49783
Cq-Include-Trybots: luci.dart.try:analyzer-mac-release-try,dart-sdk-mac-arm64-try,dart-sdk-mac-try,pkg-mac-release-arm64-try,pkg-mac-release-try,vm-kernel-precomp-mac-product-x64-try,vm-kernel-precomp-nnbd-mac-release-arm64-try
Change-Id: Ie46402ec2eeda23109247eb9d7a64935ec2052cb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262429
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2022-10-07 09:26:18 +00:00
..
android [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
fuchsia [vm] Fuchsia arm64 build 2020-12-10 12:15:17 +00:00
linux [build] Fix building on an ARM64 Linux host. 2022-03-22 00:50:18 +00:00
mac [build] Re-add linker flags to create empty section in AOT runtime. 2022-10-07 09:26:18 +00:00
win [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
ccache.gni Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
gcc_toolchain.gni Revert "[vm/build] Workaround for ld 2.19 crash on ARM" 2020-12-11 21:49:11 +00:00
get_concurrent_links.py [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
goma.gni [build] GN flag to use relative symlink to Xcode 2020-03-19 08:33:17 +00:00