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

Side by Side Diff: third_party/polymer/v0_8/reproduce.sh

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rerun reproduce.sh Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Reproduces the content of 'components' and 'components-chromium' using the
8 # list of dependencies from 'bower.json'. Downloads needed packages and makes
9 # Chromium specific modifications. To launch the script you need 'bower' and
10 # 'vulcanize' to be install in your system.
11
12 # IMPORTANT NOTE: The new vulcanize must be installed from
13 # https://github.com/Polymer/vulcanize/releases since it isn't on npm yet.
14
15 set -e
16
17 cd "$(dirname "$0")"
18
19 rm -rf components components-chromium
20
21 bower install
22
23 # These components are deprecated or needed only for demos.
24 rm -rf components/{iron-component-page,webcomponentsjs}
25
26 # Make checkperms.py happy.
27 find components/iron-selector -type f -exec chmod -x {} \;
28 chmod +x components/polymer/build.bat
29
30 # Remove carriage returns to make CQ happy.
31 find components -type f \( -name \*.html -o -name \*.css -o -name \*.js\
32 -o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore \)\
33 -print0 | xargs -0 sed -i -e $'s/\r$//g'
34
35 ./extract_inline_scripts.sh components components-chromium
36
michaelpg 2015/04/25 02:38:04 does chromium.patch no longer apply because we vul
Jeremy Klein 2015/04/25 19:54:07 I think it just doesn't apply because afaict the l
37 # Actually fully vulcanize polymer.html to avoid needing to serve each file in
38 # the library separately.
39 vulcanize --inline-scripts components/polymer/polymer.html > components-chromium /polymer/polymer.html
40 crisper --source components-chromium/polymer/polymer.html\
michaelpg 2015/04/25 02:38:04 another dependency? should we call it out in the h
Jeremy Klein 2015/04/25 19:54:07 Good call. Done. FYI, crisper is what splits out t
41 --html "components-chromium/polymer/polymer.html"\
42 --js "components-chromium/polymer/polymer.js"
OLDNEW
« third_party/polymer/v0_8/bower.json ('K') | « third_party/polymer/v0_8/extract_inline_scripts.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698