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

Unified Diff: build/android/gyp/jar_toc.py

Issue 1573023002: Fix jar_toc.py to include public/protected methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/jar_toc.py
diff --git a/build/android/gyp/jar_toc.py b/build/android/gyp/jar_toc.py
index 774475bf73938b0db2982d31bf4f0a57f5b1f278..b8309561fbc1290e46d7a5492b192af966eb9dfc 100755
--- a/build/android/gyp/jar_toc.py
+++ b/build/android/gyp/jar_toc.py
@@ -53,11 +53,13 @@ def CallJavap(classpath, classes):
def ExtractToc(disassembled_classes):
# javap output is structured by indent (2-space) levels.
good_patterns = [
- '^[^ ]', # This includes all class/function/member signatures.
+ '^[^ ]', # This includes all class signatures.
'^ SourceFile:',
'^ minor version:',
'^ major version:',
'^ Constant value:',
+ '^ public ',
+ '^ protected ',
]
bad_patterns = [
'^const #', # Matches the constant pool (i.e. literals used in the class).
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698