Commit graph

16 commits

Author SHA1 Message Date
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
Ryan Macnak 08cfd68263 [build] Don't add a device to the source tarball.
Change-Id: I6c4b22879e65d61c8585e91113f2b914ebe897ee
Reviewed-on: https://dart-review.googlesource.com/59800
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2018-06-11 21:16:47 +00:00
Ryan Macnak 86db7810ba [build] Declare dependency of the version strings on the current Git commit.
Add fake Git reflog to Debian source tarball.

Bug: https://github.com/flutter/flutter/issues/15348
Bug: https://github.com/dart-lang/sdk/issues/32614
Change-Id: Ib4104a98cf245ee11285a37d5eee3165ca656645
Reviewed-on: https://dart-review.googlesource.com/48091
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2018-06-11 18:22:09 +00:00
William Hesse a4d2d87238 Include checked-in SDK in Debian source package for Dart
Dart will no longer bootstrap without a checked-in executable.
BUG=https://github.com/dart-lang/sdk/issues/31097
R=zra@google.com,ahe@google.com

Change-Id: I052388d94d5d4a5587f842428cc0f8912ebfacd0
Reviewed-on: https://dart-review.googlesource.com/13780
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2018-01-08 12:46:12 +00:00
William Hesse 2573093c50 Switch to downloaded SDK executable, drop executables in testing/bin.
BUG=https://github.com/dart-lang/sdk/issues/24311
R=ricow@google.com

Review URL: https://codereview.chromium.org/1697203002 .
2016-02-15 17:10:59 +01:00
William Hesse 0c88126f7d Add download of the stable SDK from gcloud to the gclient hooks in DEPS.
This will be used for the observatory build, and to replace testing/bin.

BUG=https://github.com/dart-lang/sdk/issues/24053
R=iposva@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//1322753005 .
2015-09-02 13:11:42 +02:00
Rico Wind 74759d5771 Remove GetSVNRevision from tools/utils.py
Also change all callsites to use git.

I have a pending request to Vijay for info on what tools/dartium/deploy_aar.py is for.

BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1166743005
2015-06-08 14:56:58 +02:00
Rico Wind 8880dcadd8 Don't assume integer revision in linux distribution scripts
TBR=sgjesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1147643002
2015-05-17 09:47:41 +02: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
sgjesse@google.com 55756c6b9f Add default tar file name for source tarball
This makes it easier to test locally.

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34873 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 11:49:15 +00:00
ricow@google.com be5dd61c7f Initial refactorings to support archiving the src and debian package builds.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33747 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 14:11:20 +00:00
ricow@google.com 26cdbae69e Fix missing comma in create_tarball.py
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33429 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 14:22:57 +00:00
sgjesse@google.com 8974a5c7fe Don't include the builddir in the source tarball
A previous change invalidated the check for skipping the builddir when
creating the source tarball.

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32497 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 13:22:03 +00:00
sgjesse@google.com 0ce6644b69 Remove the embedded license copy in tarball creation script
R=ricow@google.com
BUG=http://dartbug.com/16582

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32486 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 08:49:22 +00:00
sgjesse@google.com d9c1b07b6c Address additional comments to tarball creation script
R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32418 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 12:03:47 +00:00
sgjesse@google.com 8128bd9373 Add script for generating a source tarball and rules for bilding a Debian package
R=ricow@google.com, kusternamm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32359 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 14:37:45 +00:00