Commit Graph

26 Commits

Author SHA1 Message Date
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
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
Morten Krogh-Jespersen 5862a92160 Adding write-result-log output to bots.py.
Change-Id: I57bbfa48fc204af63f12632f8b0a42a90a5b751c
Reviewed-on: https://dart-review.googlesource.com/5200
Reviewed-by: William Hesse <whesse@google.com>
2017-09-12 14:00:11 +00:00
William Hesse 9f3b5d8680 Update observatory_tool.py to remove package-root
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2346483007 .
2016-09-19 10:11:31 +02:00
William Hesse 81f2226225 Change SDK builder bot to use sysroots when compiling
BUG=https://github.com/dart-lang/sdk/issues/27048
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/2231073002 .
2016-08-10 17:28:21 +02:00
William Hesse 6c8a1a7f87 Increase timeout for analysis_server tests in debug mode.
BUG=https://github.com/dart-lang/sdk/issues/24596
BUG=https://github.com/dart-lang/sdk/issues/24597
R=ricow@google.com

Review URL: https://codereview.chromium.org/1399243006 .
2015-10-15 15:08:40 +02:00
Natalie Weizenbaum 49948accad Run pub tests on the pub bots.
The pub bot script just runs the new test runner against the repo versions of
all the packages.

R=whesse@google.com

Review URL: https://codereview.chromium.org//1214343004.
2015-07-07 13:14:22 -07:00
ricow@google.com e92f697236 Remove dart2dart support from testing scripts and status files
I will leave it to the dart2js people to remove the support from the dart2js tools (there is also a bunch of comments still in code, do a git grep)

R=kustermann@google.com, floitsch@google.com, kmillikin@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45588 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-07 11:29:55 +00:00
ricow@google.com 75fc25fbcf Change annotated steps to support the cps based dart2js backend
R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45151 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-15 07:53:35 +00:00
ricow@google.com 78eccc256e Add support for running dart2js in batch mode on the bots
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36629 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 11:03:11 +00:00
ricow@google.com bb3d7bddb4 Allow pub bot to continue after failure
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36562 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 10:23:16 +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 c13ee60761 Add annotated steps for src tarball creation bot
This will also include building the debian package, but this is just to get us going.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32410 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 08:13:15 +00:00
ricow@google.com 8b959be6fe Add builder_tag option to tools/test.dart
This will allow us to pass in machine specific tags that describes the setup of a given machine.

Use this to pass in the locale on the pub russian bot and to suppress the two failures we have due to issue 16356

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32061 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 09:55:49 +00:00
kustermann@google.com 19543f0876 Add annotated steps support for dart2js-full-... builders
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31099 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 15:56:16 +00:00
ricow@google.com 6fba467edf Support testing the dart2js compiler on the 64 bit vm
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26343 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 10:25:27 +00:00
kustermann@google.com cb18d8ba87 Removed compiler/ directory from repository
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25728 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 08:31:15 +00:00
kustermann@google.com daee8257bd Add chromeOnAndroid support to the buildbot annotated steps scripts.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23029 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 17:09:49 +00:00
kustermann@google.com 538c35dd52 Added tools/bots/editor.py to build the editor (using gyp/build.py) and run editor tests
Review URL: https://codereview.chromium.org//12450026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20319 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 15:25:38 +00:00
kustermann@google.com 6109ccf605 Quote all arguments when printing test.py command
Review URL: https://codereview.chromium.org//12386047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19293 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 11:31:41 +00:00
ricow@google.com 4d043ab57d Add csp option to annotated steps for dart2js bots
Review URL: https://codereview.chromium.org//12383020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19222 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 13:41:19 +00:00
ricow@google.com e07e058bb9 Remove the mode flag for clobbering - we will now just nuke the complete output directory.
Review URL: https://codereview.chromium.org//11411004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14998 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 07:37:24 +00:00
rnystrom@google.com c606bbda99 Fix copyright for bot scripts.
Review URL: https://codereview.chromium.org//11260052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14238 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 01:17:38 +00:00
efortuna@google.com 8ea5741261 Set up Android build config.
Review URL: https://codereview.chromium.org//11264019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14105 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 22:14:43 +00:00
ricow@google.com 252f09bc40 Testing support for running tests minified in dart2js.
Review URL: https://codereview.chromium.org//11262028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14071 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 12:18:30 +00:00
rnystrom@google.com 9049103355 Add script for pub buildbots.
Also modify annotated_steps to invoke it on the right bots.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14032 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 17:53:06 +00:00