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

Issue 1702553002: Generate compiled_resources2.gyp for Polymer based on <link rel=import>s (Closed)

Created:
4 years, 10 months ago by Dan Beam
Modified:
4 years, 10 months ago
Reviewers:
michaelpg, dpapad
CC:
chromium-reviews, dbeam+watch-closure_chromium.org, dcheng, jlklein+watch-closure_chromium.org, michaelpg+watch-polymer_chromium.org, vitalyp+closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Generate compiled_resources2.gyp for Polymer based on <link rel=import>s This CL aims to generate GYP output from the imports listed in each HTML file in Polymer to Closure Compile the code. R=dpapad@chromium.org,michaelpg@chromium.org BUG=none NOTRY=true Committed: https://crrev.com/e91f8875e590ddf00af267062fc1a9ec48658373 Cr-Commit-Position: refs/heads/master@{#375953}

Patch Set 1 : asdf #

Total comments: 6

Patch Set 2 : 80 cols #

Patch Set 3 : add warning #

Patch Set 4 : generate gyp from reproduce.sh #

Patch Set 5 : -1 abspath() #

Total comments: 2

Patch Set 6 : \ls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1183 lines, -72 lines) Patch
A + third_party/polymer/v1_0/components-chromium/font-roboto/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/polymer/v1_0/components-chromium/iron-a11y-keys-behavior/compiled_resources2.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-a11y-keys/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/compiled_resources2.gyp View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/polymer/v1_0/components-chromium/iron-behaviors/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/compiled_resources2.gyp View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-collapse/compiled_resources2.gyp View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/iron-dropdown/compiled_resources2.gyp View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-fit-behavior/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A third_party/polymer/v1_0/components-chromium/iron-flex-layout/classes/compiled_resources2.gyp View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-flex-layout/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-form-element-behavior/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-icon/compiled_resources2.gyp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
A third_party/polymer/v1_0/components-chromium/iron-icons/compiled_resources2.gyp View 1 2 1 chunk +97 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-iconset-svg/compiled_resources2.gyp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-image/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-input/compiled_resources2.gyp View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M third_party/polymer/v1_0/components-chromium/iron-list/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-media-query/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-menu-behavior/compiled_resources2.gyp View 1 2 1 chunk +8 lines, -2 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-meta/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/compiled_resources2.gyp View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-pages/compiled_resources2.gyp View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-range-behavior/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/polymer/v1_0/components-chromium/iron-resizable-behavior/compiled_resources2.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/polymer/v1_0/components-chromium/iron-scroll-target-behavior/compiled_resources2.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/iron-selector/compiled_resources2.gyp View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-test-helpers/compiled_resources2.gyp View 1 2 1 chunk +8 lines, -5 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/iron-validatable-behavior/compiled_resources2.gyp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
A third_party/polymer/v1_0/components-chromium/neon-animation/animations/compiled_resources2.gyp View 1 2 1 chunk +135 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/neon-animation/compiled_resources2.gyp View 1 2 1 chunk +104 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/neon-animation/guides/compiled_resources2.gyp View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/polymer/v1_0/components-chromium/paper-behaviors/compiled_resources2.gyp View 1 2 2 chunks +18 lines, -2 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-button/compiled_resources2.gyp View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-card/compiled_resources2.gyp View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-checkbox/compiled_resources2.gyp View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-dialog-behavior/compiled_resources2.gyp View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-dialog/compiled_resources2.gyp View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-drawer-panel/compiled_resources2.gyp View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-dropdown-menu/compiled_resources2.gyp View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-fab/compiled_resources2.gyp View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-header-panel/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-icon-button/compiled_resources2.gyp View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-input/compiled_resources2.gyp View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-item/compiled_resources2.gyp View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-material/compiled_resources2.gyp View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-menu-button/compiled_resources2.gyp View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-menu/compiled_resources2.gyp View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-progress/compiled_resources2.gyp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-radio-button/compiled_resources2.gyp View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-radio-group/compiled_resources2.gyp View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/polymer/v1_0/components-chromium/paper-ripple/compiled_resources2.gyp View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-slider/compiled_resources2.gyp View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-spinner/compiled_resources2.gyp View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-styles/classes/compiled_resources2.gyp View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-styles/compiled_resources2.gyp View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-tabs/compiled_resources2.gyp View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-toggle-button/compiled_resources2.gyp View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A + third_party/polymer/v1_0/components-chromium/paper-toolbar/compiled_resources2.gyp View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A third_party/polymer/v1_0/components-chromium/paper-tooltip/compiled_resources2.gyp View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/polymer/v1_0/generate_gyp.sh View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/polymer/v1_0/reproduce.sh View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A tools/polymer/generate_compiled_resources_gyp.py View 1 2 3 4 1 chunk +77 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (13 generated)
dpapad
Can we make the generated files output prettier? For example if it could match the ...
4 years, 10 months ago (2016-02-16 19:19:50 UTC) #4
Dan Beam
On 2016/02/16 19:19:50, dpapad wrote: > Can we make the generated files output prettier? For ...
4 years, 10 months ago (2016-02-16 19:20:59 UTC) #5
michaelpg
I think the strategy is sound, minus the assumption that each *.html has an associated ...
4 years, 10 months ago (2016-02-16 19:22:21 UTC) #6
Dan Beam
- filtered out demo.html - checking for existence of -extracted.js files now - changed formatting ...
4 years, 10 months ago (2016-02-16 21:05:50 UTC) #10
dpapad
On 2016/02/16 at 19:19:50, dpapad wrote: > Can we make the generated files output prettier? ...
4 years, 10 months ago (2016-02-16 22:10:32 UTC) #11
dpapad
On 2016/02/16 at 22:10:32, dpapad wrote: > On 2016/02/16 at 19:19:50, dpapad wrote: > > ...
4 years, 10 months ago (2016-02-16 22:12:05 UTC) #12
Dan Beam
On 2016/02/16 22:12:05, dpapad wrote: > On 2016/02/16 at 22:10:32, dpapad wrote: > > On ...
4 years, 10 months ago (2016-02-16 22:24:22 UTC) #13
Dan Beam
+michaelpg@ for tools/polymer
4 years, 10 months ago (2016-02-16 23:46:12 UTC) #15
michaelpg
lgtm https://codereview.chromium.org/1702553002/diff/40001/third_party/polymer/v1_0/generate_gyp.sh File third_party/polymer/v1_0/generate_gyp.sh (right): https://codereview.chromium.org/1702553002/diff/40001/third_party/polymer/v1_0/generate_gyp.sh#newcode6 third_party/polymer/v1_0/generate_gyp.sh:6: htmls=$(/bin/ls $dir/*.html 2>/dev/null | grep -v 'index\.html') On ...
4 years, 10 months ago (2016-02-17 06:26:48 UTC) #16
Dan Beam
https://codereview.chromium.org/1702553002/diff/40001/third_party/polymer/v1_0/generate_gyp.sh File third_party/polymer/v1_0/generate_gyp.sh (right): https://codereview.chromium.org/1702553002/diff/40001/third_party/polymer/v1_0/generate_gyp.sh#newcode6 third_party/polymer/v1_0/generate_gyp.sh:6: htmls=$(/bin/ls $dir/*.html 2>/dev/null | grep -v 'index\.html') On 2016/02/17 ...
4 years, 10 months ago (2016-02-17 17:23:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702553002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702553002/180001
4 years, 10 months ago (2016-02-17 19:28:00 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 10 months ago (2016-02-17 19:41:20 UTC) #24
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/e91f8875e590ddf00af267062fc1a9ec48658373 Cr-Commit-Position: refs/heads/master@{#375953}
4 years, 10 months ago (2016-02-17 19:43:43 UTC) #26
sky
4 years, 10 months ago (2016-02-17 20:36:42 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:180001) has been created in
https://codereview.chromium.org/1705953002/ by sky@chromium.org.

The reason for reverting is: This broke checklicenses:
'third_party/polymer/v1_0/generate_gyp.sh' has non-whitelisted license 'UNKNOWN'
.

Powered by Google App Engine
This is Rietveld 408576698