Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / polymer / reproduce.sh
1 #!/bin/bash
2
3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Reproduces the content of 'components' and 'components-chromium' using the
8 # list of dependencies from 'bower.json'. Downloads needed packages and makes
9 # Chromium specific modifications. To launch the script you need 'bower' and
10 # 'vulcanize' to be install in your system.
11
12 set -e
13
14 cd "$(dirname "$0")"
15
16 rm -rf components components-chromium
17
18 bower install
19 rm -rf components/web-animations-js
20 find components/core-list -type f -exec chmod -x {} \;
21
22 ./extract_inline_scripts.sh components components-chromium
23