Commit Graph

44 Commits

Author SHA1 Message Date
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 fe745b78c9 Reapply "Change SDK/DartEditor versioning scheme to semantic versions."
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30952 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 17:23:49 +00:00
kustermann@google.com f9bb003862 Revert "Change SDK/DartEditor versioning scheme to semantic versions."
+Revert "Remove pub tests for non-semantic SDK versions"

This is causing build failures on dartium. Need to investigate.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30908 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 19:05:52 +00:00
kustermann@google.com 90c9463cc7 Change SDK/DartEditor versioning scheme to semantic versions.
This means that all components of the SDK (i.e. DartVM, dart2js, dartanalyzer,
pub) will have the same semantic version string when invoking them with
'--version'. The version string is also present in "dart-sdk/version".

The editor will have an eclipse compatible version which consists of
major.minor.patch.qualifier.

The SDK versions look like this on our three channels:
  - bleeding-edge: 1.1.0-edge.30857
  - dev:           1.1.0-dev.2.42
  - stable:        1.1.0
The SDK versions comply with the semantic versioning standard, see:
http://semver.org/.

The DartEditor versions look like this on our three channels:
  - bleeding-edge: 1.1.0.edge_030857
  - dev:           1.1.0.dev_02_42
  - stable:        1.1.0.release
The DartEditor versions comply with semantic eclipse versioning scheme.
(The leading zeros are necessary due to lexicographic ordering.)

From both version schemes, it becomes clear on which channel a user is on.

R=danrubel@google.com, kasperl@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30905 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 18:35:05 +00:00
kustermann@google.com 69bd72a2b9 Add update.properties file to com.google.dart.tools.core_*.jar file
R=danrubel@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30623 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 13:05:30 +00:00
kustermann@google.com 6cfdb0d4f2 Add CHANNEL to tools/VERSION
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30620 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 12:51:59 +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
iposva@google.com 7621320667 - Properly setup user name.
R=devoncarew@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29517 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 04:50:41 +00:00
iposva@google.com 7c381607e4 - Workaround SVN inconsistencies when building locally.
R=devoncarew@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29516 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 04:32:26 +00:00
ricow@google.com 9b736a2531 Add windows installer functionallity to editor build script.
Refactor create_mac_installer to pull out generic functionality.
Change naming util class to not include zip in name of editor file
Change windows installer creation script to support a directory as input in addition to a zip file
Review URL: https://chromiumcodereview.appspot.com//47553006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29440 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 12:20:56 +00:00
kustermann@google.com 2d51255501 Changes to annotated step scripts: dart-editor-installer-* builders will build installer
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28857 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 14:12:34 +00:00
kustermann@google.com ffbc235c05 Added support for using a checked-in binary of dart for ARM
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27046 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 12:33:53 +00:00
kustermann@google.com 315daf1d72 First CL for removing our dependency on the checked-in binary for building
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25809 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 10:52:57 +00:00
kustermann@google.com 2ba4d3c758 Use a utils.TempDir() context manager for temporary files, to make sure we clean up even in case of exceptions
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25091 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 11:40:49 +00:00
kustermann@google.com e2bae5305b Bugfix for tools/utils.py: Inherit environment to cmd.exe.
On windows we run "svn" in a shell. But the shell cannot find svn.exe if PATH is
not set.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24212 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 08:22:25 +00:00
ricow@google.com df4bf922fa Make version generation functionallity work on non english locale.
Landing patch supplied by David Gomez - see http://dartbug.com/11119

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24072 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 06:42:29 +00:00
kustermann@google.com abf0ad60ac First CL for supporting arm cross compilation + testing on dart buildbots
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22839 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-17 09:35:32 +00:00
hausner@google.com a0fa1e7633 Do not crash build if Java is not installed
Much of the build does not use Java, so don't crash if it's not
installed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21952 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 15:54:20 +00:00
aprelev@gmail.com bed78686b6 Try to better guess Visual Studio path.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18736 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 03:58:19 +00:00
amouravski@google.com ba1f89e2b0 Fix for go.sh breaking because the dart binary in /testing hasn't been updated.
Review URL: https://codereview.chromium.org//11825012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16937 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 22:54:16 +00:00
ricow@google.com a31a22712b Update revision info to version info for dart2js et al.
Review URL: https://codereview.chromium.org//11143010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13649 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-15 08:21:44 +00:00
antonm@google.com f9d8744839 Move a helper function to find out Dart binary into utils.py
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13538 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 13:07:16 +00:00
johnniwinther@google.com 5bb04a5069 MSVS output to /build/ dir.
Review URL: https://codereview.chromium.org//10933125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12471 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 07:48:26 +00:00
jackpal@google.com 73ffeb4418 Add support for building the Dart VM for Android OS.
The Android target OS is based upon the existing Linux target OS.
The existing _linux source files have been copied to create
corresponding _android source files. The copies have been
modified as needed to adapt to differences between the Linux
platform and the Android platform.

Currently the dart vm binary builds on Linux and runs on x86 Android,
Simple test scripts execute correctly, but no formal testing has been
done.

