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

Issue 1684043002: Fix build failure of chrome_public_apk on Android GN build (Closed)

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

Description

Fix build failure of chrome_public_apk on Android GN build chrome::GetTotalBrowserCount() and ChromeWebUsbPermissionBubble::Bind are not available on Android, and their invocation cause a link error on Android GN build. The caller is also not used on Android, and seems to be GCed on GYP build. This CL ifdefs out the problematic code to fix it. Committed: https://crrev.com/a2f1ff976845da38f13efaec18aead3f04142ac7 Cr-Commit-Position: refs/heads/master@{#374764}

Patch Set 1 #

Total comments: 2

Patch Set 2 : +#endif comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M chrome/browser/lifetime/application_lifetime.h View 1 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/lifetime/application_lifetime.cc View 1 7 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/usb/usb_tab_helper.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/usb/usb_tab_helper.cc View 1 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1684043002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1684043002/1
4 years, 10 months ago (2016-02-10 09:37:51 UTC) #4
tzik
PTAL
4 years, 10 months ago (2016-02-10 10:36:52 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-10 11:23:49 UTC) #7
gone
lgtm
4 years, 10 months ago (2016-02-10 17:56:00 UTC) #8
Reilly Grant (use Gerrit)
lgtm
4 years, 10 months ago (2016-02-10 19:13:29 UTC) #9
Lei Zhang
lgtm I had plans to do some refactoring in application_lifetime.cc, but haven't had time. This ...
4 years, 10 months ago (2016-02-10 20:14:11 UTC) #10
tzik
https://codereview.chromium.org/1684043002/diff/1/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/1684043002/diff/1/chrome/browser/lifetime/application_lifetime.cc#newcode314 chrome/browser/lifetime/application_lifetime.cc:314: #endif On 2016/02/10 20:14:10, Lei Zhang wrote: > It ...
4 years, 10 months ago (2016-02-10 21:12:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1684043002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1684043002/20001
4 years, 10 months ago (2016-02-10 21:14:41 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-10 23:00:01 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:32:05 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a2f1ff976845da38f13efaec18aead3f04142ac7
Cr-Commit-Position: refs/heads/master@{#374764}

Powered by Google App Engine
This is Rietveld 408576698