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

Issue 2148293003: Excluded non-chromeos source files in chromeos build (Closed)

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

Description

Excluded non-chromeos source files in chromeos build Excluded profile_chooser_view and profile_signin_confirmation_dialog_views in chromeos builds because they are desktop-only views. Building them in chromeos prevents them from using desktop-only functions. For an example, see the build failures in https://codereview.chromium.org/2151513002/#ps100001. Tested by applying the above patch and verifying that the build passes. BUG=615893 Committed: https://crrev.com/1831391aeba23ff66f87678b619ddee6113066d2 Cr-Commit-Position: refs/heads/master@{#406443}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Modified includes #

Patch Set 3 : Moved some view files to chrome_browser_ui_views_non_chromeos_sources #

Patch Set 4 : Refactored unit test to avoid unused variable error #

Total comments: 2

Patch Set 5 : Modified BUILD.gn #

Total comments: 10

Patch Set 6 : Addressed comments #

Total comments: 2

Patch Set 7 : Final nit #

Patch Set 8 : Fixed failed test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -77 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc View 1 2 3 4 5 6 7 5 chunks +49 lines, -62 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tab_dialogs_views.cc View 1 2 chunks +8 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 63 (48 generated)
Jane
Thanks!
4 years, 5 months ago (2016-07-15 15:00:31 UTC) #6
msw
Why do we have asterisks before our names in the reviewers field? https://codereview.chromium.org/2148293003/diff/1/chrome/browser/ui/views/tab_dialogs_views.cc File chrome/browser/ui/views/tab_dialogs_views.cc ...
4 years, 5 months ago (2016-07-15 15:51:27 UTC) #9
tapted
> Why do we have asterisks before our names in the reviewers field? I seem ...
4 years, 5 months ago (2016-07-18 21:20:59 UTC) #10
Jane
PTAL & let me know if I missed anything, thanks! https://codereview.chromium.org/2148293003/diff/1/chrome/browser/ui/views/tab_dialogs_views.cc File chrome/browser/ui/views/tab_dialogs_views.cc (right): https://codereview.chromium.org/2148293003/diff/1/chrome/browser/ui/views/tab_dialogs_views.cc#newcode12 ...
4 years, 5 months ago (2016-07-19 04:33:55 UTC) #35
tapted
https://codereview.chromium.org/2148293003/diff/140001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/2148293003/diff/140001/chrome/chrome_tests.gypi#newcode2651 chrome/chrome_tests.gypi:2651: ['toolkit_views==1 and (OS!="mac" or mac_views_browser==1) and chromeos == 0', ...
4 years, 5 months ago (2016-07-19 05:42:30 UTC) #36
Jane
https://codereview.chromium.org/2148293003/diff/140001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/2148293003/diff/140001/chrome/chrome_tests.gypi#newcode2651 chrome/chrome_tests.gypi:2651: ['toolkit_views==1 and (OS!="mac" or mac_views_browser==1) and chromeos == 0', ...
4 years, 5 months ago (2016-07-19 13:35:39 UTC) #37
msw
https://codereview.chromium.org/2148293003/diff/160001/chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc (right): https://codereview.chromium.org/2148293003/diff/160001/chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc#newcode43 chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc:43: void CreateRemoveSigninBrowser(Browser* last_active); This name is a bit confusing, ...
4 years, 5 months ago (2016-07-19 18:51:05 UTC) #39
Jane
https://codereview.chromium.org/2148293003/diff/160001/chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc (right): https://codereview.chromium.org/2148293003/diff/160001/chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc#newcode43 chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc:43: void CreateRemoveSigninBrowser(Browser* last_active); On 2016/07/19 18:51:04, msw wrote: > ...
4 years, 5 months ago (2016-07-19 21:29:57 UTC) #41
msw
lgtm with a nit https://codereview.chromium.org/2148293003/diff/220001/chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc (right): https://codereview.chromium.org/2148293003/diff/220001/chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc#newcode93 chrome/browser/ui/views/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc:93: EXPECT_EQ(starting_tab_count, browser()->tab_strip_model()->count()); optional nit: move ...
4 years, 5 months ago (2016-07-19 21:42:05 UTC) #42
Jane
Heads up that the incognito browser test failed; I think tab count should be (starting_tab_count_normal ...
4 years, 5 months ago (2016-07-19 23:15:11 UTC) #49
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/2148293003/260001
4 years, 5 months ago (2016-07-20 01:15:56 UTC) #54
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No L-G-T-M from ...
4 years, 5 months ago (2016-07-20 01:15:59 UTC) #56
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/2148293003/260001
4 years, 5 months ago (2016-07-20 01:22:57 UTC) #59
commit-bot: I haz the power
Committed patchset #8 (id:260001)
4 years, 5 months ago (2016-07-20 01:38:11 UTC) #61
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 01:40:09 UTC) #63
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1831391aeba23ff66f87678b619ddee6113066d2
Cr-Commit-Position: refs/heads/master@{#406443}

Powered by Google App Engine
This is Rietveld 408576698