Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1474)

Issue 2168193002: Fuchsia: Build standalone VM. Make it run "Hello, World!". (Closed)

Created:
4 years, 5 months ago by zra
Modified:
4 years, 5 months ago
Reviewers:
Cutch, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fuchsia: Build standalone VM. Make it run "Hello, World!". This CL adds targets to the GN build that build the standalone Dart VM without the observatory, and with dart:io enabled but with most of the functionality stubbed out as UNIMPLEMENTED(). It also adds a simple eventhandler for Fuchsia for implementing Timers. R=asiva@google.com, johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/53374c3b99f0502dfbea2aaa79c59a2807a16136

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 4

Patch Set 3 : Address comments #

Total comments: 8

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+949 lines, -167 lines) Patch
M runtime/bin/BUILD.gn View 1 2 3 6 chunks +44 lines, -6 lines 0 comments Download
M runtime/bin/builtin_impl_sources.gypi View 5 chunks +5 lines, -0 lines 0 comments Download
A + runtime/bin/crypto_fuchsia.cc View 3 chunks +4 lines, -8 lines 0 comments Download
A runtime/bin/directory_fuchsia.cc View 1 2 3 1 chunk +154 lines, -0 lines 0 comments Download
M runtime/bin/eventhandler.h View 1 chunk +2 lines, -0 lines 0 comments Download
A runtime/bin/eventhandler_fuchsia.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A runtime/bin/eventhandler_fuchsia.cc View 1 2 3 1 chunk +172 lines, -0 lines 0 comments Download
A + runtime/bin/extensions_fuchsia.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + runtime/bin/file_fuchsia.cc View 13 chunks +33 lines, -72 lines 0 comments Download
A runtime/bin/file_system_watcher_fuchsia.cc View 1 chunk +60 lines, -0 lines 0 comments Download
M runtime/bin/io_impl_sources.gypi View 6 chunks +8 lines, -0 lines 0 comments Download
M runtime/bin/main.cc View 1 chunk +1 line, -1 line 0 comments Download
A + runtime/bin/platform_fuchsia.cc View 4 chunks +10 lines, -30 lines 0 comments Download
A runtime/bin/process_fuchsia.cc View 1 chunk +77 lines, -0 lines 0 comments Download
M runtime/bin/socket.h View 1 chunk +2 lines, -0 lines 0 comments Download
A + runtime/bin/socket_fuchsia.h View 1 chunk +6 lines, -6 lines 0 comments Download
A runtime/bin/socket_fuchsia.cc View 1 chunk +242 lines, -0 lines 0 comments Download
A runtime/bin/stdio_fuchsia.cc View 1 chunk +53 lines, -0 lines 0 comments Download
A + runtime/bin/utils_fuchsia.cc View 3 chunks +11 lines, -36 lines 0 comments Download
M runtime/bin/vmservice/vmservice_io.dart View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/bin/vmservice_impl.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/platform/utils_fuchsia.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + runtime/tests/vm/dart/hello_fuchsia_test.dart View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
zra
4 years, 5 months ago (2016-07-21 20:13:20 UTC) #2
Cutch
https://codereview.chromium.org/2168193002/diff/20001/runtime/bin/hello_fuchsia.dart File runtime/bin/hello_fuchsia.dart (right): https://codereview.chromium.org/2168193002/diff/20001/runtime/bin/hello_fuchsia.dart#newcode6 runtime/bin/hello_fuchsia.dart:6: print("Hello, Fuchsia!"); Why is this file being committed? https://codereview.chromium.org/2168193002/diff/20001/runtime/bin/vmservice/vmservice_io.dart ...
4 years, 5 months ago (2016-07-21 20:24:51 UTC) #3
zra
https://codereview.chromium.org/2168193002/diff/20001/runtime/bin/hello_fuchsia.dart File runtime/bin/hello_fuchsia.dart (right): https://codereview.chromium.org/2168193002/diff/20001/runtime/bin/hello_fuchsia.dart#newcode6 runtime/bin/hello_fuchsia.dart:6: print("Hello, Fuchsia!"); On 2016/07/21 20:24:51, Cutch wrote: > Why ...
4 years, 5 months ago (2016-07-22 17:47:20 UTC) #4
Cutch
lgtm
4 years, 5 months ago (2016-07-22 17:48:17 UTC) #5
siva
lgtm https://codereview.chromium.org/2168193002/diff/40001/runtime/bin/directory_fuchsia.cc File runtime/bin/directory_fuchsia.cc (right): https://codereview.chromium.org/2168193002/diff/40001/runtime/bin/directory_fuchsia.cc#newcode57 runtime/bin/directory_fuchsia.cc:57: if ((written <= PATH_MAX - length_) && (PATH_MAX ...
4 years, 5 months ago (2016-07-22 19:18:22 UTC) #6
abarth
On 2016/07/22 at 17:47:20, zra wrote: > https://codereview.chromium.org/2168193002/diff/20001/runtime/bin/hello_fuchsia.dart > File runtime/bin/hello_fuchsia.dart (right): > > https://codereview.chromium.org/2168193002/diff/20001/runtime/bin/hello_fuchsia.dart#newcode6 ...
4 years, 5 months ago (2016-07-22 19:21:13 UTC) #7
zra
Thanks! https://codereview.chromium.org/2168193002/diff/40001/runtime/bin/directory_fuchsia.cc File runtime/bin/directory_fuchsia.cc (right): https://codereview.chromium.org/2168193002/diff/40001/runtime/bin/directory_fuchsia.cc#newcode57 runtime/bin/directory_fuchsia.cc:57: if ((written <= PATH_MAX - length_) && On ...
4 years, 5 months ago (2016-07-22 20:07:08 UTC) #8
zra
4 years, 5 months ago (2016-07-22 21:00:36 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
53374c3b99f0502dfbea2aaa79c59a2807a16136.

Powered by Google App Engine
This is Rietveld 408576698