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

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

Issue 2947193002: Polymer: Remove unused paper-dropdown-menu, paper-menu-button. (Closed)
Patch Set: Created 3 years, 6 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
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' and 9 # Chromium specific modifications. To launch the script you need 'bower' and
10 # 'crisper' installed on your system. 10 # 'crisper' installed on your system.
(...skipping 14 matching lines...) Expand all
25 check_dep "sed --version | grep GNU" \ 25 check_dep "sed --version | grep GNU" \
26 "GNU sed as 'sed'" "'brew install gnu-sed --with-default-names'" 26 "GNU sed as 'sed'" "'brew install gnu-sed --with-default-names'"
27 27
28 set -e 28 set -e
29 29
30 pushd "$(dirname "$0")" > /dev/null 30 pushd "$(dirname "$0")" > /dev/null
31 31
32 rm -rf components 32 rm -rf components
33 rm -rf ../../web-animations-js/sources 33 rm -rf ../../web-animations-js/sources
34 34
35 bower install --no-color 35 bower install --no-color --production
36 36
37 rm components/*/.travis.yml 37 rm components/*/.travis.yml
38 38
39 mv components/web-animations-js ../../web-animations-js/sources 39 mv components/web-animations-js ../../web-animations-js/sources
40 cp ../../web-animations-js/sources/COPYING ../../web-animations-js/LICENSE 40 cp ../../web-animations-js/sources/COPYING ../../web-animations-js/LICENSE
41 41
42 # Remove source mapping directives since we don't compile the maps. 42 # Remove source mapping directives since we don't compile the maps.
43 sed -i 's/^\s*\/\/#\s*sourceMappingURL.*//' \ 43 sed -i 's/^\s*\/\/#\s*sourceMappingURL.*//' \
44 ../../web-animations-js/sources/*.min.js 44 ../../web-animations-js/sources/*.min.js
45 45
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 echo 'Creating a summary of components...' 114 echo 'Creating a summary of components...'
115 python create_components_summary.py > components_summary.txt 115 python create_components_summary.py > components_summary.txt
116 116
117 echo 'Creating GYP files for interfaces and externs...' 117 echo 'Creating GYP files for interfaces and externs...'
118 ./generate_gyp.sh 118 ./generate_gyp.sh
119 119
120 popd > /dev/null 120 popd > /dev/null
121 121
122 echo 'Searching for unused elements...' 122 echo 'Searching for unused elements...'
123 python "$(dirname "$0")"/find_unused_elements.py 123 python "$(dirname "$0")"/find_unused_elements.py
OLDNEW
« no previous file with comments | « third_party/polymer/v1_0/components_summary.txt ('k') | ui/webui/resources/polymer_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698