Index: build/android/pylib/utils/findbugs.py |
diff --git a/build/android/pylib/utils/findbugs.py b/build/android/pylib/utils/findbugs.py |
index 995801a6a16d4d19714610508967f74c1c8709c6..bcc98c9ce3acdb93ba3d8af4116189a51bc587e5 100755 |
--- a/build/android/pylib/utils/findbugs.py |
+++ b/build/android/pylib/utils/findbugs.py |
@@ -72,7 +72,7 @@ def _GetChromeClasses(release_version): |
version = 'Debug' |
if release_version: |
version = 'Release' |
- path = os.path.join(constants.CHROME_DIR, 'out', version) |
+ path = os.path.join(constants.DIR_SOURCE_ROOT, 'out', version) |
cmd = 'find %s -name "*.class"' % path |
out = cmd_helper.GetCmdOutput(shlex.split(cmd)) |
if not out: |
@@ -98,7 +98,7 @@ def _Run(exclude, known_bugs, classes_to_analyze, auxiliary_classes, |
findbug_args: addtional command line options needs pass to Findbugs. |
""" |
- chrome_src = constants.CHROME_DIR |
+ chrome_src = constants.DIR_SOURCE_ROOT |
sdk_root = constants.ANDROID_SDK_ROOT |
sdk_version = constants.ANDROID_SDK_VERSION |