| OLD | NEW |
| 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 27 matching lines...) Expand all Loading... |
| 38 # Remove carriage returns to make CQ happy. | 38 # Remove carriage returns to make CQ happy. |
| 39 find components -type f \( -name \*.html -o -name \*.css -o -name \*.js\ | 39 find components -type f \( -name \*.html -o -name \*.css -o -name \*.js\ |
| 40 -o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore\ | 40 -o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore\ |
| 41 -o -name \*.bat \) -print0 | xargs -0 sed -i -e $'s/\r$//g' | 41 -o -name \*.bat \) -print0 | xargs -0 sed -i -e $'s/\r$//g' |
| 42 | 42 |
| 43 # Resolve a unicode encoding issue in dom-innerHTML.html. | 43 # Resolve a unicode encoding issue in dom-innerHTML.html. |
| 44 NBSP=$(python -c 'print u"\u00A0".encode("utf-8")') | 44 NBSP=$(python -c 'print u"\u00A0".encode("utf-8")') |
| 45 sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html | 45 sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html |
| 46 | 46 |
| 47 ./extract_inline_scripts.sh components components-chromium | 47 ./extract_inline_scripts.sh components components-chromium |
| OLD | NEW |