Index: build/android/pylib/utils/findbugs.py |
diff --git a/build/android/pylib/utils/findbugs.py b/build/android/pylib/utils/findbugs.py |
index 208b0cf45dc8e5841a27f7a8bb3df7a9671912de..2f0fff91bb68c40793f92946a470a34de366d17c 100644 |
--- a/build/android/pylib/utils/findbugs.py |
+++ b/build/android/pylib/utils/findbugs.py |
@@ -70,7 +70,10 @@ def _GetChromeJars(release_version): |
version = 'Debug' |
if release_version: |
version = 'Release' |
- path = os.path.join(constants.DIR_SOURCE_ROOT, 'out', version, 'lib.java') |
+ path = os.path.join(constants.DIR_SOURCE_ROOT, |
+ os.environ.get('CHROMIUM_OUT_DIR', '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')] |