Commit f96c619a authored by michaelpg's avatar michaelpg Committed by Commit bot

Replace CRLFs in Polymer source files with LFs.

BUG=458315
R=dzhioev@chromium.org

Committed: https://chromium.googlesource.com/chromium/src/+/f42e06146b269624aaa694baa3ee19759ef21b1b

Review URL: https://codereview.chromium.org/920223002

Cr-Commit-Position: refs/heads/master@{#316372}
parent a7376d13
......@@ -38,10 +38,7 @@ only difference that all inline JavaScript blocks are extracted from Polymer
HTML elements to external JS files. This version of the Polymer is used in a web
UI, where CSP forbids an execution of inline scripts. The extraction was made
with the help of the Vulcanize tool (https://github.com/Polymer/vulcanize).
- Stripped whitespace using sed (this or a similar command will be added to
reproduce.sh shortly, but for now is done manually - see crbug.com/458315):
find components components-chromium -type f \( -name \*.html -o -name \*.css -o -name \*.js -o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore \) -print0 | xargs -0 sed -i 's/\r$//g'
- Replaced CRLF line endings with LF line endings in text files.
To restore a content of the 'components', 'components-chromium' directorires
from scratch, run ./reproduce.sh (requires bower and vulcanize >= 0.7.2).
......
......@@ -23,6 +23,11 @@ rm -rf components/{core-component-page,core-field,font-roboto,webcomponentsjs}
# Make checkperms.py happy.
find components/{core-list,core-resizable} -type f -exec chmod -x {} \;
# Remove carriage returns to make CQ happy.
find components -type f \( -name \*.html -o -name \*.css -o -name \*.js\
-o -name \*.md -o -name \*.sh -o -name \*.json -o -name \*.gitignore \)\
-print0 | xargs -0 sed -i -e $'s/\r$//g'
# TODO(dzhioev): remove when
# https://code.google.com/p/grit-i18n/issues/detail?id=30 is fixed
patch -p1 < chromium.patch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment