Ryan Macnak
9ab39ae099
Reapply "[fuchsia] Prepare for setting the Dart target architecture appropriately in the host binaries."
...
Add missing config to run_vm_tests.
R=zra@google.com
Review-Url: https://codereview.chromium.org/2937503003 .
2017-06-13 08:49:00 -07:00
Ryan Macnak
3383c4ac25
Revert "[fuchsia] Prepare for setting the Dart target architecture appropriately in the host binaries."
...
This reverts commit 54e80a8c32
.
Review-Url: https://codereview.chromium.org/2940513002 .
2017-06-12 15:19:23 -07:00
Ryan Macnak
54e80a8c32
[fuchsia] Prepare for setting the Dart target architecture appropriately in the host binaries.
...
Build another varient of dart_bootstrap targeting the host architecture to ensure reasonable Observatory build times.
Remove assert assuming a root script, which does not exist when gen_snapshot builds core snapshots.
R=zra@google.com
Review-Url: https://codereview.chromium.org/2924173005 .
2017-06-12 14:33:10 -07:00
Sigmund Cherem
edd835c5bb
Fix vm tests: introduce a hybrid file system so that the vm tests can find the
...
sdk files.
The reason the tests broke is that they use a memory-file-system which only
contains the test file and a mock .packages file.
BUG= https://github.com/dart-lang/sdk/issues/29723
R=paulberry@google.com
Review-Url: https://codereview.chromium.org/2910473003 .
2017-05-25 12:25:15 -07:00
Ryan Macnak
98d31056a7
Change build.py to be like ninja.py and only use a single GN/Ninja invocation to cross-build the SDK. This step alone would fix #29580 . This breaks cross-building the SDK with GYP.
...
Remove hack in bin/snapshot_utils.cc that avoided building a true app-jit snapshot for ARM, ARM64 and MIPS because of the multiple invocations above.
Add GN flags to choose to build script snapshots instead of app-jit snapshots, avoiding a slow training run inside a simulator.
Fixes #29580 .
R=zra@google.com
Review-Url: https://codereview.chromium.org/2871713002 .
2017-05-08 13:06:09 -07:00
Zachary Anderson
c5751b27e0
[GN] Change a filesystem absolute path deps to be source absolute
...
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2856713003 .
2017-05-01 15:58:35 -07: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
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