| 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 # 'crisper' installed on your system. | 10 # 'crisper' installed on your system. |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 fi | 101 fi |
| 102 | 102 |
| 103 echo 'Creating a summary of components...' | 103 echo 'Creating a summary of components...' |
| 104 python create_components_summary.py > components_summary.txt | 104 python create_components_summary.py > components_summary.txt |
| 105 | 105 |
| 106 echo 'Creating GYP files for interfaces and externs...' | 106 echo 'Creating GYP files for interfaces and externs...' |
| 107 ./generate_gyp.sh | 107 ./generate_gyp.sh |
| 108 | 108 |
| 109 echo 'Vulcanizing dependent UIs...' | 109 echo 'Vulcanizing dependent UIs...' |
| 110 python ../../../chrome/browser/resources/vulcanize.py | 110 python ../../../chrome/browser/resources/vulcanize.py |
| 111 python ../../../chrome/browser/resources/settings/vulcanize.py linux |
| 111 | 112 |
| 112 popd > /dev/null | 113 popd > /dev/null |
| 113 | 114 |
| 114 echo 'Searching for unused elements...' | 115 echo 'Searching for unused elements...' |
| 115 "$(dirname "$0")"/find_unused_elements.py | 116 "$(dirname "$0")"/find_unused_elements.py |
| OLD | NEW |