Commit graph

36 commits

Author SHA1 Message Date
Sigmund Cherem b18c5a3e7c sdk files reorganization to make dart2js a proper package
BUG=
R=brianwilkerson@google.com, floitsch@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1212513002.
2015-06-29 10:21:14 -07:00
Natalie Weizenbaum 3d8c06c4e9 Start pulling pub from its own repo.
Pub now lives in third_party/pkg/pub (it's in pkg to make it possible to import
using "package:" imports).

R=ricow@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org//1165473002
2015-05-29 14:50:18 -07:00
ricow@google.com bf512c6b32 Don't list pkg/third_party when finding packages
R=kevmoo@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45431 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 20:11:42 +00:00
ricow@google.com f39e0b392a Move dart_style to third_party/pkg_tested
Start testing packages in third_party/pkg_tested

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44064 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-26 18:12:48 +00:00
johnmccutchan@google.com 261200c587 Build Observatory as part of runtime
Relanding https://codereview.chromium.org/810623005/

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42645 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-06 21:59:42 +00:00
whesse@google.com aa5a986d5d Revert "Build Observatory with runtime"
This reverts commit 76df7b3c1bf83c08d3994d61df4c9c530fadb4e5.
This commit breaks dartium compilation.

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42619 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-06 10:07:58 +00:00
johnmccutchan@google.com 9d6ac72b46 1) Remove prebuilt Observatory sources
2) Move observatory from runtime/bin/vmservice/observatory to runtime/observatory

3) Add two tools scripts:
- tools/run_pub.py (runs pub before SDK is built)
- tools/obs_tool.py (helper for get, build, and deploy stages)

4) Build Observatory with runtime:
- pub get --offline
- pub build
- deploy

5) Build artifacts are now in standard output directory, for example, out/DebugIA32/observatory.

6) Add a new 'dart_boostrap' host target (no snapshot, no observatory) that can be used as the Dart executable to run pub when building Observatory. This is behind a build.py flag --use-bootstrap-for-observatory because:

- It is only necessary on older Linux distributions that are incompatible with the prebuilt Dart testing executable.
- running pub build with the boostrap Debug build is significantly slower.

7) Detect if the prebuilt executable doesn't work and automatically switch to the 'dart_bootstrap' executable. Also, warn the user and provide a Wiki link with more information.

R=turnidge@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42614 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-05 21:26:52 +00:00
nweiz@google.com 80e6b5be2c Remove the http package from the repo.
This also does away with the pub_packages build target.

R=ahe@google.com, rnystrom@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42469 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 19:04:04 +00:00
sigmund@google.com 4979504845 Delete polymer from the Dart repo.
Code now lives at: https://github.com/dart-lang/polymer-dart

Bots covering the polymer tests can be seen at:
build.chromium.org/p/client.dart.packages/console

Or to filter just the polymer bots:
build.chromium.org/p/client.dart.packages/console?builder=packages-windows-polymer-dart&builder=packages-linux-polymer-dart&builder=packages-mac-polymer-dart

R=jakemac@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42461 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 17:22:53 +00:00
johnniwinther@google.com 09fbe78e71 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
johnniwinther@google.com 8637cfd322 Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
This reverts commit r41512.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com 2b336e17f0 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +00:00
ahe@google.com 765abfd7a5 Fix dependencies in pkg.gyp.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40492 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 10:29:24 +00:00
nweiz@google.com b92dcc79cc Code review for r38255
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39215 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 19:18:30 +00:00
nweiz@google.com 12de4d61c8 Add a GYP dependency from pub_packages onto pkg_files:http_files_stamp.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39168 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 21:52:28 +00:00
ricow@google.com 418a550d1c Add package links for the observatory and enable testing
This will make them run on the vm bots, not the pkg bots (I can move them if need be by changing the exclude filter, but I assume you want full vm coverage for this? )

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39021 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 07:47:44 +00:00
nweiz@google.com 078f1c25c4 Work around a Gyp bug by creating a stamp file for the http package.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38263 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 22:54:57 +00:00
nweiz@google.com d8663eeeda Create a separate packages directory for running pub.
Once issue 6943 is fixed, the http package will start using pub's
cross-platform library support to work with both dart:io and
dart:html. However, this package is also used *within* pub, so we need
a way for pub to import it that doesn't require it being run through
pub.

