| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # based on an almost identical script by: jyrki@google.com (Jyrki Alakuijala) | 5 # based on an almost identical script by: jyrki@google.com (Jyrki Alakuijala) |
| 6 | 6 |
| 7 """Prints out include dependencies in chrome. | 7 """Prints out include dependencies in chrome. |
| 8 | 8 |
| 9 Since it ignores defines, it gives just a rough estimation of file size. | 9 Since it ignores defines, it gives just a rough estimation of file size. |
| 10 | 10 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 'third_party/WebKit/Source/core/svg/graphics', | 105 'third_party/WebKit/Source/core/svg/graphics', |
| 106 'third_party/WebKit/Source/core/svg/graphics/filters', | 106 'third_party/WebKit/Source/core/svg/graphics/filters', |
| 107 'third_party/WebKit/Source/core/svg/properties', | 107 'third_party/WebKit/Source/core/svg/properties', |
| 108 'third_party/WebKit/Source/core/webaudio', | 108 'third_party/WebKit/Source/core/webaudio', |
| 109 'third_party/WebKit/Source/core/websockets', | 109 'third_party/WebKit/Source/core/websockets', |
| 110 'third_party/WebKit/Source/core/workers', | 110 'third_party/WebKit/Source/core/workers', |
| 111 'third_party/WebKit/Source/core/xml', | 111 'third_party/WebKit/Source/core/xml', |
| 112 'third_party/WebKit/Source/public', | 112 'third_party/WebKit/Source/public', |
| 113 'third_party/WebKit/Source/web', | 113 'third_party/WebKit/Source/web', |
| 114 'third_party/WebKit/Source/wtf', | 114 'third_party/WebKit/Source/wtf', |
| 115 'third_party/cld', | |
| 116 'third_party/google_toolbox_for_mac/src', | 115 'third_party/google_toolbox_for_mac/src', |
| 117 'third_party/icu/public/common', | 116 'third_party/icu/public/common', |
| 118 'third_party/icu/public/i18n', | 117 'third_party/icu/public/i18n', |
| 119 'third_party/npapi', | 118 'third_party/npapi', |
| 120 'third_party/npapi/bindings', | 119 'third_party/npapi/bindings', |
| 121 'third_party/protobuf', | 120 'third_party/protobuf', |
| 122 'third_party/protobuf/src', | 121 'third_party/protobuf/src', |
| 123 'third_party/skia/gpu/include', | 122 'third_party/skia/gpu/include', |
| 124 'third_party/skia/include/config', | 123 'third_party/skia/include/config', |
| 125 'third_party/skia/include/core', | 124 'third_party/skia/include/core', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 192 |
| 194 | 193 |
| 195 def main(): | 194 def main(): |
| 196 bytes = Walk(set(), sys.argv[1], '', 0) | 195 bytes = Walk(set(), sys.argv[1], '', 0) |
| 197 print | 196 print |
| 198 print float(bytes) / (1 << 20), "megabytes of chrome source" | 197 print float(bytes) / (1 << 20), "megabytes of chrome source" |
| 199 | 198 |
| 200 | 199 |
| 201 if __name__ == '__main__': | 200 if __name__ == '__main__': |
| 202 sys.exit(main()) | 201 sys.exit(main()) |
| OLD | NEW |