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

Issue 950063002: Add patch file support to Dart embedder (Closed)

Created:
5 years, 10 months ago by Cutch
Modified:
5 years, 10 months ago
Reviewers:
zra, rafaelw, eseidel
CC:
Aaron Boodman, ben+mojo_chromium.org, darin (slow to review), Elliot Glaysher, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -75 lines) Patch
M mojo/dart/embedder/BUILD.gn View 1 2 3 4 5 2 chunks +48 lines, -0 lines 0 comments Download
M mojo/dart/embedder/builtin.h View 1 2 2 chunks +14 lines, -5 lines 0 comments Download
M mojo/dart/embedder/builtin.cc View 1 2 3 4 5 5 chunks +85 lines, -21 lines 0 comments Download
A + mojo/dart/embedder/core/buffer_patch.dart View 1 chunk +0 lines, -5 lines 0 comments Download
A + mojo/dart/embedder/core/data_pipe_patch.dart View 1 chunk +0 lines, -5 lines 0 comments Download
A + mojo/dart/embedder/core/handle_patch.dart View 1 chunk +0 lines, -5 lines 0 comments Download
A + mojo/dart/embedder/core/handle_watcher_patch.dart View 1 chunk +0 lines, -5 lines 0 comments Download
A + mojo/dart/embedder/core/message_pipe_patch.dart View 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/embedder/dart_controller.cc View 1 2 10 chunks +13 lines, -13 lines 0 comments Download
M mojo/dart/embedder/test/BUILD.gn View 1 2 3 4 5 4 chunks +30 lines, -11 lines 0 comments Download
A mojo/dart/testing/async_helper.dart View 1 chunk +94 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
Cutch
5 years, 10 months ago (2015-02-23 19:48:29 UTC) #2
zra
https://codereview.chromium.org/950063002/diff/1/mojo/dart/embedder/BUILD.gn File mojo/dart/embedder/BUILD.gn (right): https://codereview.chromium.org/950063002/diff/1/mojo/dart/embedder/BUILD.gn#newcode26 mojo/dart/embedder/BUILD.gn:26: "//mojo/dart/embedder:generate_dart_mojo_core_patch_cc", I believe this can just be ":generate_dart_mojo_core_patch_cc" and ...
5 years, 10 months ago (2015-02-23 23:21:03 UTC) #3
Cutch
https://codereview.chromium.org/950063002/diff/1/mojo/dart/embedder/BUILD.gn File mojo/dart/embedder/BUILD.gn (right): https://codereview.chromium.org/950063002/diff/1/mojo/dart/embedder/BUILD.gn#newcode26 mojo/dart/embedder/BUILD.gn:26: "//mojo/dart/embedder:generate_dart_mojo_core_patch_cc", On 2015/02/23 23:21:02, zra wrote: > I believe ...
5 years, 10 months ago (2015-02-24 15:36:48 UTC) #4
zra
https://codereview.chromium.org/950063002/diff/80001/mojo/dart/embedder/BUILD.gn File mojo/dart/embedder/BUILD.gn (right): https://codereview.chromium.org/950063002/diff/80001/mojo/dart/embedder/BUILD.gn#newcode46 mojo/dart/embedder/BUILD.gn:46: "//dart/runtime/tools/create_resources.py", alphabetical order, so this goes to the top. ...
5 years, 10 months ago (2015-02-24 15:56:35 UTC) #5
Cutch
https://codereview.chromium.org/950063002/diff/80001/mojo/dart/embedder/BUILD.gn File mojo/dart/embedder/BUILD.gn (right): https://codereview.chromium.org/950063002/diff/80001/mojo/dart/embedder/BUILD.gn#newcode46 mojo/dart/embedder/BUILD.gn:46: "//dart/runtime/tools/create_resources.py", On 2015/02/24 15:56:35, zra wrote: > alphabetical order, ...
5 years, 10 months ago (2015-02-24 16:02:04 UTC) #6
zra
lgtm
5 years, 10 months ago (2015-02-24 16:31:32 UTC) #7
zra
+erg This is the first of two changes needed to hide |native| from dartanalyzer. The ...
5 years, 10 months ago (2015-02-24 17:25:13 UTC) #8
Cutch
Committed patchset #7 (id:120001) manually as 6104465d68cc43f0244b1319bfdc9bcdec058f8b (presubmit successful).
5 years, 10 months ago (2015-02-24 17:28:02 UTC) #9
rafaelw
lgtm. +eseidel. It'd be nice to do something like this for the generated dart bindings ...
5 years, 10 months ago (2015-02-24 19:32:44 UTC) #11
eseidel
It's not clear to me what this does?
5 years, 10 months ago (2015-02-24 20:22:23 UTC) #12
zra
On 2015/02/24 20:22:23, eseidel wrote: > It's not clear to me what this does? Background: ...
5 years, 10 months ago (2015-02-24 20:36:23 UTC) #13
abarth-chromium
Does that mean we pay a cost at startup time to patch the library instead ...
5 years, 10 months ago (2015-02-24 21:06:33 UTC) #14
zra
5 years, 10 months ago (2015-02-24 21:14:56 UTC) #15
Message was sent while issue was closed.
On 2015/02/24 21:06:33, abarth wrote:
> Does that mean we pay a cost at startup time to patch the library instead of
> having the snapshotted library in the binary all ready to go?

Yes, though the _patch.dart files are compiled in as byte arrays, and should
generally be quite small, containing only the "native" declarations.

Powered by Google App Engine
This is Rietveld 408576698