The process for building the Dart VM for Android will be documented on
the Dart wiki.
BUG=

Review URL: https://chromiumcodereview.appspot.com//10823209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11547 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 20:42:28 +00:00
sethladd@google.com 82487ff3b2 get svn rev num even if using git svn
BUG=

Review URL: https://chromiumcodereview.appspot.com//10834218

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10389 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 14:55:01 +00:00
ahe@google.com 96ac4bc26e Remove underscores from configurations.
Underscores don't work in Visual Studio 2010.

Review URL: https://chromiumcodereview.appspot.com//10475003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8235 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 07:41:59 +00:00
ahe@google.com e38d098845 Fix dependencies for create and upload SDK.
Review URL: https://chromiumcodereview.appspot.com//10273005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7152 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 12:42:10 +00:00
ahe@google.com 9eac6a5748 Remove frogsh.
Review URL: https://chromiumcodereview.appspot.com//10164004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +00:00
danrubel@google.com 847ab391c5 Move 'revision' file creation from upload_sdk into create_sdk
Review URL: https://chromiumcodereview.appspot.com//10117031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6712 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 21:55:14 +00:00
ahe@google.com 29f23acca0 Make a VM crash more obvious.
Review URL: https://chromiumcodereview.appspot.com//9838017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5774 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 11:52:43 +00:00
sigmund@google.com 0db85d31b1 bot: fix to get appropriate executable in windows.
Review URL: http://codereview.chromium.org//9133019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3316 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 23:26:33 +00:00
efortuna@google.com 994839e3d9 Fix build to create Windows SDK.
(Resubmission of http://codereview.chromium.org/9004001/ with jmesserly's
suggestions and update fix.)

TBR=jmesserly
Review URL: http://codereview.chromium.org//8989020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2649 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:04:45 +00:00
sigmund@google.com f392b25a55 Revert "Fix build so we can make a Windows SDK!" (tbr)
Review URL: http://codereview.chromium.org//9005002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2613 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:26:16 +00:00
efortuna@google.com 03a9b0a828 Fix build so we can make a Windows SDK!
Review URL: http://codereview.chromium.org//9004001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2612 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:22:08 +00:00
iposva@google.com ea500c9260 - Remove uses of the dart_bin binary.
Review URL: http://codereview.chromium.org//8597016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1725 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-21 23:50:35 +00:00
ngeoffray@google.com 5d6af6602a Bleeding edge change to get frog integrated into the testing infrastructure.
Review URL: http://codereview.chromium.org//8372095

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1140 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 12:15:55 +00:00
ngeoffray@google.com e0d529befb Remove 'dartc' as an arch for build.py.
Review URL: http://codereview.chromium.org//8417030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@895 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 16:21:46 +00:00
ngeoffray@google.com 9acb7d6610 build.py will not accept --arch=dartc soon, so removing references and uses of --arch=dartc in the repo.
Review URL: http://codereview.chromium.org//8341103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@882 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 10:39:30 +00:00
benl@google.com c0a59669cf Do away with the PromiseQueue.
Instead of queuing messages with promises in them until the promises
are ready, send immediately. This is done by sending a port down which
the receiver sends a port which can be used to signal completion of
the outgoing promise.
Review URL: https://chromereviews.googleplex.com/3573013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@427 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 11:18:12 +00:00
sgjesse@google.com fc1b7603b3 Add short read/write testing of Socket and Process tests
The changes to standalone tests from http://codereview.chromium.org/8226016/ somehow got lost when the tests where moved from runtime/tests/dart to tests/standalone.

Also fix and issue where just specifying "VMOptions=" did not run the test without any arguments.

R=ngeoffray@google.com

BUG=
TEST=

Review URL: http://codereview.chromium.org//8273035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@426 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 09:31:12 +00:00
sgjesse@google.com 1cd5459f7b Add the ability to run tests with several sets of VM flags
The test-option VMOptions that can be placed in .dart test files can now be specified several times like this:

// VMOptions=
// VMOptions=--short_socket_read
// VMOptions=--short_socket_write
// VMOptions=--short_socket_read --short_socket_write

For each time VMOptions is specified a seperate test will be bun with the specified flags.

Used this to run the tests that uses sockets with short read and writes. Fixed a number of bugs in both stream implementation and in tests revealed by this.

R=iposva@google.com, ngeoffray@google.com

Review URL: http://codereview.chromium.org//8226016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@388 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 10:14:31 +00:00
zundel@google.com 6bef774e19 Cleans up style problems in architecture.py and test_runner.py
Cleaning these up so I can merge in changes related to
including chromium tests into the mainline test.py.

Review URL: http://codereview.chromium.org//8234029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@365 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-12 14:12:10 +00:00
zundel@google.com 98c678891c Style cleanups for test.py
This reformats test.py to have consistent Python style.

Review URL: http://codereview.chromium.org//8223016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@353 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 22:44:53 +00:00
dgrove@google.com 6b6b28e065 Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:34:19 +00:00