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

Issue 1691993003: Hook up LeakCanary to ChromePublic.apk (behind a GN arg) (Closed)

Created:
4 years, 10 months ago by agrieve
Modified:
4 years, 10 months ago
Reviewers:
Yaron, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@leak-canary-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hook up LeakCanary to ChromePublic.apk It's currently hidden behind a GN arg: enable_leakcanary. I hope to make it default to is_debug in the (near) future. It just detects leaked Activities right now. I'll work on having it detect other leaked Contexts next. classes.dex size before change: 6090704 classes.dex size after change: 6090708 BUG=505909 Committed: https://crrev.com/dfec4d0d38ee352d967dabfe46e0a7727619ce02 Cr-Commit-Position: refs/heads/master@{#377356}

Patch Set 1 #

Patch Set 2 : better proguarding #

Total comments: 4

Patch Set 3 : manifest tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -15 lines) Patch
M chrome/android/BUILD.gn View 2 chunks +6 lines, -15 lines 0 comments Download
M chrome/android/chrome_public_apk_tmpl.gni View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/android/java/AndroidManifest.xml View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java View 1 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
agrieve
yfriedman@chromium.org: Please review everything. thakis@chromium.org: Please review chrome/chrome.gyp
4 years, 10 months ago (2016-02-12 02:30:19 UTC) #3
Nico
chrome.gyp lgtm
4 years, 10 months ago (2016-02-12 02:35:45 UTC) #4
Yaron
https://codereview.chromium.org/1691993003/diff/20001/chrome/android/java/AndroidManifest.xml File chrome/android/java/AndroidManifest.xml (right): https://codereview.chromium.org/1691993003/diff/20001/chrome/android/java/AndroidManifest.xml#newcode728 chrome/android/java/AndroidManifest.xml:728: android:name="com.squareup.leakcanary.DisplayLeakService" can we put everything leakcanary in a separate ...
4 years, 10 months ago (2016-02-12 03:01:41 UTC) #5
agrieve
https://codereview.chromium.org/1691993003/diff/20001/chrome/android/java/AndroidManifest.xml File chrome/android/java/AndroidManifest.xml (right): https://codereview.chromium.org/1691993003/diff/20001/chrome/android/java/AndroidManifest.xml#newcode728 chrome/android/java/AndroidManifest.xml:728: android:name="com.squareup.leakcanary.DisplayLeakService" On 2016/02/12 03:01:41, Yaron wrote: > can we ...
4 years, 10 months ago (2016-02-12 18:24:58 UTC) #6
Yaron
lgtm
4 years, 10 months ago (2016-02-12 19:24:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1691993003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1691993003/40001
4 years, 10 months ago (2016-02-24 18:44:37 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-24 19:53:52 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 19:55:59 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dfec4d0d38ee352d967dabfe46e0a7727619ce02
Cr-Commit-Position: refs/heads/master@{#377356}

Powered by Google App Engine
This is Rietveld 408576698