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

Issue 2561013002: Remove the enable_themes build flag and define. (Closed)

Created:
4 years ago by brettw
Modified:
4 years ago
Reviewers:
yzshen1, Dan Beam
CC:
chromium-reviews, pam+watch_chromium.org, asanka, skanuj+watch_chromium.org, melevin+watch_chromium.org, oshima+watch_chromium.org, ntp-dev+reviews_chromium.org, donnd+watch_chromium.org, dbeam+watch-ntp_chromium.org, jfweitz+watch_chromium.org, David Black, sync-reviews_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, dbeam+watch-downloads_chromium.org, Jered, pedrosimonetti+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the enable_themes build flag and define. This is always defined on non-mobile platforms and it is not possible to override in the build. Since //chrome is no longer build on iOS, most uses can be easily keyed off of the Android defines. For files not compiled on Android, the conditionals were removed altogether. This change additionally coalesces some Android blocks in chrome/browser/BUILD.gn and chrome/browser/ui/BUILD.gn BUG=671706 Committed: https://crrev.com/9b0866fd103e996c5927d183dfa68f0931a76a45 Cr-Commit-Position: refs/heads/master@{#437784}

Patch Set 1 #

Patch Set 2 : Include #

Patch Set 3 : Remove unnecessary #

Patch Set 4 : Remove unnecessary includes #

Patch Set 5 : Fix #

Patch Set 6 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -134 lines) Patch
M build/config/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M build/config/features.gni View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 chunks +17 lines, -25 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/search/instant_service.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/search/instant_service.cc View 1 2 3 4 5 7 chunks +10 lines, -16 lines 0 comments Download
M chrome/browser/search/instant_service_factory.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/sync/chrome_sync_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/prefs/prefs_tab_helper.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/app_launcher_page_ui.cc View 1 2 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_resource_cache_factory.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 1 2 3 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/md_user_manager_ui.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/version_ui.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 9 chunks +18 lines, -24 lines 0 comments Download
M components/version_ui/resources/about_version.html View 1 chunk +3 lines, -2 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 67 (40 generated)
brettw
Include
4 years ago (2016-12-08 00:52:10 UTC) #3
brettw
Sorry, I'm kind of picking people at random for these patches.
4 years ago (2016-12-08 00:52:44 UTC) #7
Dan Beam
fwiw, i don't know that any of the webui code you've put OS_ANDROID checks in ...
4 years ago (2016-12-08 01:36:49 UTC) #8
brettw
Remove unnecessary
4 years ago (2016-12-08 20:58:22 UTC) #11
brettw
Remove unnecessary includes
4 years ago (2016-12-08 21:01:54 UTC) #15
brettw
Good point, I removed the defines altogether from files not compiled on Android.
4 years ago (2016-12-08 21:02:26 UTC) #16
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/2561013002/60001
4 years ago (2016-12-08 21:03:47 UTC) #19
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years ago (2016-12-08 21:03:49 UTC) #21
Dan Beam
webui lgtm if that helps with your CQ
4 years ago (2016-12-08 22:41:12 UTC) #25
brettw
Fix
4 years ago (2016-12-09 00:55:36 UTC) #28
yzshen1
On 2016/12/09 00:55:36, brettw (ping after 24h) wrote: > Fix LGTM
4 years ago (2016-12-09 19:11:47 UTC) #33
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/2561013002/80001
4 years ago (2016-12-09 20:16:30 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/206967)
4 years ago (2016-12-10 03:50:35 UTC) #38
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/2561013002/80001
4 years ago (2016-12-10 04:40:47 UTC) #40
commit-bot: I haz the power
Failed to apply patch for chrome/browser/search/instant_service.cc: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-10 07:02:41 UTC) #42
brettw
Merge
4 years ago (2016-12-10 16:28:46 UTC) #43
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/2561013002/100001
4 years ago (2016-12-10 16:28:56 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/353908)
4 years ago (2016-12-10 17:33:34 UTC) #48
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/2561013002/100001
4 years ago (2016-12-10 17:58:44 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/277323)
4 years ago (2016-12-10 18:29:43 UTC) #52
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/2561013002/100001
4 years ago (2016-12-10 18:30:33 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/196620)
4 years ago (2016-12-10 19:49:43 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/2561013002/100001
4 years ago (2016-12-10 21:15:50 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/196640)
4 years ago (2016-12-10 23:02:57 UTC) #60
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/2561013002/100001
4 years ago (2016-12-11 01:56:10 UTC) #62
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-11 02:35:16 UTC) #65
commit-bot: I haz the power
4 years ago (2016-12-12 15:07:38 UTC) #67
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9b0866fd103e996c5927d183dfa68f0931a76a45
Cr-Commit-Position: refs/heads/master@{#437784}

Powered by Google App Engine
This is Rietveld 408576698