dart-sdk/build
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
..
config [build] Re-add linker flags to create empty section in AOT runtime. 2022-10-07 09:26:18 +00:00
dart [infra] Upgrade checked-in SDKs to 2.18.0-271.0.dev 2022-07-15 04:48:41 +00:00
fuchsia [build] Add support for building for Fuchsia from Mac. 2021-10-13 21:14:56 +00:00
linux [build] Downgrade Linux sysroots from bullseye to stretch. 2022-08-10 06:23:10 +00:00
mac Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
rust [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
sanitizers [infra] Fix OWNERS files 2022-03-03 09:56:33 +00:00
secondary/third_party [build] Add stub for third_party/android_tools for updated zlib. 2021-02-05 03:53:42 +00:00
toolchain [build] Re-add linker flags to create empty section in AOT runtime. 2022-10-07 09:26:18 +00:00
.gitignore [misc] Generalize .gitignore for sysroots 2022-08-17 07:22:12 +00:00
detect_host_arch.py [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
executable_suffix.gni
find_depot_tools.py [infra] Update windows build and toolchain setup python scripts. 2022-08-03 16:30:56 +00:00
gn_helpers.py Fix gn helper script to create *valid* strings for settings containing backslashes. 2021-05-19 12:35:16 +00:00
gn_run_binary.py [build] Make app snapshot build failures copy/pastable. 2021-10-14 11:51:32 +00:00
OWNERS [infra] Give VM engineers OWNERS over tools/gn.py et al. 2022-04-25 17:47:23 +00:00
README.dart.md fix(docs): corrects common typos in project documentation 2021-05-18 15:48:18 +00:00
vs_toolchain.py [infra] Update windows build and toolchain setup python scripts. 2022-08-03 16:30:56 +00:00

This directory was taken from a snapshot of flutter/engine/src/build/.

The snapshot was taken with a recursive copy cp -R of the directory from the flutter repository.

The contents has now diverged significantly from Flutter, and is maintained independently by the Dart team. It is used to support the GN build system.