Commit graph

126 commits

Author SHA1 Message Date
alanknight@google.com 48ff3ccd27 Rename snapshot, other user-visible parts of docgen to dartdocgen.
BUG=
R=ricow@google.com

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41573 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:41:25 +00:00
pquitslund@google.com f187318978 Build bits to add an analysis_server snapshot to the SDK.
NOTE: as per a conversation with Kasper, this does NOT add any executables to the "bin" dir.  In this state the expectation is that the snapshot will be invoked directly via bin/dart.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39391 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-19 23:22:20 +00:00
ricow@google.com f8a56aee18 Don't build dart2js_bot on debug dart2js bots
This is making the bots hit the 20 min timeout

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35882 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-08 06:49:20 +00:00
danrubel@google.com 7606a10444 fix build java based dart analyzer
BUG=idartbug.com/18289
R=jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35665 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 22:12:34 +00:00
danrubel@google.com 521aef0d96 Replace Java based analyzer with Dart based analyzer when building SDK
* include analyzer dart files and snapshot in SDK
* modified bin/dartanalyzer to call dart based analyzer
* removed jar files in utils directory

BUG=dartbug.com/18289
R=ricow@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35604 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-30 23:09:14 +00:00
ahe@google.com e3da0436be Change target name to avoid conflict in Makefile generator
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34552 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 11:35:55 +00:00
ahe@google.com 0537f81d5f Restore create_sdk target
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34551 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 11:25:50 +00:00
ahe@google.com 3dff26042f Extract create_sdk build rule to own file to avoid cycle.
Also, build Try Dart on dart2js build bots.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34550 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 10:59:49 +00:00
ahe@google.com 81ba41f907 Revert "Build Try Dart! on dart2js build bots"
This reverts r34499.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34501 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 13:09:52 +00:00
ahe@google.com d0b3a32512 Build Try Dart! on dart2js build bots
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34499 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 12:08:52 +00:00
whesse@google.com 5c16460e3d Reapply "Dart2js testing: Add prefix files when running dart2js output on d8 or jsshell.""
This reapplies r33369.  A git dependency was missing, meaning the sdk was not rebuilt, even though we add two .js files to it.

BUG=
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33378 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 15:08:43 +00:00
pquitslund@google.com f3e7bc78fb R=danrubel@google.com, kustermann@google.com, ricow@google.com
Review URL: https://codereview.chromium.org//63363007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32512 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 19:03:08 +00:00
dgrove@google.com e19eef550e Step 1 in removing the old dartdoc code from repo.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32387 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 22:00:40 +00:00
ahe@google.com 26e76d1be0 Add GYP build rule for Try Dart!
R=kasperl@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31828 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 14:10:02 +00:00
zra@google.com 3508d336dd Simplifies standalone VM Android build.
This change also avoids the need to
do another 'gclient runhooks' when switching
between Android and Linux builds, and between
IA32 and ARM Android builds.

gyp does not allow 'libraries' sections inside of
configurations. Therefore, since some architecture
specific paths, libraries, etc. must be specified
on the Android NDK's linker command line, to avoid
re-gyping when switching between Android IA32 and ARM,
this change moves the architecture specific linker
flags to a script, android_link.py.

To avoid re-gyping when swtiching between Linux and
Android, this change creates new configurations
that specify the target OS as well as the the target
architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM
instead of ReleaseARM.

This change also adds a --toolchain flag to build.py,
and removes obsoleted logic for setting up the Android
build.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31340 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 17:51:34 +00:00
kustermann@google.com f9d7e3e939 Removed dart.gyp:upload_sdk target and tools/upload_sdk.py
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30619 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 12:41:55 +00:00
alanknight@google.com 03d0cd826f Generate docgen output along with api_docs as part of the build
R=danrubel@google.com, efortuna@google.com, kustermann@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30485 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 21:51:51 +00:00
ricow@google.com b55717e38c Land VERSION dependency for dart2js and dartdoc snapshot generation
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30144 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 08:53:06 +00:00
iposva@google.com 0ac1351fba - Prevent warning about duplicate targets.
Review URL: https://codereview.chromium.org//59073013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30025 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:22:43 +00:00
shailentuli@google.com 6c93ab7555 Removed the openglui sample app.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27925 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 00:19:04 +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
whesse@google.com 88bd3b8cad dart:io | Add automated testing for samples/sample_extension to buildbot.
BUG=dartbug.com/3008
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25612 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 12:16:15 +00:00
ahe@google.com 216289bcb1 dart2js has its own snapshot.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25344 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 14:58:28 +00:00
whesse@google.com 5623cf6b86 A working version of dart_no_snapshot on Android.
BUG=
R=gram@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23335 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 09:43:10 +00:00
kustermann@google.com d8411ffe56 Remove v8 source dependency, enable more compiler warnings
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22299 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-02 07:20:50 +00:00
nweiz@google.com cc6e2f7b93 Put a snapshot of pub in the SDK.
BUG=9117

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21979 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:43:39 +00:00
devoncarew@google.com c28247625c Make the create_sdk build target dependent on the analyzer one.
Review URL: https://codereview.chromium.org//14263007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21474 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:52:08 +00:00
kustermann@google.com 0239523c6f Removed "everything" target
Review URL: https://codereview.chromium.org//14222008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21329 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 07:45:31 +00:00
ricow@google.com 0a657bfda5 Pass in arguments to create_sdk instead of using positional command line arguments
Review URL: https://codereview.chromium.org//13979006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21272 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 12:19:35 +00:00
ricow@google.com 00da866b33 Move the dart2js snapshot into bin directory of sdk root.
This is the first step in eliminating lib/_internal.
Review URL: https://codereview.chromium.org//13945008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21247 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 05:47:24 +00:00
devoncarew@google.com 7e55acf8bb TBR revert 21195 - add analyzer to the sdk.
Review URL: https://codereview.chromium.org//13845006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21196 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 12:05:49 +00:00
devoncarew@google.com 6598a20b6d Make the create_sdk task dependent on the analyzer task.
Review URL: https://codereview.chromium.org//13818028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21195 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 11:56:15 +00:00
devoncarew@google.com c6922cd6f1 Revert making the sdk build dependent on the new analyzer.
Review URL: https://codereview.chromium.org//13493015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21097 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 18:21:12 +00:00
devoncarew@google.com 6cb6b04527 Make the create_sdk build dependent on the dartanalyzer build. This is in
preparation for adding the new analyzer to the sdk.

