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

Issue 2678723002: Compile several targets in Gallery in gyp v2. (Closed)

Created:
3 years, 10 months ago by oka
Modified:
3 years, 10 months ago
Reviewers:
fukino, Dan Beam
CC:
chromium-reviews, yamaguchi+watch_chromium.org, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, fukino+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, fukino, Dan Beam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Compile several targets in Gallery in gyp v2. Renamed ImageUtil.metrics to metrics so that metrics users don't necessarily depend on ImageUtil. Split ImageLoader from image_util.js into a separated file. Added externs/gallery_event.js to compile ribbon.js. BUG=636289 TEST=run_compiler, git cl try CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2678723002 Cr-Commit-Position: refs/heads/master@{#452430} Committed: https://chromium.googlesource.com/chromium/src/+/9f9e4d69ac5649f7c5b842fbf271b9c2650aef44

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 8

Patch Set 4 : Addressed comments #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+510 lines, -357 lines) Patch
M ui/file_manager/compiled_resources2.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/externs/compiled_resources2.gyp View 1 1 chunk +4 lines, -0 lines 0 comments Download
A ui/file_manager/externs/gallery_event.js View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/compiled_resources2.gyp View 1 2 3 4 1 chunk +10 lines, -4 lines 0 comments Download
M ui/file_manager/gallery/js/compiled_resources.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/gallery/js/compiled_resources2.gyp View 1 2 chunks +74 lines, -20 lines 0 comments Download
M ui/file_manager/gallery/js/gallery.js View 1 2 3 4 3 chunks +1 line, -16 lines 0 comments Download
M ui/file_manager/gallery/js/gallery_data_model.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/gallery/js/gallery_item.js View 1 2 3 4 5 chunks +13 lines, -5 lines 0 comments Download
M ui/file_manager/gallery/js/gallery_item_unittest.js View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M ui/file_manager/gallery/js/gallery_scripts.js View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp View 1 1 chunk +95 lines, -28 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_editor.js View 1 chunk +1 line, -1 line 0 comments Download
A ui/file_manager/gallery/js/image_editor/image_loader.js View 1 chunk +265 lines, -0 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_util.js View 2 chunks +0 lines, -267 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_view.js View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/gallery/js/slide_mode.js View 3 chunks +5 lines, -5 lines 0 comments Download
M ui/webui/resources/js/cr/ui/compiled_resources2.gyp View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (25 generated)
oka
.
3 years, 10 months ago (2017-02-20 09:41:00 UTC) #2
oka
PTAL.
3 years, 10 months ago (2017-02-20 09:52:31 UTC) #5
oka
PTAL. dbeam@ for ui/webui/resources/js/cr/ui/compiled_resources2.gyp fukino@ for others.
3 years, 10 months ago (2017-02-20 09:53:54 UTC) #8
oka
Sorry, I saw tests failures. I'll fix them and send review requeste again.
3 years, 10 months ago (2017-02-20 22:46:37 UTC) #14
oka
3 years, 10 months ago (2017-02-22 14:01:10 UTC) #20
oka
PTAL. dbeam@ for ui/webui/resources/js/cr/ui/compiled_resources2.gyp fukino@ for others.
3 years, 10 months ago (2017-02-22 14:01:46 UTC) #22
Dan Beam
sweeet! lgtm also, you should sync past this change: https://codereview.chromium.org/2712893002/ should make your local compile ...
3 years, 10 months ago (2017-02-23 05:10:30 UTC) #23
fukino
https://codereview.chromium.org/2678723002/diff/40001/ui/file_manager/externs/gallery_event.js File ui/file_manager/externs/gallery_event.js (right): https://codereview.chromium.org/2678723002/diff/40001/ui/file_manager/externs/gallery_event.js#newcode6 ui/file_manager/externs/gallery_event.js:6: * @type{Entry} nit: space after @type https://codereview.chromium.org/2678723002/diff/40001/ui/file_manager/externs/gallery_event.js#newcode8 ui/file_manager/externs/gallery_event.js:8: Event.prototype.oldEntry; ...
3 years, 10 months ago (2017-02-23 05:35:39 UTC) #24
oka
Addressed comments
3 years, 10 months ago (2017-02-23 05:57:46 UTC) #25
oka
PTAL. https://codereview.chromium.org/2678723002/diff/40001/ui/file_manager/externs/gallery_event.js File ui/file_manager/externs/gallery_event.js (right): https://codereview.chromium.org/2678723002/diff/40001/ui/file_manager/externs/gallery_event.js#newcode6 ui/file_manager/externs/gallery_event.js:6: * @type{Entry} On 2017/02/23 05:35:39, fukino wrote: > ...
3 years, 10 months ago (2017-02-23 06:02:31 UTC) #26
fukino
lgtm, thanks! (but please make sure the metrics is logged as before in the new ...
3 years, 10 months ago (2017-02-23 06:17:56 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2678723002/60001
3 years, 10 months ago (2017-02-23 06:20:14 UTC) #32
commit-bot: I haz the power
Failed to apply patch for ui/file_manager/compiled_resources2.gyp: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-23 06:41:05 UTC) #34
oka
Rebased.
3 years, 10 months ago (2017-02-23 06:46:55 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2678723002/80001
3 years, 10 months ago (2017-02-23 07:31:29 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/9f9e4d69ac5649f7c5b842fbf271b9c2650aef44
3 years, 10 months ago (2017-02-23 08:09:30 UTC) #41
oka
3 years, 10 months ago (2017-02-23 11:07:26 UTC) #42
Message was sent while issue was closed.
On 2017/02/23 06:17:56, fukino wrote:
> lgtm, thanks!
> (but please make sure the metrics is logged as before in the new code)

I checked metrics are exprted as before to chrome://histograms.

Powered by Google App Engine
This is Rietveld 408576698