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
Srujan Gaddam
ad53668be0 Force copy_dart.py to use python2.7
Default `python` installation has been switched to python3.7 on
Mac. copy_dart.py has not been migrated and therefore should
stay as 2.7.

Change-Id: I33991e01850e65f33987a278545babb1f905a94d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149523
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
Auto-Submit: Srujan Gaddam <srujzs@google.com>
2020-05-29 22:57:27 +00:00
Alan Knight
752bbce46f Copy dart:html files to sdk_nnbd automatically and opt out
Change-Id: I78ab534da123afb12a31681b47ba1f2fb9567992
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124202
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Alan Knight <alanknight@google.com>
2019-11-06 23:59:33 +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
whesse@google.com
c7d5711688 Build Tools Cleanup
Cleans up Python Code in Build Tools

TEST: build everything and run tests
BUG: https://code.google.com/p/dart/issues/detail?id=19592

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38573 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 11:47:59 +00:00
lrn@google.com
d334b06602 Remove defunct reference to json.dart in copy_dart.py.
R=floitsch@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29441 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 12:21:46 +00:00
amouravski@google.com
81692cf82d Fix copy_dart to correctly put library comments BEFORE the library directive.
Review URL: https://codereview.chromium.org//12315102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19059 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 17:35:58 +00:00
johnniwinther@google.com
f02c12f3c3 Private libraries used.
Review URL: https://codereview.chromium.org//11973006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17634 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 09:05:22 +00:00
antonm@google.com
89ec5f443e Properly filter out platform libs.
Due to wrong group, URI were in quotes and weirdly named files
like 'dart:json' (quotes belonged to file name!) were created.

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13975 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:22:41 +00:00
antonm@google.com
bf0085caf7 Remove unused function.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13970 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 15:51:28 +00:00
antonm@google.com
e524049060 Switch to new library syntax.
R=podivilov@chromium.org,kasperl@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13962 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:52:27 +00:00
vsm@google.com
59d574c599 Move copy_dart.py from client to tools
Review URL: https://chromiumcodereview.appspot.com//9789004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5941 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:51:20 +00:00
Renamed from client/tools/copy_dart.py (Browse further)