This change supports this by stripping out and dart:html imports from
the http package and creating a special packages directory only used
by pub that uses this modified version.

BUG=20068
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38255 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 20:28:08 +00:00
ahe@google.com a9983b0399 Packages for Try Dart and dart2js.
package:compiler and package:try.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37437 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-18 06:43:12 +00:00
sigmund@google.com 73e23be2b6 Bring back initPolymer, allow boot.js only if using "polymer_experimental.html".
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36578 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 18:30:52 +00:00
ricow@google.com dcf45d898e Fix mac gyp generation by moving target to seperate file.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35256 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 13:01:48 +00:00
ricow@google.com 5080e18fc4 Create targets for dart2js files, pub files, pkg files.
We are seeing issues on mac 10.7 where the list of inputPaths in xcode files becomes to long (this is also dependent depth of your build directory).
The build silently fails without giving any error.

BUG:18333

Also see:
http://build.chromium.org/p/client.dart/builders/dart2js-safari-mac10.7-1-3-be/builds/4640/steps/Build%20SDK/logs/stdio

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35255 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 11:34:13 +00:00
sigmund@google.com 92ebcc30c7 Fixes all canonicalization problems... all of them. Ok, not all of them, but at
least it should address the many issues people have been hitting.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29137 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:34:35 +00:00
jmesserly@google.com d1f780df0b move html5lib code into dart svn repo
also gets the tests running

Changes to scripts:
* pkg/pkg.gyp: add 'third_party' to list of folders to search
* tools/publish_pkg.py: update copyright year
* tools/publish_all_pkgs.py: also include pkg/third_party

Changes to html5lib:
* pubspec.yaml -- removed versions
* README.md -- removed some historical notes
* added html5lib.status
* test/browser -- rename browser_tests to browser_test so test framework finds it
* test/parser_test.dart, test/parser_feature_test.dart -- moved dart:io test into parser_test so parser_feature_test can work in browser
* test/support.dart -- now finds the data folder relative to entry point script
* test/support.dart -- rename "pathos" import to "path"

Not changed:
* ./test/run.sh still works for testing, in addition to ./tools/test.dart

R=dgrove@google.com, ricow@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26152 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:59:46 +00:00
ricow@google.com 2d4a78cec3 Only use one action to create links.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25920 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 10:19:39 +00:00
efortuna@google.com f1ca162781 Add markdown to third_party/pkg
BUG=
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24807 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 17:43:43 +00:00
ricow@google.com 93e817b16c Add packages as a dependency for dart2js target
Since dartdoc depeneds on packages and we include it in the snapshot we need packages as a depenedency.

Currently tools/build.py -mrelease dart2js is broken if you do a clean build.

R=ahe@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23804 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 11:57:06 +00:00
alanknight@google.com 56324ae4d8 pkg.gyp causes dartium build failure on windows
Review URL: https://codereview.chromium.org//11511017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15947 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 05:57:04 +00:00
ahe@google.com 46c1741645 Have list_pkg_directories.py print something.
Review URL: https://codereview.chromium.org//11478021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15840 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 09:54:26 +00:00
alanknight@google.com a6c56f84cb Create mock pub links for all packages under pkg, not a hard-coded list
Review URL: https://codereview.chromium.org//11444015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15811 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 22:09:34 +00:00
dgrove@google.com ab13795554 remove htmlescape.
TBR=efortuna@google.com
Review URL: https://codereview.chromium.org//11415241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15610 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 23:04:17 +00:00
ahe@google.com e85ec5ce4a Fix package root deps to avoid cyclic dependencies when following symlinks.
Review URL: https://codereview.chromium.org//11316269

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15573 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 11:07:07 +00:00
ahe@google.com 31d6cd05b7 Add dependency on make_links.py.
Review URL: https://codereview.chromium.org//11411064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15071 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 11:39:03 +00:00
ahe@google.com f4ca9548c9 Allow tests to specify a package root.
Use a shared package root if none is specified.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15070 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 11:35:57 +00:00
ahe@google.com 88a921030d Revert "Allow tests to specify a package root."
Revert "Add dependencies for bots that doesn't build everything."

This reverts r15066 and r15064.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15068 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 10:42:55 +00:00
ahe@google.com 89cc5a2d23 Allow tests to specify a package root.
Use a shared package root if none is specified.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15064 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 09:51:17 +00:00