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

Issue 2250963004: Use keepclassmembers for android.webkit.JavascriptInterface in proguard (Closed)

Created:
4 years, 4 months ago by xunjieli
Modified:
4 years, 4 months ago
Reviewers:
Torne, smaier
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use keepclassmembers for android.webkit.JavascriptInterface in proguard This CL uses -keepclassmembers for android.webkit.JavascriptInterface instead of -keepclasseswithmembers in proguard. The reason is because keeping methods is enough for files annotated with for android.webkit.JavascriptInterface. BUG=634998 Committed: https://crrev.com/761ef674d6498bad0f6c1bbdbbfcec59ffe5bafb Cr-Commit-Position: refs/heads/master@{#412818}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address smaier comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M base/android/base_proguard_config.flags View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
xunjieli
I am not familiar with android.webkit.JavascriptInterface, but it looks like it isn't used in base. ...
4 years, 4 months ago (2016-08-17 18:46:44 UTC) #3
smaier
https://codereview.chromium.org/2250963004/diff/20001/base/android/base_proguard_config.flags File base/android/base_proguard_config.flags (left): https://codereview.chromium.org/2250963004/diff/20001/base/android/base_proguard_config.flags#oldcode21 base/android/base_proguard_config.flags:21: -keepclasseswithmembers class * { I'd prefer you just change ...
4 years, 4 months ago (2016-08-17 19:15:41 UTC) #4
xunjieli
Thanks for the review. PTAL. https://codereview.chromium.org/2250963004/diff/20001/base/android/base_proguard_config.flags File base/android/base_proguard_config.flags (left): https://codereview.chromium.org/2250963004/diff/20001/base/android/base_proguard_config.flags#oldcode21 base/android/base_proguard_config.flags:21: -keepclasseswithmembers class * { ...
4 years, 4 months ago (2016-08-17 19:23:55 UTC) #7
smaier
On 2016/08/17 19:23:55, xunjieli wrote: > Thanks for the review. PTAL. > > https://codereview.chromium.org/2250963004/diff/20001/base/android/base_proguard_config.flags > ...
4 years, 4 months ago (2016-08-17 19:39:51 UTC) #8
Torne
LGTM
4 years, 4 months ago (2016-08-18 10:08:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2250963004/40001
4 years, 4 months ago (2016-08-18 13:20:44 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 4 months ago (2016-08-18 13:52:14 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 13:53:51 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/761ef674d6498bad0f6c1bbdbbfcec59ffe5bafb
Cr-Commit-Position: refs/heads/master@{#412818}

Powered by Google App Engine
This is Rietveld 408576698