Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: tools/binary_size/README.md

Issue 2817553003: //tools/binary_size: Fix source paths for linux builds (Closed)
Patch Set: add exclude_unwind_tables Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/binary_size/libsupersize/archive.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/README.md
diff --git a/tools/binary_size/README.md b/tools/binary_size/README.md
index 4bc66ea6d138a426a9fce29a9bc6ae2d4b17b025..15d4cc2e35cc3d8d2522a47ad8c48eee3eae887a 100644
--- a/tools/binary_size/README.md
+++ b/tools/binary_size/README.md
@@ -12,11 +12,19 @@ symbol information parsed from a linker .map file.
### Example Usage:
# Android:
- gn gen out/Release --args='target_os="android" is_official_build=true'
+ # Googlers:
+ gn gen out/Release --args='is_official_build=true symbol_level=1 is_chrome_branded=true target_os="android"'
+ # Non-Googlers:
+ gn gen out/Release --args='is_official_build=true symbol_level=1 exclude_unwind_tables=true ffmpeg_branding="Chrome" proprietary_codecs=true target_os="android"'
ninja -C out/Release -j 1000 libchrome.so
tools/binary_size/supersize archive chrome.size --elf-file out/Release/lib.unstripped/libchrome.so -v
+
# Linux:
- gn gen out/Release --args='is_official_build=true'
+ LLVM_DOWNLOAD_GOLD_PLUGIN=1 gclient runhooks # One-time download.
+ # Googlers:
+ gn gen out/Release --args='is_official_build=true symbol_level=1 is_chrome_branded=true'
+ # Non-Googlers:
+ gn gen out/Release --args='is_official_build=true symbol_level=1 exclude_unwind_tables=true ffmpeg_branding="Chrome" proprietary_codecs=true'
ninja -C out/Release -j 1000 chrome
tools/binary_size/supersize archive chrome.size --elf-file out/Release/chrome -v
« no previous file with comments | « no previous file | tools/binary_size/libsupersize/archive.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698