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

Issue 1950003002: gn BUILD fixes for disabling enable_extensions and use_ash feature flags. (Closed)

Created:
4 years, 7 months ago by asaka
Modified:
4 years, 6 months ago
CC:
chromium-reviews, devtools-reviews_chromium.org, feature-media-reviews_chromium.org, media-router+watch_chromium.org, pfeldman, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gn BUILD fixes for disabling enable_extensions and use_ash feature flags. BUG= Committed: https://crrev.com/2e75c702de464a5cc1cd2272ef720fbe1068c141 Cr-Commit-Position: refs/heads/master@{#399693}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review fixup #

Total comments: 2

Patch Set 3 : Moving deps inclusion and disabling extensions for chromecast #

Total comments: 4

Patch Set 4 : Rebasing on latest master #

Patch Set 5 : Fix gn runtime deps check error on missing mash target on linux and win8. #

Total comments: 2

Patch Set 6 : Removing mash related changes from the patch #

Patch Set 7 : rebasing on latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -20 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 4 chunks +12 lines, -9 lines 0 comments Download
M build/config/features.gni View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/BUILD.gn View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/media/router/BUILD.gn View 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 4 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 72 (26 generated)
asaka
@dpranke, this patch is needed for us to do gn builds without extensions. The chrome/browser/media/router/BUILD.gn ...
4 years, 7 months ago (2016-05-04 14:03:25 UTC) #3
asaka
On 2016/05/04 14:03:25, asaka wrote: > @dpranke, this patch is needed for us to do ...
4 years, 7 months ago (2016-05-04 14:04:48 UTC) #4
Dirk Pranke
https://codereview.chromium.org/1950003002/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1950003002/diff/1/BUILD.gn#newcode198 BUILD.gn:198: } Can you check if we can lift these ...
4 years, 7 months ago (2016-05-05 02:38:48 UTC) #6
asaka
https://codereview.chromium.org/1950003002/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1950003002/diff/1/BUILD.gn#newcode198 BUILD.gn:198: } On 2016/05/05 02:38:48, Dirk Pranke wrote: > Can ...
4 years, 7 months ago (2016-05-11 05:54:14 UTC) #7
asaka
On 2016/05/11 05:54:14, asaka wrote: > https://codereview.chromium.org/1950003002/diff/1/BUILD.gn > File BUILD.gn (right): > > https://codereview.chromium.org/1950003002/diff/1/BUILD.gn#newcode198 > ...
4 years, 7 months ago (2016-05-11 07:52:31 UTC) #8
asaka
I made a mistake in the update and the deps ended up under !is_chromecast anyway. ...
4 years, 7 months ago (2016-05-11 13:01:53 UTC) #9
Dirk Pranke
I would adjust features.gni as you suggest, and then make the changes I suggest below. ...
4 years, 7 months ago (2016-05-12 02:01:01 UTC) #10
asaka
@dpranke, do you think you will have time to look at the new patch soon? ...
4 years, 7 months ago (2016-05-19 11:51:03 UTC) #11
Dirk Pranke
lgtm :). Sorry, I didn't realize you had posted an updated patch.
4 years, 7 months ago (2016-05-19 18:28:50 UTC) #12
mark a. foltz
https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn File chrome/browser/media/router/BUILD.gn (right): https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn#newcode32 chrome/browser/media/router/BUILD.gn:32: if (enable_extensions) { Is there now a valid build ...
4 years, 7 months ago (2016-05-19 20:00:39 UTC) #14
asaka
https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn File chrome/browser/media/router/BUILD.gn (right): https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn#newcode32 chrome/browser/media/router/BUILD.gn:32: if (enable_extensions) { On 2016/05/19 20:00:39, mark a. foltz ...
4 years, 7 months ago (2016-05-20 05:59:41 UTC) #15
mark a. foltz
https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn File chrome/browser/media/router/BUILD.gn (right): https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn#newcode32 chrome/browser/media/router/BUILD.gn:32: if (enable_extensions) { On 2016/05/20 at 05:59:41, asaka wrote: ...
4 years, 7 months ago (2016-05-20 17:48:21 UTC) #16
asaka
https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn File chrome/browser/media/router/BUILD.gn (right): https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn#newcode32 chrome/browser/media/router/BUILD.gn:32: if (enable_extensions) { On 2016/05/20 17:48:21, mark a. foltz ...
4 years, 7 months ago (2016-05-24 10:57:32 UTC) #17
mark a. foltz
LGTM On 2016/05/24 at 10:57:32, asaka wrote: > https://codereview.chromium.org/1950003002/diff/40001/chrome/browser/media/router/BUILD.gn > File chrome/browser/media/router/BUILD.gn (right): > > ...
4 years, 7 months ago (2016-05-25 01:23:44 UTC) #18
asaka
Sorry, did not catch the conclusion here :) Do I revert the changes in this ...
4 years, 7 months ago (2016-05-25 07:41:41 UTC) #19
mark a. foltz
It's okay to submit as is. On May 25, 2016 12:41 AM, <asaka@opera.com> wrote: > ...
4 years, 7 months ago (2016-05-25 15:50:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950003002/40001
4 years, 7 months ago (2016-05-26 09:19:42 UTC) #22
asaka
Thanks! Commiting... On 2016/05/25 15:50:01, mark a. foltz wrote: > It's okay to submit as ...
4 years, 7 months ago (2016-05-26 09:20:02 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/11820) ios-simulator on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-26 09:21:19 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950003002/60001
4 years, 7 months ago (2016-05-26 11:53:51 UTC) #28
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/190329)
4 years, 7 months ago (2016-05-26 11:59:24 UTC) #30
asaka
On 2016/05/26 11:59:24, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-26 13:18:48 UTC) #32
dgozman
lgtm
4 years, 7 months ago (2016-05-26 14:13:56 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950003002/60001
4 years, 6 months ago (2016-05-27 05:51:22 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/236708)
4 years, 6 months ago (2016-05-27 06:28:00 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950003002/80001
4 years, 6 months ago (2016-05-27 13:47:59 UTC) #39
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-27 15:33:12 UTC) #41
asaka
@dpranke, I had to make an additional change in testing/buildbot json files, could you take ...
4 years, 6 months ago (2016-05-30 06:34:44 UTC) #42
Dirk Pranke
I'm not sure about the mash changes ... I think we need mash even if ...
4 years, 6 months ago (2016-05-31 20:09:38 UTC) #45
Ben Goodger (Google)
https://codereview.chromium.org/1950003002/diff/80001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1950003002/diff/80001/BUILD.gn#newcode662 BUILD.gn:662: deps += [ "//mash:all" ] This is incorrect. use_ash ...
4 years, 6 months ago (2016-05-31 20:20:13 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950003002/100001
4 years, 6 months ago (2016-06-03 12:31:26 UTC) #48
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/15724) ios-device-gn on ...
4 years, 6 months ago (2016-06-03 12:33:04 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950003002/120001
4 years, 6 months ago (2016-06-03 13:14:56 UTC) #52
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-03 14:35:02 UTC) #54
asaka
On 2016/06/03 14:35:02, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 6 months ago (2016-06-07 07:56:09 UTC) #55
asaka
On 2016/06/03 14:35:02, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 6 months ago (2016-06-07 07:56:15 UTC) #56
asaka
On 2016/06/07 07:56:15, asaka wrote: > On 2016/06/03 14:35:02, commit-bot: I haz the power wrote: ...
4 years, 6 months ago (2016-06-10 06:16:48 UTC) #57
asaka
On 2016/06/10 06:16:48, asaka wrote: > On 2016/06/07 07:56:15, asaka wrote: > > On 2016/06/03 ...
4 years, 6 months ago (2016-06-10 06:31:39 UTC) #58
Dirk Pranke
On 2016/06/10 06:31:39, asaka wrote: > On 2016/06/10 06:16:48, asaka wrote: > > On 2016/06/07 ...
4 years, 6 months ago (2016-06-10 20:49:27 UTC) #59
asaka
On 2016/06/10 20:49:27, Dirk Pranke wrote: > On 2016/06/10 06:31:39, asaka wrote: > > On ...
4 years, 6 months ago (2016-06-13 07:05:50 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/120001
4 years, 6 months ago (2016-06-13 07:51:25 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/86484)
4 years, 6 months ago (2016-06-13 09:02:23 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950003002/120001
4 years, 6 months ago (2016-06-14 13:01:41 UTC) #67
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-14 13:42:22 UTC) #69
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/2e75c702de464a5cc1cd2272ef720fbe1068c141 Cr-Commit-Position: refs/heads/master@{#399693}
4 years, 6 months ago (2016-06-14 13:44:07 UTC) #71
James Cook
4 years, 6 months ago (2016-06-14 16:24:04 UTC) #72
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/2064173002/ by jamescook@chromium.org.

The reason for reverting is: Breaks the chromium.chromiumos gn builder.

Repro:
gn args out/Default

Set to:
is_component_build = true
use_goma = true
target_os = "chromeos"

gn gen reports error:
ERROR Unresolved dependencies.
//:both_gn_and_gyp(//build/toolchain/cros:clang_target)
  needs //extensions/shell:app_shell(//build/toolchain/cros:clang_target)

See
https://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=Linux%20...
.

Powered by Google App Engine
This is Rietveld 408576698