blob: 9c4be84221ad01e398cea360fb54efa92a7578f5 [file] [log] [blame]
#!/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)
if [ "$htmls" ]; then
echo "Creating $dir/compiled_resources2.gyp"
../../../tools/polymer/generate_compiled_resources_gyp.py $htmls > \
"$dir/compiled_resources2.gyp"
fi
done