Commit Graph

79 Commits

Author SHA1 Message Date
Zachary Anderson 80f358dede Adds targets for simarmv6 and armv6
related #25562

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1624593002 .
2016-01-22 13:07:48 -08:00
Ryan Macnak 642f754219 Note that R19 is a C preserved register, fixing crash returning from the first Dart entry on Linux ARM64.
Bug was introduced by 91bc8005fe.

 - Move the Dart stack pointer from R19 (C preserved) to R15 (C volatile) so it isn't among the registers saved by the InvokeDartCode stub.
 - Set a default cross compiler for ARM64.
 - Use ARM32 instead of IA32 binary to build Observatory on ARM64 hosts.

R=regis@google.com

Review URL: https://codereview.chromium.org/1559223003 .
2016-01-07 09:30:17 -08:00
Ivan Posva 6d0453594a - Prevent running of the dart_bootstrap script by default.
- Fix argument handling in Python: argparse does not properly handle booleans.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1519063004 .
2015-12-11 13:23:12 -08:00
Ryan Macnak 783ed2470b Change default build and test architecture to x64.
Precompilation isn't supported on IA32 so local testing misses it.

R=srdjan@google.com

Review URL: https://codereview.chromium.org/1408783005 .
2015-10-16 10:59:08 -07:00
Rico Wind bcfbfdfed3 Move VERSION file location into top level variable
This will allow for easier overwriting

R=ahe@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1359293002 .
2015-09-23 08:45:30 +02:00
William Hesse 01a4e08809 Give environment var DART_NUMBER_OF_CORES priority over /proc/cpuinfo when choosing the number of cpus to use.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//1356643002 .
2015-09-17 16:12:56 +02:00
William Hesse 9aeb907f9d Observatory build should try backup method if the SDK doesn't work.
Fix up SDK for mips and arm processors on demand.

BUG=
R=iposva@google.com, johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1343103002 .
2015-09-16 13:13:32 +02:00
John McCutchan 28a2239289 Move CheckedInSdkPath helpers to utils
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//1342493003 .
2015-09-14 07:05:51 -07:00
William Hesse a89532d98d Update build utils to prefer Visual Studio 2013.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//1257013004 .
2015-08-03 10:28:34 +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 af3b6b2b61 Add python based VERSION file generation for sdk bots
We used to have this file generated by the editor build

BUG=23516
R=whesse@google.com

Review URL: https://codereview.chromium.org//1153033007
2015-05-28 11:20:36 +02:00
Rico Wind f34fae854a Initial github commit for getting stuff working
Readd samples, samples-dev, tools/testing/bin, third_party removed by cleanup (no history, sorry)

Add DEPS file which will replace the old all.deps and standalone.deps

Add tools/deps/dartium.deps replacing the old dartium.deps (but now editable from a normal checkout)

Fixup tools/utils.py to use the new archiving schema (git count for be, version number for dev/stable

Fix codereview.settings
2015-05-16 15:41:58 +02:00
ricow@google.com 7ac466315e Add utility function for getting increasing numbers in a git only world.
The numbers will be used for archiving purposes, so that we have a standard way of calculating a location, that will sort in increasing order of commits.

For dev/stable channel builds we will move to use the version number instead.

R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45327 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-22 04:01:44 +00:00
zra@google.com 86bfd7cb30 Adds a simarmv5te build and test target.
Also:
- Removes command line flags to choose simulated arm version.
  I think we should use build targets instead, like in this change,
  to make building and testing more obvious.
- Skips pkg tests on all simulators.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45181 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-15 20:44:43 +00:00
ricow@google.com 0379803a4a Add annotated steps for dart_services
This is not done, luke will update it with the actual commands for running the stress testing

R=lukechurch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45100 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-13 13:34:47 +00:00
zra@google.com 34044a4ca8 Adds armv5 build and test target.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44828 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-31 23:11:33 +00:00
ricow@google.com 77982f1fa9 Add support for ignoring the svn revision when getting the version, use this for gn build
R=zra@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43297 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-29 16:55:08 +00:00
whesse@google.com 4b9def5115 Fix merge problems in r38573, a cleanup of build scripts.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38574 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 12:47:48 +00: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
zra@google.com 2e6e3133f0 Fixes create_sdk target for cross-builds.
Building an sdk requires snapshots to be generated for
pub, analyzer, dart2js, etc. using a Dart VM binary that
has been built for the host. Currently, when we cross-build,
we do not build a Dart VM binary for the host.

Rather than monkey with the gyp files to do that, this
change modifies build.py to explicitly build:
1. The create_sdk target for the host arch,
2. The runtime target for the target arch,
After which files are copied to create a dart-sdk
directory for the target archetecture.

After this change, we *should* be able to cross-build Debian
packages for arm, which I'll work on in a subsequent change.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38337 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-17 18:05:42 +00:00
efortuna@google.com b39ad299fc Use "git log" instead of "git svn info" for revision number information, since
"git svn info" hangs indefinitely on pure git checkouts.

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37374 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-16 20:13:45 +00:00
zra@google.com e3f564fb6c Changes for running tests on arm64 hardware.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37046 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-05 18:43:55 +00:00
zra@google.com 9c73009ff9 Prepares for arm64 cross-build.
With this change, the cross-build succeeds with the Linaro arm64 toolchain.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36698 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 18:05:20 +00:00
zra@google.com 2fe51715e5 Begins work on ARM64, first assembler test.
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}

The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
iposva@google.com ca9defaf17 - Redo cross-build detection.
Review URL: https://codereview.chromium.org//189543010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33489 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:53:50 +00:00
iposva@google.com 5c2fe2fade Where did the space go?
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33488 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:39:18 +00:00
iposva@google.com fd1630985f - Fix typo.
Review URL: https://codereview.chromium.org//189233011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33487 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:34:41 +00:00
iposva@google.com 0b933f1f5c - Intel architecture rewriting needs to happen both ways.
Review URL: https://codereview.chromium.org//190663011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33486 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:33:29 +00:00
iposva@google.com b6ea3942e5 - Fix typo.
Review URL: https://codereview.chromium.org//189413015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33485 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:24:44 +00:00
iposva@google.com c403ff25d4 - Last level of defense when guessing host architecture.
Review URL: https://codereview.chromium.org//190793014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33484 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:18:44 +00:00
iposva@google.com d20121e855 - Enable automatic cross-builds across ARM and MIPS architectures.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33482 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:00:06 +00:00
whesse@google.com 66ff4fc0d3 Add checked-in binary for mips architecture to tools/testing.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33481 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 11:19:08 +00:00
sgjesse@google.com 8a4e91c0bd Make building from bleeding edge tarball possible without Subversion installed
Look for the svn revision in tools/SVN_REVISION before event trying to
run svn. The SVN_REVISIOn file is only created when building a tarball
from a bleeding edge revision.

R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32713 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-17 08:09:47 +00:00
sgjesse@google.com 71f0e080cb Fix last minute change in last commit
Never commit without testing.

TBR=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32360 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 14:44:07 +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
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