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

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

Issue 1702553002: Generate compiled_resources2.gyp for Polymer based on <link rel=import>s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: asdf Created 4 years, 10 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
(Empty)
1 #!/bin/sh
2
3 dirs=$(find components-chromium -type d | grep -v 'components-chromium/polymer')
4
5 for dir in $dirs; do
6 htmls=$(/bin/ls $dir/*.html 2>/dev/null | grep -v 'index\.html')
michaelpg 2016/02/16 19:22:21 as a bash noob: why /bin/ls instead of \ls
Dan Beam 2016/02/16 21:05:50 /bin/ls because many people alias the `ls` command
michaelpg 2016/02/17 06:26:48 ya but that's why you use \ls $ alias ls='sudo rm
Dan Beam 2016/02/17 17:23:11 Done.
7 if [ "$htmls" ]; then
8 echo "Generating GYP for $dir"
9 ../../../tools/polymer/generate_compiled_resources_gypi.py $htmls > \
10 "$dir/compiled_resources2.gyp"
11 fi
12 done
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698