Commit graph

149 commits

Author SHA1 Message Date
Ryan Macnak 33428a1a84 Add dependency for 'process_test' from 'runtime_precompiled'.
R=fschneider@google.com

Review URL: https://codereview.chromium.org/2496283002 .
2016-11-14 10:14:04 -08:00
Vyacheslav Egorov eb8c24e133 Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork."
R=zra@google.com
BUG=

Review URL: https://codereview.chromium.org/2451623006 .
2016-10-27 10:09:22 +02:00
Vyacheslav Egorov 12968edb9c Revert "Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork.""
This reverts commit 4e7a31262e.

Windows bots are broken now.

R=zra@google.com
BUG=

Review URL: https://codereview.chromium.org/2451893004 .
2016-10-26 17:07:18 +02:00
Vyacheslav Egorov 4e7a31262e Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork."
This relands commit 2fed1c3905 with fixes to ensure that analyzer summaries are correctly created and XARM build does not try to use target binaries on the host.

R=zra@google.com
BUG=

Review URL: https://codereview.chromium.org/2453773002 .
2016-10-26 16:48:28 +02:00
Vyacheslav Egorov cf7ff42e60 Revert "Merge more Kernel infrastructure from kernel_sdk SDK fork."
This reverts commit 2fed1c3905.

SDK builds are failing

TBR=zra@google.com

Review URL: https://codereview.chromium.org/2455593002 .
2016-10-26 13:06:27 +02:00
Vyacheslav Egorov 2fed1c3905 Merge more Kernel infrastructure from kernel_sdk SDK fork.
- bring patched SDK generation scripts and VM patch tweaks that allow VM patch files to be parsed by analyzer front-end;
  Patched SDK is an SDK with all VM patches spliced into it. Kernel compiler is based on the analyzer front-end which does
  not have any patch files support/model so for it to produce Kernel files that match VM we need to generate a such patched SDKs.

- bring test script modifications that allow to test Kernel pipeline

BUG=
R=asiva@google.com, kmillikin@google.com, whesse@google.com, zra@google.com

Review URL: https://codereview.chromium.org/2434123003 .
2016-10-26 13:02:54 +02:00
William Hesse 0695b1db3a Remove package root target and support scripts
BUG=https://github.com/dart-lang/sdk/issues/23565
R=kustermann@google.com

Review URL: https://codereview.chromium.org/2346163005 .
2016-09-20 13:32:50 +02:00
Sigmund Cherem 2ee3b9fae6 Delete site/try
R=het@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/2232273004 .
2016-08-15 12:14:45 -07:00
Zachary Anderson 7cc544696f Remove fuchsia_test from gyp build
Review URL: https://codereview.chromium.org/2168073003 .
2016-07-21 08:48:18 -07:00
Zachary Anderson a503570e3a Fuchsia: Initial check-in.
Instructions to build and run are in README.fuchsia.

R=asiva@google.com

Review URL: https://codereview.chromium.org/2117593002 .
2016-07-01 12:42:05 -07:00
Florian Schneider 9ff22315d8 VM: Split GYP build target 'runtime' to speedup SDK build times.
This speeds up a regular full 'runtime' build on my Linux box by around 40%
by avoiding to build the precompiled runtime by default (measured user-time)
'runtime_precompiled' also builds 35% faster than 'runtime' before.

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

Review URL: https://codereview.chromium.org/1904553004 .
2016-04-21 11:40:19 +02:00
Florian Schneider e905d64058 VM: Remove redundant build target dart_product.
It has been replaced by out/Product<arch>/dart

Building and testing product mode works via the -mproduct flag
with build.py/test.py.

BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1902073003 .
2016-04-20 12:29:21 +02:00
Paul Berry b73e02db49 Add dev_compiler to the SDK build process.
Also update DEPS to bring the latest dev_compiler into the SDK.

This is a second attempt at
https://codereview.chromium.org/1777173003, with the following fixes:

- Added .bat files for Windows.

- Added missing dependency: create_sdk_internal depends on
  dartdevc.dart.snapshot.

- Used pkg_files.stamp to note the source code dependency for
  dartdevc, so that we don't go beyond xcodebuild's input length
  limit.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org/1818543002 .
2016-03-18 13:09:11 -07:00
Paul Berry ceec063f27 Revert "Add dev_compiler to the SDK build process."
This broke the Mac and Windows builds, for reasons I'm still
investigating.

This reverts commit 2ddf244819.

TBR=jmesserly@google.com

Review URL: https://codereview.chromium.org/1813983003 .
2016-03-17 13:46:51 -07:00
Paul Berry 2ddf244819 Add dev_compiler to the SDK build process.
Also update DEPS to bring the latest dev_compiler into the SDK.

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

Review URL: https://codereview.chromium.org/1777173003 .
2016-03-17 11:14:35 -07:00
Ivan Posva d61ebd4ed2 - Unify dart_no_snapshot and dart_bootstrap into one binary.
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1760063003 .
2016-03-03 14:53:59 -08:00
John McCutchan 7b7f2b05c6 Add dart_product binary
- Add dart_product binary that doesn't include the service isolate, Observatory, or the snapshot. It can only be used for running full snapshots.
- Use this binary when running tests.

R=asiva@google.com

Review URL: https://codereview.chromium.org/1690303002 .
2016-02-12 11:04:56 -08:00
Florian Schneider 0f48690061 VM: Replace dart --noopt with new binary target dart_noopt.
This allows us to exclude precompiler related code from the standalone
JIT VM, and only have the precompiler included in dart_noopt and dart_no_snapshot
(which is used to generate precompiled snapshots)

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1661703002 .
2016-02-02 17:51:15 -08:00
Florian Schneider f47839ba09 Rename DART_PRECOMPILED -> DART_PRECOMPILED_RUNTIME
To avoid future confusion with precompiler compiler-related macros/build targets

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1581393008 .
2016-01-19 13:59:49 -08:00
Florian Schneider f0a35b3260 VM: Add dart_precompiled build target, a standalone VM without the JIT compiler.
This removes most of the compiler-related code from dart_precompiled:
x64 stripped binary size 13M -> 9.1M
ARM stripped binary size 12M -> 8.3M

The precompiled build defines the DART_PRECOMPILED macro. This
stubs out the public interface to the compiler/parser with empty
function bodies.

Use gcc options -ffunction-sections and --gc-sections to make the linker remove
unused functions/symbols.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1459443002 .
2015-11-19 10:13:16 +01:00
keertip 3d37a55dce remove docgen from the sdk
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1356943002 .
2015-09-18 13:18:10 -07:00
ricow@google.com 7c0a00cf0c Remove gyp entries for editor and java based analyzer
Also, remove some editor specific tools and remove support from annotated steps

R=kustermann@google.com, danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45630 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-08 06:44:51 +00: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
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