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

Issue 2632463004: Android: Hook up aapt's main dex proguard rules (Closed)

Created:
3 years, 11 months ago by agrieve
Modified:
3 years, 11 months ago
Reviewers:
estevenson
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Hook up aapt's main dex proguard rules Noticed that aapt now has a flag for outputing a proguard rules file for use when determining which classes to put in the main dex. For ChromePublic.apk, it produces a file with a single rule: -keep class org.chromium.chrome.browser.ChromeBackupAgent { <init>(...); } Looks like this class wasn't already being explicitly kept in the main dex, so it's possible that some part of backups was broken for debug builds (where multidex is enabled). BUG=none Review-Url: https://codereview.chromium.org/2632463004 Cr-Commit-Position: refs/heads/master@{#443687} Committed: https://chromium.googlesource.com/chromium/src/+/ba68db1ef24638f8e1eae8d12ff6a9fff0f1b096

Patch Set 1 #

Total comments: 2

Patch Set 2 : add as input #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -0 lines) Patch
M build/android/gyp/process_resources.py View 3 chunks +5 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 chunks +16 lines, -0 lines 0 comments Download
M build/config/android/rules.gni View 1 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
agrieve
On 2017/01/13 15:32:08, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:estevenson@chromium.org 📐
3 years, 11 months ago (2017-01-13 15:32:22 UTC) #3
estevenson
lgtm https://codereview.chromium.org/2632463004/diff/1/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/2632463004/diff/1/build/config/android/internal_rules.gni#newcode948 build/config/android/internal_rules.gni:948: rebase_path(invoker.extra_main_dex_proguard_config, root_build_dir), Should this also be an input?
3 years, 11 months ago (2017-01-13 16:35:12 UTC) #4
agrieve
https://codereview.chromium.org/2632463004/diff/1/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/2632463004/diff/1/build/config/android/internal_rules.gni#newcode948 build/config/android/internal_rules.gni:948: rebase_path(invoker.extra_main_dex_proguard_config, root_build_dir), On 2017/01/13 16:35:12, estevenson wrote: > Should ...
3 years, 11 months ago (2017-01-13 17:58:39 UTC) #5
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/2632463004/20001
3 years, 11 months ago (2017-01-13 17:59:12 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/348088)
3 years, 11 months ago (2017-01-13 20:30:10 UTC) #10
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/2632463004/20001
3 years, 11 months ago (2017-01-13 21:12:12 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 21:54:26 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ba68db1ef24638f8e1eae8d12ff6...

Powered by Google App Engine
This is Rietveld 408576698