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

Issue 10574037: Add dart:web to VM. (Closed)

Created:
8 years, 6 months ago by Emily Fortuna
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -4 lines) Patch
M runtime/bin/bin.gypi View 1 2 3 7 chunks +36 lines, -0 lines 0 comments Download
M runtime/bin/builtin.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/bin/builtin.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/builtin_nolib.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M runtime/bin/dartutils.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/bin/dartutils.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A runtime/bin/web_sources.gypi View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/unit_test.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Emily Fortuna
Hi Ivan, Lasse recently added dart:web as one of the builtin libraries (https://chromiumcodereview.appspot.com/10563023/). This change ...
8 years, 6 months ago (2012-06-20 01:57:38 UTC) #1
siva
DBC https://chromiumcodereview.appspot.com/10574037/diff/3002/runtime/bin/gen_snapshot.cc File runtime/bin/gen_snapshot.cc (right): https://chromiumcodereview.appspot.com/10574037/diff/3002/runtime/bin/gen_snapshot.cc#newcode193 runtime/bin/gen_snapshot.cc:193: } else { As more and more of ...
8 years, 6 months ago (2012-06-20 02:07:39 UTC) #2
Lasse Reichstein Nielsen
On 2012/06/20 02:07:39, asiva wrote: > DBC ... > Why does this library need to ...
8 years, 6 months ago (2012-06-20 08:26:15 UTC) #3
Lasse Reichstein Nielsen
And drive-by review. Thank deity I didn't try to figure this out myself! http://codereview.chromium.org/10574037/diff/9003/runtime/bin/builtin.cc File ...
8 years, 6 months ago (2012-06-20 08:28:40 UTC) #4
Emily Fortuna
@asiva: You're right -- there's no reason to add it to snapshotting -- I was ...
8 years, 6 months ago (2012-06-20 16:30:00 UTC) #5
Emily Fortuna
PTAL.
8 years, 6 months ago (2012-06-20 17:49:32 UTC) #6
siva
lgtm
8 years, 6 months ago (2012-06-21 00:02:09 UTC) #7
siva
https://chromiumcodereview.appspot.com/10574037/diff/13002/runtime/bin/builtin_nolib.cc File runtime/bin/builtin_nolib.cc (right): https://chromiumcodereview.appspot.com/10574037/diff/13002/runtime/bin/builtin_nolib.cc#newcode21 runtime/bin/builtin_nolib.cc:21: { DartUtils::kWebLibURL, NULL, false } { DartUtils::kWebLibURL, web_source_, false ...
8 years, 6 months ago (2012-06-21 00:30:49 UTC) #8
Emily Fortuna
8 years, 6 months ago (2012-06-21 16:56:47 UTC) #9
Fixed up. It should be ready to go now. Thanks for the help, asiva!

https://chromiumcodereview.appspot.com/10574037/diff/13002/runtime/bin/builti...
File runtime/bin/builtin_nolib.cc (right):

https://chromiumcodereview.appspot.com/10574037/diff/13002/runtime/bin/builti...
runtime/bin/builtin_nolib.cc:21: { DartUtils::kWebLibURL,     NULL,           
false }
On 2012/06/21 00:30:49, asiva wrote:
> { DartUtils::kWebLibURL,     web_source_,     false }

Done.

https://chromiumcodereview.appspot.com/10574037/diff/13002/runtime/bin/builti...
runtime/bin/builtin_nolib.cc:26: UNREACHABLE();
On 2012/06/21 00:30:49, asiva wrote:
> ASSERT((sizeof(builtin_libraries_) / sizeof(builtin_lib_props)) ==
> kInvalidLibrary);
> ASSERT(id == kWebLibrary);
> return Dart_NewString(builtin_libraries_[id].source_);

Done.

Powered by Google App Engine
This is Rietveld 408576698