Commit Graph

12 Commits

Author SHA1 Message Date
Alexander Thomas b5c63ce757 [infra] Migrate scripts to python3
* Migrate to python3; drop python support.
* Update Windows toolchain support.
* Remove some unused methods.
* Python 2.7 is still needed on Windows.
* Update gsutil to a version that supports python3.

Fixes: https://github.com/dart-lang/sdk/issues/28793

TEST=Manually tested common user journeys.

Change-Id: I663a22b237a548bb82dc2e601e399e3bc3649211
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192182
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2021-04-15 10:10:20 +00:00
Alexander Thomas 1e5b0182ca [infra] Remove obsolete buildbot paths/terms
https://github.com/dart-lang/sdk/issues/42247

Change-Id: Ia0b19677c655bc768f00be77df8b0162ac9e7bea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150629
Auto-Submit: Alexander Thomas <athom@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2020-06-10 20:59:46 +00:00
Nate Bosch 55f81f2210 Mass format python with yapf
- Add `.style.yapf` with configuration to use Google style.
- Run `yapf` on all `.py` files in this repo.
- Manually fix one trailing space in a doc string.
- Run `git cl format runtime` to satisfy presubmit.

Change-Id: I7e6bd11e91f07926b9188362599af398551eed79
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111600
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-08-05 20:34:31 +00:00
terry@google.com ecceb75d35 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

Committed: https://code.google.com/p/dart/source/detail?r=39948

Review URL: https://codereview.chromium.org//444743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40026 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 13:18:24 +00:00
terry@google.com ac72bce2f1 "Reverting 39948"
BUG=

Review URL: https://codereview.chromium.org//554853002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39999 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 20:58:19 +00:00
terry@google.com cf0c6a3565 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//444743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39948 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 02:33:50 +00:00
whesse@google.com 82c29cbb7a Avoid regenerating unchanged bindings files for Dartium.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//69343006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30192 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 12:44:24 +00:00
kustermann@google.com ad95ee86e2 Make multiple attempts to write binding files to disc
Our dartium-win builders are currently flaky on the compile step. Sometimes
we're not able to write the generated dart bindings to disc (we get an IOError:
Permission denied).

This change makes sure we do multiple attempts for writing out the generated
files before we give up. Hopefully we can eliminate this hack as soon as we
found the root cause.

TBR=efortuna@google.com

Review URL: https://codereview.chromium.org//18676003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24772 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-04 11:55:19 +00:00
kustermann@google.com 5937290e27 Enabling logger information for multiemitter.py and add more debug information
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//18326018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24725 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 13:59:13 +00:00
kustermann@google.com d06e9eb36e Catch IOError instead of OSError
TBR=ricow@google.com

Review URL: https://codereview.chromium.org//18541003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24692 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 15:29:08 +00:00
kustermann@google.com a63d13556c Adding debug information to multiemitter.py
Our win-dartium builders are flaky. Very often the compilation fails because
dartdomgenerator.py gets an "IOError: [Errno 13] Permission denied" error.

This is an attempt to get more insight into which other processes have
the file open at the same time.

R=antonm@google.com

Review URL: https://codereview.chromium.org//18534002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24688 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 14:39:07 +00:00
efortuna@google.com 01fb2bbc86 Moved most of html lib generating scripts into tools.
BUG=

Review URL: https://codereview.chromium.org//11691009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16557 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 22:26:48 +00:00