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 | 7 # Reproduces the content of 'components' and 'components-chromium' using the |
8 # list of dependencies from 'bower.json'. Downloads needed packages and makes | 8 # list of dependencies from 'bower.json'. Downloads needed packages and makes |
9 # Chromium specific modifications. To launch the script you need 'bower' and | 9 # Chromium specific modifications. To launch the script you need 'bower' and |
10 # 'vulcanize' to be install in your system. | 10 # 'vulcanize' to be install in your system. |
11 | 11 |
12 set -e | 12 set -e |
13 | 13 |
14 cd "$(dirname "$0")" | 14 cd "$(dirname "$0")" |
15 | 15 |
16 rm -rf components components-chromium | 16 rm -rf components components-chromium |
17 | 17 |
18 bower install | 18 bower install |
19 rm -rf components/web-animations-js | |
20 find components/core-list -type f -exec chmod -x {} \; | 19 find components/core-list -type f -exec chmod -x {} \; |
21 | 20 |
22 ./extract_inline_scripts.sh components components-chromium | 21 ./extract_inline_scripts.sh components components-chromium |
23 | 22 |
OLD | NEW |