dart-sdk/build
Robert Nystrom e919e89d0b Add an "--nnbd" flag to build.py.
This treats whether or not to use the forked NNBD SDK as a build flag
similar to mode or architecture. When this flag is passed, it appends
"NNBD" to the main output directory, like xcodebuild/ReleaseX64NNBD.

It also defines a "use_nnbd" flag that is available inside BUILD.gn
files to determine whether or not to use the forked SDK. This flag
currently isn't used. Implementation teams will need to edit their
build steps to take that into account.

In order to use this mode on the bots, we'll need to tweak the bot
scripts to figure out whether the mode is enabled or not. There are a
couple of TODOs in the Python scripts for that. I'm not sure how that
should be specified in dart_sdk.py.

This CL does not remove my previous change to allow building the NNBD
fork next to dart-sdk in the same root output directory. I'll revert
those changes in a different CL once this one lands.

Change-Id: I3bd28f273106ee90caf9474b2fadad120b2c2d0b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119602
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-10-03 00:11:32 +00:00
..
config Add an "--nnbd" flag to build.py. 2019-10-03 00:11:32 +00:00
dart [build] Remove dart_host_toolchain. 2019-09-27 21:14:11 +00:00
linux Mass format python with yapf 2019-08-05 20:34:31 +00:00
mac Mass format python with yapf 2019-08-05 20:34:31 +00:00
rust [vm] Add wasmer to third_party, and support building rust libraries 2019-08-20 16:56:10 +00:00
sanitizers Fixed some links 2019-07-01 16:21:41 +00:00
secondary/third_party/android_tools [build] Add //third_party/android_tools BUILD file needed by zlib 2018-10-24 18:39:36 +00:00
toolchain Mass format python with yapf 2019-08-05 20:34:31 +00:00
win Mass format python with yapf 2019-08-05 20:34:31 +00:00
.gitignore [build] Move to Jessie sysroots from Wheezy sysroots. 2018-10-25 15:05:22 +00:00
detect_host_arch.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
executable_suffix.gni Fix builds targeting Android from a Windows host gen_snapshot. 2019-06-07 00:49:33 +00:00
gn_helpers.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
gn_run_binary.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
README.dart.md Reland: [Windows] Update toolchain to MSVC 2017 2017-09-28 09:25:37 +00:00
vs_toolchain.py Mass format python with yapf 2019-08-05 20:34:31 +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 independantly by the Dart team. It is used to support the GN build system.