dart-sdk/build
Joseph Richey 86fe7ca75c Fix build when python=python3
Right now most of the dart SDK's python is compatible with python2
or python3. This change fixes a few of the build scripts to make
that completely true (at least when building the standard build on
Linux). There are only four types of changes:
  - Bare `print` statements now use the `print ()` function
  - `commands.getoutput` becomes `subprocess.check_output` with `shell=True`
  - `xrange` becomes `range`
  - `print >> sys.stderr` becomes `sys.stderr.write`

Starts work on addressing (but does not completely fix):
https://github.com/dart-lang/sdk/issues/28793

See related issue:
https://fuchsia-review.googlesource.com/c/fuchsia/+/272925

This change applys to both the `dev` and `master` branches.

Change-Id: Ibd3eb9b1f57520d2d745f05c2ac430b1d20943da

Closes #36662
https://github.com/dart-lang/sdk/pull/36662

GitOrigin-RevId: beab165294982a7e369daf6d61aea63efcab1b9b
Change-Id: I6d240749a9ba0889b5a45a08f3c4c2c20291f484
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99707
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2019-04-23 07:48:15 +00:00
..
config Revert "[vm/build] Expose is_release/is_profile so they are available in third_party gn scripts." and different fix. 2019-04-03 17:06:47 +00:00
dart Fix build rule. 2018-10-03 20:25:36 +00:00
linux [infra] Make gclient sync quiet when nothing is updated. 2019-03-01 13:02:23 +00:00
mac [infra] Begin removing gyp 2017-08-04 22:19:35 -07:00
sanitizers [infra] Begin removing gyp 2017-08-04 22:19:35 -07: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 [vm] Integrate dart binary with Crashpad on Windows. 2018-10-24 13:30:16 +00:00
win [infra] Begin removing gyp 2017-08-04 22:19:35 -07:00
.gitignore [build] Move to Jessie sysroots from Wheezy sysroots. 2018-10-25 15:05:22 +00:00
detect_host_arch.py [infra] Use Clang for ia32 and arm64. Use the dl'd sysroots by default. 2017-12-02 06:19:33 +00:00
executable_suffix.gni Don't depend on dart_bootstrap if there is a usable prebuilt sdk 2016-11-10 11:16:24 -08:00
gn_helpers.py [toolchain] Update Windows VS toolchain to current Chromium one. 2018-09-26 17:09:36 +00:00
gn_run_binary.py Fix build when python=python3 2019-04-23 07:48:15 +00:00
README.dart.md Reland: [Windows] Update toolchain to MSVC 2017 2017-09-28 09:25:37 +00:00
vs_toolchain.py [toolchain] Update Windows VS toolchain to current Chromium one (18fbbd3). 2018-11-18 22:06:49 +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.