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

Unified Diff: tools/unused-symbols-report.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 9 years, 1 month 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 | « tools/traceline/traceline/scripts/syscalls.py ('k') | tools/valgrind/asan/asan_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/unused-symbols-report.py
diff --git a/tools/unused-symbols-report.py b/tools/unused-symbols-report.py
index 12eb05377bf53d8fa11e173a279f7e90c1f14772..900bf16e120b1b0bd8b94647ed5e2464badb933e 100755
--- a/tools/unused-symbols-report.py
+++ b/tools/unused-symbols-report.py
@@ -1,9 +1,9 @@
-#!/usr/bin/python
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+#!/usr/bin/env python
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Print a report of symbols stripped by the linker due to being unused.
+"""Prints a report of symbols stripped by the linker due to being unused.
To use, build with these linker flags:
-Wl,--gc-sections
@@ -166,5 +166,6 @@ def main():
only_paths=opts.only_paths)
Output(iter)
+
if __name__ == '__main__':
main()
« no previous file with comments | « tools/traceline/traceline/scripts/syscalls.py ('k') | tools/valgrind/asan/asan_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698