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

Issue 1106383006: Dart: Adds mojom pub package. (Closed)

Created:
5 years, 7 months ago by blundell
Modified:
5 years, 7 months ago
Reviewers:
jamesr, eseidel, Ivan Posva
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), mojo-reviews_chromium.org, ojan, ppi+watch_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

Dart: Adds mojom pub package. Creates generate.dart script that installs generated .mojom.dart files into the mojom pub package. Updates Sky's deploy_sdk.py script to put mojom.dart files in locations where they can be consumed by the generate.dart script once the SDK is published and obtained via "pub get". This CL is adapted from a patch by zra@google.com; most of the work here is his. R=iposva@google.com Committed: https://chromium.googlesource.com/external/mojo/+/488fdf045e586abb0f722358b0560d1bd30845ba

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Cleanup #

Total comments: 2

Patch Set 4 : Add arg to generate.dart, update metadata #

Total comments: 6

Patch Set 5 : Response to review #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -6 lines) Patch
A + mojo/dart/mojom/AUTHORS View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A mojo/dart/mojom/CHANGELOG.md View 1 chunk +3 lines, -0 lines 0 comments Download
A + mojo/dart/mojom/LICENSE View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A mojo/dart/mojom/README.md View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A mojo/dart/mojom/bin/generate.dart View 1 2 3 1 chunk +135 lines, -0 lines 0 comments Download
A mojo/dart/mojom/pubspec.lock View 1 chunk +11 lines, -0 lines 0 comments Download
A mojo/dart/mojom/pubspec.yaml View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M sky/tools/deploy_sdk.py View 1 2 chunks +26 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
blundell
Hi Eric and Ivan, This patch takes over from zra's. The delta is: - Migrated ...
5 years, 7 months ago (2015-04-28 09:53:12 UTC) #2
blundell
On 2015/04/28 09:53:12, blundell wrote: > Hi Eric and Ivan, > > This patch takes ...
5 years, 7 months ago (2015-04-28 14:26:03 UTC) #3
blundell
ping :)
5 years, 7 months ago (2015-05-04 08:54:50 UTC) #4
eseidel
The packages I've published have been as "Chromium Authors" and not had the PATENTS file, ...
5 years, 7 months ago (2015-05-04 18:07:18 UTC) #5
Ivan Posva
Not sure which of the files Eric mentioned you want to publish. The Dart code ...
5 years, 7 months ago (2015-05-04 21:49:12 UTC) #6
blundell
Thanks for the reviews. Ivan, I'll defer to your opinion on the content of the ...
5 years, 7 months ago (2015-05-05 15:13:13 UTC) #7
blundell
I updated this package to be authored by Chromium. Ivan, I also added the ability ...
5 years, 7 months ago (2015-05-06 14:15:59 UTC) #11
Ivan Posva
LGTM for the Dart code. We probably want to address the comments in the pubspec.yaml ...
5 years, 7 months ago (2015-05-07 04:09:57 UTC) #12
blundell
https://codereview.chromium.org/1106383006/diff/120001/mojo/dart/mojom/README.md File mojo/dart/mojom/README.md (right): https://codereview.chromium.org/1106383006/diff/120001/mojo/dart/mojom/README.md#newcode16 mojo/dart/mojom/README.md:16: $ pub run mojom:generate -a <path/to/mojom/dir> On 2015/05/07 04:09:57, ...
5 years, 7 months ago (2015-05-07 13:07:11 UTC) #13
Ivan Posva
Still LGTM. -Ivan
5 years, 7 months ago (2015-05-07 13:15:13 UTC) #14
blundell
Committed patchset #6 (id:160001) manually as 488fdf045e586abb0f722358b0560d1bd30845ba (presubmit successful).
5 years, 7 months ago (2015-05-07 13:23:10 UTC) #15
jamesr
'git status' for me is showing: # Untracked files: # (use "git add <file>..." to ...
5 years, 7 months ago (2015-05-07 17:56:04 UTC) #17
blundell
On 2015/05/07 17:56:04, jamesr wrote: > 'git status' for me is showing: > > # ...
5 years, 7 months ago (2015-05-07 18:47:37 UTC) #18
jamesr
5 years, 7 months ago (2015-05-07 19:22:47 UTC) #19
Message was sent while issue was closed.
On 2015/05/07 18:47:37, blundell wrote:
> On 2015/05/07 17:56:04, jamesr wrote:
> > 'git status' for me is showing:
> > 
> > # Untracked files:
> > #   (use "git add <file>..." to include in what will be committed)
> > #
> > #	mojo/dart/mojom/bin/packages
> > 
> > should this path be in //.gitignore or have I done something wrong?
> 
> Oops. "packages/" is in .gitignore but this one is a symlink so it doesn't
match
> that. I don't have access to a terminal and am about to head offline for the
> long weekend; if you want to change the "packages/" in .gitignore to
"packages"
> that would be great. Otherwise I'll do it on Monday.

I can do that.  Have a good weekend!

Powered by Google App Engine
This is Rietveld 408576698