blob: 943a13c73eea486ddfe66776d1082e5ae1cdcd08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
dirs=$(find components-chromium -type d | grep -v 'components-chromium/polymer')
for dir in $dirs; do
htmls=$(\ls $dir/*.html 2>/dev/null | egrep -v '(demo|index)\.html')
if [ "$htmls" ]; then
echo "Creating $dir/compiled_resources2.gyp"
../../../tools/polymer/generate_compiled_resources_gyp.py $htmls > \
"$dir/compiled_resources2.gyp"
fi
done
|