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

Issue 11967019: [Android] Sever findbugs dependencies on environment variables. (Closed)

Created:
7 years, 11 months ago by Yaron
Modified:
7 years, 11 months ago
Reviewers:
frankf
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

[Android] Sever findbugs dependencies on environment variables. Use pylib constants instead. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177208

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : move findbugs #

Patch Set 4 : #

Patch Set 5 : remove checkenvronment check #

Total comments: 2

Patch Set 6 : fit nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -270 lines) Patch
M build/android/findbugs_diff.py View 1 2 1 chunk +3 lines, -7 lines 0 comments Download
M build/android/pylib/constants.py View 1 chunk +1 line, -0 lines 0 comments Download
M build/android/pylib/findbugs.py View 1 2 1 chunk +0 lines, -240 lines 0 comments Download
A + build/android/pylib/utils/findbugs.py View 1 2 3 5 chunks +7 lines, -12 lines 0 comments Download
M tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py View 1 2 3 4 5 2 chunks +7 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yaron
7 years, 11 months ago (2013-01-16 18:00:30 UTC) #1
frankf
Drive-by. https://codereview.chromium.org/11967019/diff/1/build/android/findbugs_diff.py File build/android/findbugs_diff.py (left): https://codereview.chromium.org/11967019/diff/1/build/android/findbugs_diff.py#oldcode31 build/android/findbugs_diff.py:31: from pylib import findbugs while you're here, move ...
7 years, 11 months ago (2013-01-16 18:10:46 UTC) #2
Yaron
https://codereview.chromium.org/11967019/diff/1/build/android/findbugs_diff.py File build/android/findbugs_diff.py (left): https://codereview.chromium.org/11967019/diff/1/build/android/findbugs_diff.py#oldcode31 build/android/findbugs_diff.py:31: from pylib import findbugs On 2013/01/16 18:10:46, frankf wrote: ...
7 years, 11 months ago (2013-01-16 18:15:28 UTC) #3
frankf
Eventually, we won't have anything in the top-level package. Tentative plan is to have a ...
7 years, 11 months ago (2013-01-16 18:20:36 UTC) #4
Yaron
moved
7 years, 11 months ago (2013-01-16 19:15:19 UTC) #5
frankf
lgtm https://codereview.chromium.org/11967019/diff/10006/tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py File tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py (right): https://codereview.chromium.org/11967019/diff/10006/tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py#newcode21 tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py:21: lib_folder = os.path.join(os.getenv('CHROME_SRC'), 'build', 'android') Nit: Use pylib ...
7 years, 11 months ago (2013-01-16 19:22:22 UTC) #6
Yaron
7 years, 11 months ago (2013-01-16 20:30:53 UTC) #7
Thanks for the review. Landing

https://codereview.chromium.org/11967019/diff/10006/tools/android/findbugs_pl...
File tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py (right):

https://codereview.chromium.org/11967019/diff/10006/tools/android/findbugs_pl...
tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py:21: lib_folder =
os.path.join(os.getenv('CHROME_SRC'), 'build', 'android')
On 2013/01/16 19:22:23, frankf wrote:
> Nit: Use pylib constants here too.

I can't because we're using this to get the path to pylib. Changed to using
offset from __file__ and changed the lower usage to constants.

Powered by Google App Engine
This is Rietveld 408576698