Ryan Macnak
9eb216a495
Reapply "Create an app snapshot of the Dart front end."
...
Skip training on Windows, issue #28532 .
R=hausner@google.com
Review-Url: https://codereview.chromium.org/2665753002 .
2017-01-31 09:47:51 -08:00
Ryan Macnak
728f460798
Revert "Create an app snapshot of the Dart front end."
...
This reverts commit 8c7111c967 .
This reverts commit 27c8e59d2e .
Review-Url: https://codereview.chromium.org/2657123002 .
2017-01-26 17:42:25 -08:00
Ryan Macnak
8c7111c967
Create an app snapshot of the Dart front end.
...
R=asiva@google.com , hausner@google.com , zra@google.com
Review-Url: https://codereview.chromium.org/2655173002 .
2017-01-26 16:28:59 -08:00
Ryan Macnak
26a364f998
Support spawnUri in app snapshots.
...
- Don't mark core_isolate_snapshot_buffer as a const pointer.
- Update app snapshots without code to not rewrite the VM isolate snapshot, as already done by app snapshots with code.
Fixes #28368
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2637193002 .
2017-01-17 15:59:41 -08:00
Ryan Macnak
12a3699301
Revert "Support spawnUri in app snapshots."
...
Failures on IA32.
This reverts commit c6ecfe1746 .
Review-Url: https://codereview.chromium.org/2631893002 .
2017-01-13 15:52:36 -08:00
Ryan Macnak
c6ecfe1746
Support spawnUri in app snapshots.
...
Don't mark core_isolate_snapshot_buffer as a const pointer.
Fixes #28368
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2623423007 .
2017-01-13 15:18:27 -08:00
Ryan Macnak
f89056f6cd
Revert "Support spawnUri in app snapshots."
...
This reverts commit 593d4504b0 .
This reverts commit 113aa64b98 .
This reverts commit 422afa2ead .
Review-Url: https://codereview.chromium.org/2633543003 .
2017-01-13 11:02:44 -08:00
Ryan Macnak
593d4504b0
Support spawnUri in app snapshots.
...
Fixes #28368
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2628283002 .
2017-01-13 10:37:51 -08:00
Ryan Macnak
5062baffb6
Revert pub to script snapshots in the GN build. Fixes #28346 .
...
App snapshots do not yet support spawnUri (issue #28368 ).
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2621423004 .
2017-01-12 13:07:29 -08:00
Zachary Anderson
7f55ad8b86
Fuchsia: Allows building the full SDK for host and target.
...
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2571713004 .
2016-12-13 13:02:52 -08:00
Zachary Anderson
ccfafee023
Make list_files.py and list_dart_files.py return absolute paths for GN
...
This makes doing an SDK build in the Fuchsia tree easier.
The previous attempt at this change failed in gyp builds targeting xcode.
They failed because input lists for actions of the same target (e.g. the
actions for dartanalyzer) are merged and de-duped when the lists contain
relative paths, but merged and *not* de-duped when the lists contain
absolute paths. gyp rejects xcode files that it generated itself
when they contain duplicate entries.
This CL works around that bug, by using absolute paths in the GN build
and keeping relative paths in the gyp build.
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2567213002 .
2016-12-13 10:01:28 -08:00
Zachary Anderson
b873e2b8e3
Revert "Make list_files.py and list_dart_files.py return absolute paths"
...
This reverts commit a858542c89 .
mac gyp build fails.
Review-Url: https://codereview.chromium.org/2574523002 .
2016-12-12 13:14:53 -08:00
Zachary Anderson
a858542c89
Make list_files.py and list_dart_files.py return absolute paths
...
This makes doing an SDK build in the Fuchsia tree easier
R=johnmccutchan@google.com
Review-Url: https://codereview.chromium.org/2564413004 .
2016-12-12 13:09:26 -08:00
Ryan Macnak
13ba4b2710
When building app snapshots for the SDK, train dart2js on itself.
...
Don't train the analzyer on itself as this makes running the test suite slower.
Disable code collection when generating an app snapshot.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2509453002 .
2016-11-16 09:10:22 -08:00
Zachary Anderson
90d3962ca3
Don't depend on dart_bootstrap if there is a usable prebuilt sdk
...
Also replace invoke_dart() with compiled_action(), and some other
cleanups.
fixes #27781
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2493833002 .
2016-11-10 11:16:24 -08:00
Zachary Anderson
e4e7e28c7f
GN: Fix build
...
DDC needs another argument to make --help work.
R=vsm@google.com
Review URL: https://codereview.chromium.org/2480573002 .
2016-11-03 14:51:00 -07:00
Zachary Anderson
f7799da7c5
GN: Fall back on dart_bootstrap where appropriate.
...
Review URL: https://codereview.chromium.org/2464153003 .
2016-11-01 12:59:36 -07:00
Zachary Anderson
8169499ef8
GN: Format more gn files
...
Missed these on the first pass.
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2454703004 .
2016-10-27 04:25:34 -07:00
Zachary Anderson
c1b08a0b97
GN: Try to fix Linux build on bots
...
Review URL: https://codereview.chromium.org/2449213003 .
2016-10-26 10:48:14 -07:00
Zachary Anderson
c1313a5ec7
Format GN files and add a presubmit check that GN is properly formatted
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2451613005 .
2016-10-26 08:50:54 -07:00
Zachary Anderson
c39525802e
GN: Fix build
...
GN is unhappy when a rule that consumes a file generated by
another rule doesn't depend directly on that rule.
This change also quiets output from invoking Dart to follow the
rule of GN builds that a successful build generates no output.
Review URL: https://codereview.chromium.org/2446473002 .
2016-10-22 00:05:39 -07:00
Ryan Macnak
af7bf4dab0
GN: Build the SDK with app snapshots instead of script snapshots.
...
R=zra@google.com
Review URL: https://codereview.chromium.org/2442513003 .
2016-10-21 17:40:21 -07:00
Zachary Anderson
ee21a2261d
Use list_dart_files.py instead of list_files.py in GN build.
...
To track https://codereview.chromium.org/2391863002/ on the
gyp side, and use it in more places.
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2392253002 .
2016-10-05 07:50:40 -07:00
Zach Anderson
9a6797e6ba
GN build on windows
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2385643004 .
2016-10-04 09:19:07 -07:00
Zachary Anderson
7c784cea9f
Linux create_sdk GN build for host
...
This CL enables GN builds of all targets from dart.gyp
on Linux for the host (i.e. ia32, x64).
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2379803002 .
2016-09-29 13:23:00 -07:00
William Hesse
1f97819b25
Add --packages flag when compiling dart2js snapshot
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org/2368073004 .
2016-09-26 18:48:26 +02:00
William Hesse
79b682b885
Add explicit package spec to snapshot build steps
...
BUG=
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2372573002 .
2016-09-26 15:52:31 +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
Konstantin Shcheglov
f4fdf25cb1
Fix dartanalyzer.gyp for SDK summary generation.
...
R=paulberry@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/2341303004 .
2016-09-16 09:13:01 -07:00
William Hesse
61eee9ee52
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Committed: https://github.com/dart-lang/sdk/commit/5d3e356ca75be8aeff3efde5df946d746b9f8352
Review URL: https://codereview.chromium.org/1746743002 .
Reverted: https://github.com/dart-lang/sdk/commit/6d238ba197c8bda71afe790f16f6e9adaf7abd13
2016-09-16 15:03:18 +02:00
Konstantin Shcheglov
fa24d1caaa
Stop generating index information for SDK and simplify summary generation.
...
The implementation is still element model based, I will switch it to
the AST based approach in a following CL.
R=paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2345793002 .
2016-09-15 16:15:20 -07:00
William Hesse
6d238ba197
Revert "Use checked-in .package file for building and testing"
...
This reverts commit 5d3e356ca7 .
BUG=
R=eernst@google.com
Review URL: https://codereview.chromium.org/2340813004 .
2016-09-15 15:46:49 +02:00
William Hesse
5d3e356ca7
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Review URL: https://codereview.chromium.org/1746743002 .
2016-09-15 14:50:30 +02:00
John Messerly
c1cde9600b
use pkg/dev_compiler in the build
2016-08-31 18:05:17 -07:00
Harry Terkelsen
1745ba77f5
fix all instances of "the the"
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org/1980573003 .
2016-05-13 12:38:25 -07: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
Konstantin Shcheglov
5a927c7373
Add hacks into build_sdk_summaries to workaround bugs in build tools.
...
Paul thinks that there is a bug in gyp or make, and we should generate
only one output. So, we generate the whole bundle with all summaries
and index information. And then we have separate actions that take
this bundle and extract one output each - spec.sum and strong.sum files.
R=paulberry@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1775973003 .
2016-03-09 11:37:17 -08:00
Paul Berry
1fa1b388c1
Fix incremental build of analyzer snapshot when pkg/analyzer changes.
...
Previously, changing a file in pkg/analyzer would not force a rebuild of
the analyzer snapshot, causing confusion during anayzer development.
R=scheglov@google.com
Review URL: https://codereview.chromium.org/1781473002 .
2016-03-08 14:04:21 -08:00
Konstantin Shcheglov
93393bba3b
Make 'generate_summaries' depend on the whole skd/lib folder.
...
R=whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1749813003 .
2016-03-01 11:17:06 -08:00
Konstantin Shcheglov
850e8d7309
Use --package-root when call build_sdk_summaries.dart script.
...
TBR
R=brianwilkerson@google.com ,whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1714973003 .
2016-02-19 19:51:38 -08:00
Konstantin Shcheglov
427f760c91
Build lib/_internal/analysis_summary during SDK build.
...
We cannot commit this CL right now, because we will attempt to use
these summaries by default, and they are incomplete yet. But I wanted
to see how to add something to the build process, and we might do
changes to make using SDK summaries optional initiallyand then commit
this CL.
R=paulberry@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1588093005 .
2016-02-19 19:06:22 -08:00
pq
9ae1265ff5
analyzer_cli move to SDK.
...
Tracking bug: https://github.com/dart-lang/sdk/issues/24731
Note, dartium build changes are in a separate CL: https://codereview.chromium.org/1453413006/
Some tests had to be disabled for want of mockito in the SDK; tracking their reimplementation is here: https://github.com/dart-lang/sdk/issues/24994
BUG=24731
R=whesse@google.com
Review URL: https://codereview.chromium.org/1459683003 .
2015-11-19 14:52:54 -08:00
keertip
18b68f7290
remove docgen remnants from repo, update CHANGELOG
...
BUG=
R=alanknight@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//1361163002 .
2015-09-23 10:27:15 -07:00
keertip
c775149a5a
remove docgen source and targets from build
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org//1364553002 .
2015-09-22 15:10:18 -07:00
William Hesse
0cbe042935
Add .gitignore file for utils/dartdoc.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//1307903002 .
2015-08-21 13:50:59 +02:00
keertip
3865dd8748
create dartdoc snapshot, add to dart-sdk. Also add resources needed to run dartdoc from the sdk.
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org//1295073003 .
2015-08-19 08:02:41 -07:00
Sigmund Cherem
4ec3db6947
keep old location of libraries.dart in the generated SDK (fixes 23755)
...
R=kevmoo@google.com
Review URL: https://codereview.chromium.org//1216313002 .
2015-06-30 17:08:21 -07:00
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