summaryrefslogtreecommitdiffstats
path: root/build/android/gyp
diff options
context:
space:
mode:
authorboliu <boliu@chromium.org>2016-01-11 08:54:25 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-11 16:55:32 +0000
commit1b4abd14aae0fcffc65b96a5fa6554290386cc4b (patch)
tree7026ecdd9fd265980507c3287ce9d7abfaf7d72a /build/android/gyp
parentd477cca9426f2f7db71c147fffa054fb10ca22a8 (diff)
downloadchromium_src-1b4abd14aae0fcffc65b96a5fa6554290386cc4b.zip
chromium_src-1b4abd14aae0fcffc65b96a5fa6554290386cc4b.tar.gz
chromium_src-1b4abd14aae0fcffc65b96a5fa6554290386cc4b.tar.bz2
Fix jar_toc.py to include public/protected methods
Otherwise a method-only change does not cause dependent jars to be rebuilt. Review URL: https://codereview.chromium.org/1573023002 Cr-Commit-Position: refs/heads/master@{#368604}
Diffstat (limited to 'build/android/gyp')
-rwxr-xr-xbuild/android/gyp/jar_toc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/android/gyp/jar_toc.py b/build/android/gyp/jar_toc.py
index 774475b..b830956 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).