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

Issue 1160773004: extensions: Check |enable_extensions| flag before depending on extension code. (Closed)

Created:
5 years, 6 months ago by sadrul
Modified:
5 years, 6 months ago
Reviewers:
benwells, brettw
CC:
chromium-reviews, tfarina, chromium-apps-reviews_chromium.org, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

extensions: Check |enable_extensions| flag before depending on extension code. Avoid depending on (or including) extensions related code when enable_extensions gyp/gn flag is not set. This fixes 'gn gen' for android with toolkit_views turned on. BUG=488576 Committed: https://crrev.com/46709b27b2caa9a4203eef168ac11291ec8d2834 Cr-Commit-Position: refs/heads/master@{#333690}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Patch Set 3 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -33 lines) Patch
M apps/BUILD.gn View 1 chunk +3 lines, -1 line 0 comments Download
M apps/apps.gypi View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 4 chunks +42 lines, -31 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
sadrul
benwells@chromium.org: Please review changes in apps/ sky@chromium.org: Please review changes in chrome/
5 years, 6 months ago (2015-06-06 03:29:57 UTC) #2
sky
I'm not familiar with set_sources_assignment_filter, so I'm passing to Brett. Secondarily, I thought we preferred ...
5 years, 6 months ago (2015-06-06 17:53:37 UTC) #4
sadrul
On 2015/06/06 17:53:37, sky wrote: > I'm not familiar with set_sources_assignment_filter, so I'm passing to ...
5 years, 6 months ago (2015-06-06 19:16:17 UTC) #5
brettw
https://codereview.chromium.org/1160773004/diff/1/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/1160773004/diff/1/chrome/browser/ui/BUILD.gn#newcode211 chrome/browser/ui/BUILD.gn:211: sources_assignment_filter + [ "*/extensions/*" ]) Our rule in the ...
5 years, 6 months ago (2015-06-07 22:48:00 UTC) #6
sadrul
https://codereview.chromium.org/1160773004/diff/1/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/1160773004/diff/1/chrome/browser/ui/BUILD.gn#newcode211 chrome/browser/ui/BUILD.gn:211: sources_assignment_filter + [ "*/extensions/*" ]) On 2015/06/07 22:48:00, brettw ...
5 years, 6 months ago (2015-06-09 21:08:35 UTC) #7
brettw
lgtm
5 years, 6 months ago (2015-06-09 21:38:48 UTC) #8
sadrul
I am going to put this in the CQ. benwells@ if you have feedback, please ...
5 years, 6 months ago (2015-06-10 03:44:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1160773004/20001
5 years, 6 months ago (2015-06-10 03:44:37 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/69720)
5 years, 6 months ago (2015-06-10 03:51:12 UTC) #13
benwells
sorry, missed this. lgtm
5 years, 6 months ago (2015-06-10 04:20:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1160773004/40001
5 years, 6 months ago (2015-06-10 05:09:58 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-10 06:09:40 UTC) #18
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 06:10:47 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/46709b27b2caa9a4203eef168ac11291ec8d2834
Cr-Commit-Position: refs/heads/master@{#333690}

Powered by Google App Engine
This is Rietveld 408576698