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

Issue 1000793002: [Android] Incorporate findbugs into android builds. (Closed)

Created:
5 years, 9 months ago by jbudorick
Modified:
5 years, 9 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Incorporate findbugs into android builds. BUG=431823 Committed: https://crrev.com/45816be817451773244bf491806806be2cbab1cf Cr-Commit-Position: refs/heads/master@{#321927}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 15

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : disabled by default. #

Patch Set 10 : rebase #

Total comments: 4

Patch Set 11 : add gn option, address Yaron's comment, rebase #

Total comments: 2

Patch Set 12 : address cjhopman's comment + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+496 lines, -339 lines) Patch
M android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/CookieManagerAdapter.java View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/ResourcesContextWrapperFactory.java View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebBackForwardListChromium.java View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebHistoryItemChromium.java View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContentsClient.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwLegacyQuirksTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/PostMessageTest.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M base/android/javatests/src/org/chromium/base/ObserverListTest.java View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M build/android/PRESUBMIT.py View 1 2 3 4 5 6 7 2 chunks +0 lines, -21 lines 0 comments Download
M build/android/buildbot/bb_host_steps.py View 1 2 3 4 5 6 7 3 chunks +1 line, -13 lines 0 comments Download
M build/android/buildbot/bb_run_bot.py View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
A build/android/findbugs_action.gypi View 1 chunk +22 lines, -0 lines 0 comments Download
M build/android/findbugs_diff.py View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +78 lines, -17 lines 0 comments Download
M build/android/findbugs_filter/findbugs_exclude.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -30 lines 0 comments Download
M build/android/pylib/utils/findbugs.py View 1 2 3 4 5 6 7 1 chunk +129 lines, -230 lines 0 comments Download
M build/config/android/config.gni View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 3 4 5 6 7 8 9 10 2 chunks +46 lines, -0 lines 0 comments Download
M build/java.gypi View 1 2 3 4 5 6 7 8 2 chunks +27 lines, -0 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 4 5 6 7 8 2 chunks +28 lines, -0 lines 0 comments Download
M build/protoc_java.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/enhanced_bookmarks/EnhancedBookmarksModelTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/RestoreMigrateTest.java View 1 2 3 4 5 6 7 5 chunks +5 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/AddToHomescreenDialogTest.java View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -3 lines 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/MockUrlRequestJobTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetHttpURLConnectionTest.java View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M components/cronet/android/test/src/org/chromium/net/CronetTestActivity.java View 1 3 chunks +3 lines, -0 lines 0 comments Download
M components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/SocketTunnelServerTest.java View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/commands/CommandSenderTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/PeerConnectionObserverMock.java View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/SignalingReceiverMock.java View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeFieldsTest.java View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/LocationProviderTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/common/CleanupReferenceTest.java View 1 2 3 4 5 6 7 4 chunks +4 lines, -0 lines 0 comments Download
M third_party/cacheinvalidation/cacheinvalidation.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/android/findbugs_plugin/findbugs.xml View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/android/findbugs_plugin/findbugs_plugin.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tools/android/findbugs_plugin/lib/chromiumPlugin.jar View Binary file 0 comments Download
M tools/android/findbugs_plugin/test/run_findbugs_plugin_tests.py View 1 2 3 4 5 6 2 chunks +68 lines, -17 lines 0 comments Download

Messages

