Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2301)

Unified Diff: build/android/pylib/utils/findbugs.py

Issue 15979032: Android: renames pylib.constants.CHROME_DIR to DIR_SOURCE_ROOT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698