dart-sdk/build/config
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 Reland "[build] Fix Android build for ARM64 Mac." 2022-05-10 16:11:53 +00:00
clang [build] Re-add linker flags to create empty section in AOT runtime. 2022-10-07 09:26:18 +00:00
compiler [build] Re-add linker flags to create empty section in AOT runtime. 2022-10-07 09:26:18 +00:00
gcc [build] Remove absolute paths from object files and vm_platform.dill. 2018-06-28 18:21:27 +00:00
linux Enable Large File Support extension (LFS) 2022-06-08 19:55:22 +00:00
mac [build] Raise minimum mac SDK version to 10.13 to reduce build warnings 2021-04-27 10:37:30 +00:00
sanitizers [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
templates Remove use of set_sources_assignment_filter 2020-10-08 20:08:59 +00:00
win [build] Toolchain setup for ARM64 Windows. 2022-04-20 17:21:58 +00:00
arm.gni GN: Format more gn files 2016-10-27 04:25:34 -07:00
BUILD.gn Format GN files and add a presubmit check that GN is properly formatted 2016-10-26 08:50:54 -07:00
BUILDCONFIG.gn [build] Toolchain setup for ARM64 Windows. 2022-04-20 17:21:58 +00:00
host_byteorder.gni Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
locales.gni Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
sysroot.gni [build] Downgrade Linux sysroots from bullseye to stretch. 2022-08-10 06:23:10 +00:00