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

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

Issue 1834313003: Remove unneeded files from third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore bower.json files. Created 4 years, 8 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/sh 1 #!/bin/sh
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 dirs=$(find components-chromium -type d | grep -v 'components-chromium/polymer') 6 dirs=$(find components-chromium -type d | grep -v 'components-chromium/polymer')
7 7
8 for dir in $dirs; do 8 for dir in $dirs; do
9 htmls=$(\ls $dir/*.html 2>/dev/null | egrep -v '(demo|index)\.html') 9 htmls=$(\ls $dir/*.html 2>/dev/null)
michaelpg 2016/04/02 02:15:53 nice
10 if [ "$htmls" ]; then 10 if [ "$htmls" ]; then
11 echo "Creating $dir/compiled_resources2.gyp" 11 echo "Creating $dir/compiled_resources2.gyp"
12 ../../../tools/polymer/generate_compiled_resources_gyp.py $htmls > \ 12 ../../../tools/polymer/generate_compiled_resources_gyp.py $htmls > \
13 "$dir/compiled_resources2.gyp" 13 "$dir/compiled_resources2.gyp"
14 fi 14 fi
15 done 15 done
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698