This CL also removes the upload_sdk task. These uploads are not (and I
believe have never been) used. I can drop this part of the CL if desired.
Review URL: https://codereview.chromium.org//13639009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21096 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 17:59:12 +00:00
kustermann@google.com 28436e163d Change back to building everything if no argument to build.py was given
Review URL: https://codereview.chromium.org//13674027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21073 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 13:58:16 +00:00
kustermann@google.com 66455f6e2a Removed the temporary "packages" dependency of create_sdk and switched to "default" target in build.py
Review URL: https://codereview.chromium.org//13754002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21051 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:11:35 +00:00
floitsch@google.com e0979d9e7f Add dart2dart_bot rule.
Review URL: https://codereview.chromium.org//13722025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21012 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:09:07 +00:00
amouravski@google.com e4d9989c3c Made the default build target "most" which currently contains everything except
api_docs. This was adapted from the skia repo.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20818 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 20:52:03 +00:00
ricow@google.com 8a85df8ca3 Land incremental building of the editor
This includes adding the editor target to the gyp files.
Review URL: https://codereview.chromium.org//12939007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20228 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 18:21:46 +00:00
ricow@google.com fe7e6586ea Revert revision 19289
Review URL: https://codereview.chromium.org//12391030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19290 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 10:06:12 +00:00
ricow@google.com 923a9e72d9 Build the Editor from GYP/build.py.
The Editor is only rebuilt if it changes, not if the SDK changes.
Review URL: https://codereview.chromium.org//12090092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19289 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 10:02:39 +00:00
ricow@google.com 2542e96229 Add support for building the new analyzer using gyp.
Do we have a name for the new analyzer? I don't really like the new prefix I use for building and naming.

Also, I don't particularly like the way I handle the jar files, but I
did not find a way to easily make a new string out of a list of
strings using a non space separator.

Additionally, I currently copy in the dependent on jar files so that
we can easily wrap this up, I could make the manifest just refer to
the the files relative to tbe build dir, but that is just asking for
trouble in the long term IMHO.
Review URL: https://codereview.chromium.org//12262040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18804 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 08:25:18 +00:00
kustermann@google.com f35937f29b Added "dartc_bot" target in dart.gyp
Currently the dartc bots only use 'tools/build.py create_sdk'. But since dartc
analzes tests that use package imports this causes issues. Although we pass in
the package root (i.e. 'dart_analzer --package-root=out/Mode/packages/ ... '),
we don't create the package links on the bot (in the create_sdk step).

This CL creates a new 'dartc_bot' target which depends on the 'packages' target in
addition to 'create_sdk'. Another CL will change the buildbot to use the new
target.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18523 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 17:49:29 +00:00
vsm@google.com e76045323a Merge the openglui samples into one.
This also re-enables building the emulator sample.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17409 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 16:28:13 +00:00
gram@google.com 6230cf1635 Disable the gyp includes related to the OpenGL embedder, so that those who don't have freeglut can still build.
Review URL: https://codereview.chromium.org//11886082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17168 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:18:24 +00:00
gram@google.com 9703d7bfdd Refactored OpenGL embedder that works on Android, Mac or Linux.
To build on/for linux: tools/build.py -a x64 samples
To build on/for Mac: tools/build.py -a ia32 samples
To build on Linux for Android: tools/bui8ld.py --os=android samples

Note that to run on a Mac, you need to delete the first line of the
fragment shader in raytrace.dart, that says:

  precision mediump float;
Review URL: https://codereview.chromium.org//11883013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17161 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 21:17:52 +00:00
devoncarew@google.com 9f7cfdf717 Re-commit adding dart-analyzer to the SDK for Windows.
Review URL: https://codereview.chromium.org//11571015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16145 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 23:38:16 +00:00
devoncarew@google.com 7050101ea8 Revert 16062 - will re-apply once we can build the dart_analyzer on the windows pub bot.
Review URL: https://codereview.chromium.org//11549026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16064 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 21:32:29 +00:00
devoncarew@google.com 973a3f0993 Remove the windows constraint on the create_sdk ==> dart_analyzer dependency.
So on all platforms now, the dart-sdk build depends on the compiler.
Review URL: https://codereview.chromium.org//11551002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16062 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 21:14:06 +00:00
ahe@google.com 0301e91b94 Remove stale dependencies on dart2js scripts.
Also, add build rule to delete old dart2js scripts.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15841 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 10:04:38 +00:00