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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 if [[ ! -z "${new}${deleted}" ]]; then | 97 if [[ ! -z "${new}${deleted}" ]]; then |
98 echo | 98 echo |
99 fi | 99 fi |
100 | 100 |
101 echo 'Creating a summary of components...' | 101 echo 'Creating a summary of components...' |
102 python create_components_summary.py > components_summary.txt | 102 python create_components_summary.py > components_summary.txt |
103 | 103 |
104 echo 'Creating GYP files for interfaces and externs...' | 104 echo 'Creating GYP files for interfaces and externs...' |
105 ./generate_gyp.sh | 105 ./generate_gyp.sh |
106 | 106 |
107 echo 'Vulcanizing dependent UIs (i.e. downloads)...' | 107 echo 'Vulcanizing dependent UIs (downloads and history)...' |
108 python ../../../chrome/browser/resources/md_downloads/vulcanize.py | 108 python ../../../chrome/browser/resources/md_downloads/vulcanize.py |
| 109 python ../../../chrome/browser/resources/md_history/vulcanize.py |
109 | 110 |
110 popd > /dev/null | 111 popd > /dev/null |
111 | 112 |
112 echo 'Searching for unused elements...' | 113 echo 'Searching for unused elements...' |
113 "$(dirname "$0")"/find_unused_elements.py | 114 "$(dirname "$0")"/find_unused_elements.py |
OLD | NEW |