| Index: build/android/findbugs_diff.py
|
| diff --git a/build/android/findbugs_diff.py b/build/android/findbugs_diff.py
|
| index d222e324373906d2c80344c129a34b378a2e563c..8034b718b207ff3572e4752f99472357e838a747 100755
|
| --- a/build/android/findbugs_diff.py
|
| +++ b/build/android/findbugs_diff.py
|
| @@ -20,15 +20,17 @@ import argparse
|
| import os
|
| import sys
|
|
|
| +import devil_chromium
|
| from devil.utils import run_tests_helper
|
| -from pylib import constants
|
| +
|
| +from pylib.constants import host_paths
|
| from pylib.utils import findbugs
|
|
|
| _DEFAULT_BASE_DIR = os.path.join(
|
| - constants.DIR_SOURCE_ROOT, 'build', 'android', 'findbugs_filter')
|
| + host_paths.DIR_SOURCE_ROOT, 'build', 'android', 'findbugs_filter')
|
|
|
| sys.path.append(
|
| - os.path.join(constants.DIR_SOURCE_ROOT, 'build', 'android', 'gyp'))
|
| + os.path.join(host_paths.DIR_SOURCE_ROOT, 'build', 'android', 'gyp'))
|
| from util import build_utils # pylint: disable=import-error
|
|
|
|
|
| @@ -75,6 +77,8 @@ def main():
|
|
|
| run_tests_helper.SetLogLevel(args.verbose)
|
|
|
| + devil_chromium.Initialize()
|
| +
|
| if args.auxclasspath:
|
| args.auxclasspath = args.auxclasspath.split(':')
|
| elif args.auxclasspath_gyp:
|
|
|