Total messages: 32 (5 generated)
jbudorick
5 years, 9 months ago (2015-03-11 22:35:39 UTC) #2
jbudorick
wrt the android_compile_dbg failure: that bot doesn't build the findbugs_pluing_test target, yet it runs the ...
5 years, 9 months ago (2015-03-12 00:13:36 UTC) #4
jbudorick
On 2015/03/12 00:13:36, jbudorick wrote: > wrt the android_compile_dbg failure: that bot doesn't build the ...
5 years, 9 months ago (2015-03-12 00:24:55 UTC) #5
cjhopman
On 2015/03/12 00:24:55, jbudorick wrote: > On 2015/03/12 00:13:36, jbudorick wrote: > > wrt the ...
5 years, 9 months ago (2015-03-12 00:46:44 UTC) #6
cjhopman
https://codereview.chromium.org/1000793002/diff/40001/build/android/findbugs_diff.py File build/android/findbugs_diff.py (right): https://codereview.chromium.org/1000793002/diff/40001/build/android/findbugs_diff.py#newcode81 build/android/findbugs_diff.py:81: parser.add_argument('--stamp') This should also have a depfile argument. The ...
5 years, 9 months ago (2015-03-12 19:22:43 UTC) #7
jbudorick
https://codereview.chromium.org/1000793002/diff/40001/build/android/pylib/utils/findbugs.py File build/android/pylib/utils/findbugs.py (right): https://codereview.chromium.org/1000793002/diff/40001/build/android/pylib/utils/findbugs.py#newcode68 build/android/pylib/utils/findbugs.py:68: def __cmp__(self, other): On 2015/03/12 19:22:43, cjhopman wrote: > ...
5 years, 9 months ago (2015-03-13 13:12:20 UTC) #8
jbudorick
https://codereview.chromium.org/1000793002/diff/80001/build/java_apk.gypi File build/java_apk.gypi (right): https://codereview.chromium.org/1000793002/diff/80001/build/java_apk.gypi#newcode580 build/java_apk.gypi:580: 'python', '<(DEPTH)/build/android/findbugs_diff.py', Note that this doesn't work yet for ...
5 years, 9 months ago (2015-03-13 19:30:36 UTC) #9
cjhopman
https://codereview.chromium.org/1000793002/diff/80001/build/java_apk.gypi File build/java_apk.gypi (right): https://codereview.chromium.org/1000793002/diff/80001/build/java_apk.gypi#newcode580 build/java_apk.gypi:580: 'python', '<(DEPTH)/build/android/findbugs_diff.py', On 2015/03/13 19:30:36, jbudorick wrote: > Note ...
5 years, 9 months ago (2015-03-13 19:42:24 UTC) #10
cjhopman
https://codereview.chromium.org/1000793002/diff/40001/build/android/pylib/utils/findbugs.py File build/android/pylib/utils/findbugs.py (right): https://codereview.chromium.org/1000793002/diff/40001/build/android/pylib/utils/findbugs.py#newcode68 build/android/pylib/utils/findbugs.py:68: def __cmp__(self, other): On 2015/03/13 13:12:19, jbudorick wrote: > ...
5 years, 9 months ago (2015-03-17 01:31:16 UTC) #11
jbudorick
(still working on a revised CL) https://codereview.chromium.org/1000793002/diff/120001/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/1000793002/diff/120001/build/java.gypi#newcode81 build/java.gypi:81: 'run_findbugs%': 1, On ...
5 years, 9 months ago (2015-03-17 01:39:48 UTC) #12
cjhopman
https://codereview.chromium.org/1000793002/diff/120001/build/java.gypi File build/java.gypi (right): https://codereview.chromium.org/1000793002/diff/120001/build/java.gypi#newcode81 build/java.gypi:81: 'run_findbugs%': 1, On 2015/03/17 01:39:47, jbudorick wrote: > On ...
5 years, 9 months ago (2015-03-17 01:55:04 UTC) #13
jbudorick
New patchset still has findbugs enabled by default on gyp s.t. it can hit the ...
5 years, 9 months ago (2015-03-17 03:03:18 UTC) #14
cjhopman
lgtm
5 years, 9 months ago (2015-03-18 22:52:26 UTC) #15
jbudorick
This is the version I'll try to land % OWNERS comments. findbugs is disabled by ...
5 years, 9 months ago (2015-03-19 00:17:34 UTC) #16
jbudorick
Adding OWNERS: +mnaganov for android_webview/ and components/devtools_bridge/ +yfriedman for base/android/, chrome/android/, content/public/android/, and tools/android/ +mef ...
5 years, 9 months ago (2015-03-23 15:17:35 UTC) #18
mnaganov (inactive)
On 2015/03/23 15:17:35, jbudorick wrote: > Adding OWNERS: > > +mnaganov for android_webview/ and components/devtools_bridge/ ...
5 years, 9 months ago (2015-03-23 15:28:01 UTC) #19
Yaron
lgtm I don't want to tax you with fixing all of the existing ones (certainly ...
5 years, 9 months ago (2015-03-23 19:13:16 UTC) #20
Yaron
lgtm I don't want to tax you with fixing all of the existing ones (certainly ...
5 years, 9 months ago (2015-03-23 19:13:16 UTC) #21
mef
components/cronet/* lgtm https://codereview.chromium.org/1000793002/diff/180001/components/cronet/android/test/javatests/src/org/chromium/net/MockUrlRequestJobTest.java File components/cronet/android/test/javatests/src/org/chromium/net/MockUrlRequestJobTest.java (right): https://codereview.chromium.org/1000793002/diff/180001/components/cronet/android/test/javatests/src/org/chromium/net/MockUrlRequestJobTest.java#newcode256 components/cronet/android/test/javatests/src/org/chromium/net/MockUrlRequestJobTest.java:256: @SuppressFBWarnings("DLS_DEAD_LOCAL_STORE") Is DLS_DEAD_LOCAL_STORE complaining about value being ...
5 years, 9 months ago (2015-03-23 19:28:11 UTC) #22
jbudorick
cjhopman: I added a run_findbugs option for gn, ptal yfriedman & mef: I'd be ok ...
5 years, 9 months ago (2015-03-23 19:49:21 UTC) #23
Nicolas Zea
cacheinvalidation lgtm
5 years, 9 months ago (2015-03-23 20:30:32 UTC) #24
cjhopman
https://codereview.chromium.org/1000793002/diff/200001/build/android/findbugs_diff.py File build/android/findbugs_diff.py (right): https://codereview.chromium.org/1000793002/diff/200001/build/android/findbugs_diff.py#newcode100 build/android/findbugs_diff.py:100: build_utils.GetPythonDependencies()) This list of inputs should include jar_paths and ...
5 years, 9 months ago (2015-03-24 01:01:07 UTC) #25
jbudorick
https://codereview.chromium.org/1000793002/diff/200001/build/android/findbugs_diff.py File build/android/findbugs_diff.py (right): https://codereview.chromium.org/1000793002/diff/200001/build/android/findbugs_diff.py#newcode100 build/android/findbugs_diff.py:100: build_utils.GetPythonDependencies()) On 2015/03/24 01:01:07, cjhopman wrote: > This list ...
5 years, 9 months ago (2015-03-24 01:21:07 UTC) #26
cjhopman
lgtm
5 years, 9 months ago (2015-03-24 01:24:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1000793002/220001
5 years, 9 months ago (2015-03-24 01:50:26 UTC) #30
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 9 months ago (2015-03-24 03:15:04 UTC) #31
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 03:15:54 UTC) #32
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/45816be817451773244bf491806806be2cbab1cf
Cr-Commit-Position: refs/heads/master@{#321927}

Powered by Google App Engine
This is Rietveld 408576698