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

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

Issue 1261403002: Add paper-menu-button and its dependencies to third_party/polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reproduce.sh Created 5 years, 4 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
« no previous file with comments | « third_party/polymer/v1_0/components-chromium/polymer/polymer-mini-extracted.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2014 The Chromium Authors. All rights reserved. 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 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Reproduces the content of 'components' and 'components-chromium' using the 7 # Reproduces the content of 'components' and 'components-chromium' using the
8 # list of dependencies from 'bower.json'. Downloads needed packages and makes 8 # list of dependencies from 'bower.json'. Downloads needed packages and makes
9 # Chromium specific modifications. To launch the script you need 'bower', 9 # Chromium specific modifications. To launch the script you need 'bower',
10 # 'crisper', and 'vulcanize' installed on your system. 10 # 'crisper', and 'vulcanize' installed on your system.
(...skipping 22 matching lines...) Expand all
33 33
34 # Test and demo directories aren't needed. 34 # Test and demo directories aren't needed.
35 rm -rf components/*/{test,demo} 35 rm -rf components/*/{test,demo}
36 rm -rf components/polymer/explainer 36 rm -rf components/polymer/explainer
37 37
38 # Remove promise-polyfill and components which depend on it. 38 # Remove promise-polyfill and components which depend on it.
39 rm -rf components/promise-polyfill 39 rm -rf components/promise-polyfill
40 rm -rf components/iron-ajax 40 rm -rf components/iron-ajax
41 rm -rf components/iron-form 41 rm -rf components/iron-form
42 42
43 # Remove iron-image as it's only a developer dependency of iron-dropdown.
44 # https://github.com/PolymerElements/iron-dropdown/pull/17
45 rm -rf components/iron-image
46
43 # Make checkperms.py happy. 47 # Make checkperms.py happy.
44 find components/*/hero.svg -type f -exec chmod -x {} \; 48 find components/*/hero.svg -type f -exec chmod -x {} \;
45 find components/iron-selector -type f -exec chmod -x {} \; 49 find components/iron-selector -type f -exec chmod -x {} \;
46 50
47 # Remove carriage returns to make CQ happy. 51 # Remove carriage returns to make CQ happy.
48 find components -type f \( -name \*.html -o -name \*.css -o -name \*.js\ 52 find components -type f \( -name \*.html -o -name \*.css -o -name \*.js\
49 -o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore\ 53 -o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore\
50 -o -name \*.bat \) -print0 | xargs -0 sed -i -e $'s/\r$//g' 54 -o -name \*.bat \) -print0 | xargs -0 sed -i -e $'s/\r$//g'
51 55
52 # Resolve a unicode encoding issue in dom-innerHTML.html. 56 # Resolve a unicode encoding issue in dom-innerHTML.html.
53 NBSP=$(python -c 'print u"\u00A0".encode("utf-8")') 57 NBSP=$(python -c 'print u"\u00A0".encode("utf-8")')
54 sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html 58 sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html
55 59
56 # Remove import of external resource in font-roboto (fonts.googleapis.com). 60 # Remove import of external resource in font-roboto (fonts.googleapis.com).
57 patch -p1 < chromium.patch 61 patch -p1 < chromium.patch
58 62
59 ./extract_inline_scripts.sh components components-chromium 63 ./extract_inline_scripts.sh components components-chromium
OLDNEW
« no previous file with comments | « third_party/polymer/v1_0/components-chromium/polymer/polymer-mini-extracted.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698