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

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

Issue 1460173003: Remove .travis.yml files from third_party/polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | 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.
11 11
12 set -e 12 set -e
13 13
14 cd "$(dirname "$0")" 14 cd "$(dirname "$0")"
15 15
16 rm -rf components components-chromium 16 rm -rf components components-chromium
17 rm -rf ../../web-animations-js/sources 17 rm -rf ../../web-animations-js/sources
18 18
19 bower install 19 bower install
20 20
21 rm components/*/.travis.yml
22
21 mv components/web-animations-js ../../web-animations-js/sources 23 mv components/web-animations-js ../../web-animations-js/sources
22 cp ../../web-animations-js/sources/COPYING ../../web-animations-js/LICENSE 24 cp ../../web-animations-js/sources/COPYING ../../web-animations-js/LICENSE
23 25
24 # Remove unused gzipped binary which causes git-cl problems. 26 # Remove unused gzipped binary which causes git-cl problems.
25 rm ../../web-animations-js/sources/web-animations.min.js.gz 27 rm ../../web-animations-js/sources/web-animations.min.js.gz
26 28
27 # Remove source mapping directives since we don't compile the maps. 29 # Remove source mapping directives since we don't compile the maps.
28 sed -i 's/^\s*\/\/#\s*sourceMappingURL.*//' \ 30 sed -i 's/^\s*\/\/#\s*sourceMappingURL.*//' \
29 ../../web-animations-js/sources/*.min.js 31 ../../web-animations-js/sources/*.min.js
30 32
(...skipping 26 matching lines...) Expand all
57 # Resolve a unicode encoding issue in dom-innerHTML.html. 59 # Resolve a unicode encoding issue in dom-innerHTML.html.
58 NBSP=$(python -c 'print u"\u00A0".encode("utf-8")') 60 NBSP=$(python -c 'print u"\u00A0".encode("utf-8")')
59 sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html 61 sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html
60 62
61 ./extract_inline_scripts.sh components components-chromium 63 ./extract_inline_scripts.sh components components-chromium
62 64
63 # Remove import of external resource in font-roboto (fonts.googleapis.com) 65 # Remove import of external resource in font-roboto (fonts.googleapis.com)
64 # and apply additional chrome specific patches. NOTE: Where possible create 66 # and apply additional chrome specific patches. NOTE: Where possible create
65 # a Polymer issue and/or pull request to minimize these patches. 67 # a Polymer issue and/or pull request to minimize these patches.
66 patch -p1 < chromium.patch 68 patch -p1 < chromium.patch
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698