summaryrefslogtreecommitdiffstats
path: root/build/all.gyp
diff options
context:
space:
mode:
authorbratell@opera.com <bratell@opera.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-22 18:49:40 +0000
committerbratell@opera.com <bratell@opera.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-22 18:49:40 +0000
commit17a6219729e23c3053dabebbb7d2d6cca43a135f (patch)
treeb87423688b071d43c90793953d6b2bac485ae1e8 /build/all.gyp
parent56281735c6141a07f03fff2e9be6ac0eaccdc76f (diff)
downloadchromium_src-17a6219729e23c3053dabebbb7d2d6cca43a135f.zip
chromium_src-17a6219729e23c3053dabebbb7d2d6cca43a135f.tar.gz
chromium_src-17a6219729e23c3053dabebbb7d2d6cca43a135f.tar.bz2
Graphical version of the run_binary_size_analysis tool.
The binary_size tool suit includes tools that are useful when trying to reduce binary size of a program, and chromium related programs in particular. This commit (mostly written by andrewhayden@chromium.org for Android but ported to generic Linux by bratell@opera.com) adds a graphical HTML based output for run_binary_size_analysis.py. In the generated web page it is possible to dynamically and graphically browse the binary and each part of the source tree is given a size that reflects its contribution to the binary size. The run_binary_size_analysis tool is run on compiled binaries with symbols and uses nm and addr2line to map parts of the binary to source code. Since addr2line is slow the operation to map binary symbols to source files takes a while but the output is well worth it when shrinking programs. See its usage information for details about how to run it. This commit also includes the tool explain_binary_size_delta.py (textual output) which can be used to understand why a binary changed size and in what way. See its usage information for details about how to run it. There are many further improvements possible to to do on these tools. Search the bug database for Label:Tools-BinarySize for suggestions. BUG=339059 R=primiano@chromium.org,andrewhayden@chromium.org Review URL: https://codereview.chromium.org/258633003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/all.gyp')
-rw-r--r--build/all.gyp8
1 files changed, 0 insertions, 8 deletions
diff --git a/build/all.gyp b/build/all.gyp
index 202ae59..75e224d 100644
--- a/build/all.gyp
+++ b/build/all.gyp
@@ -817,14 +817,6 @@
}],
],
}, # target_name: android_builder_chromium_webrtc
- {
- # Build the java portions of the binary size analysis tool.
- 'target_name': 'binary_size_tool',
- 'type': 'none',
- 'dependencies': [
- '../tools/binary_size/binary_size.gyp:binary_size_java',
- ],
- },
], # targets
}], # OS="android"
['OS=="mac"', {