OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 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 |
7 set -e | 12 set -e |
8 | 13 |
9 cd "$(dirname $0)" | 14 cd "$(dirname $0)" |
10 | 15 |
11 rm -rf components | 16 rm -rf components components-chromium |
| 17 |
12 bower install | 18 bower install |
13 find components/web-animations-js/ -type f \ | 19 find components/web-animations-js/ -type f \ |
14 -not \( -name web-animations.js -o \ | 20 -not \( -name web-animations.js -o \ |
15 -name README.md -o \ | 21 -name README.md -o \ |
16 -name COPYING \) -delete | 22 -name COPYING \) -delete |
17 find components/web-animations-js/ -type d -empty -delete | 23 find components/web-animations-js/ -type d -empty -delete |
18 find components/core-list -type f -exec chmod -x {} \; | 24 find components/core-list -type f -exec chmod -x {} \; |
19 | 25 |
| 26 ./extract_inline_scripts.sh components components-chromium |
| 27 |
OLD | NEW |