| Index: build/android/pylib/utils/findbugs.py
|
| diff --git a/build/android/pylib/utils/findbugs.py b/build/android/pylib/utils/findbugs.py
|
| index fb672680fe1b6cfdef20ba0068977b2f8ab30ef8..4037ebdf7cf4f35c001b5b9c6da240ecc8512889 100644
|
| --- a/build/android/pylib/utils/findbugs.py
|
| +++ b/build/android/pylib/utils/findbugs.py
|
| @@ -70,12 +70,13 @@ def _GetChromeClasses(release_version):
|
| version = 'Debug'
|
| if release_version:
|
| version = 'Release'
|
| - path = os.path.join(constants.DIR_SOURCE_ROOT, 'out', version)
|
| - cmd = 'find %s -name "*.class"' % path
|
| + path = os.path.join(constants.DIR_SOURCE_ROOT, 'out', version, 'lib.java')
|
| + cmd = 'find %s -name "*.jar"' % path
|
| out = cmd_helper.GetCmdOutput(shlex.split(cmd))
|
| + out = [p for p in out.splitlines() if not p.endswith('.dex.jar')]
|
| if not out:
|
| print 'No classes found in %s' % path
|
| - return out
|
| + return ' '.join(out)
|
|
|
|
|
| def _Run(exclude, known_bugs, classes_to_analyze, auxiliary_classes,
|
|
|