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

Issue 1845473003: headless: Replace is_headless gn setting with an args template (Closed)

Created:
4 years, 8 months ago by Sami
Modified:
4 years, 8 months ago
Reviewers:
asanka, Dirk Pranke, hubbe
CC:
cbentzel+watch_chromium.org, chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

headless: Replace is_headless gn setting with an args template Replace the is_headless setting with a GN args template file which explicitly lists the settings needed to build the headless configuration. To make this work, some of the existing settings need to be moved into declare_args to make them overridable. BUG=546953 Committed: https://crrev.com/2df951b02d7d03cd35d64e7bfc725eb24e1fd4b3 Cr-Commit-Position: refs/heads/master@{#384549}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Release => Debug. #

Total comments: 2

Patch Set 3 : Better documentation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -46 lines) Patch
A build/args/headless.gn View 1 1 chunk +23 lines, -0 lines 0 comments Download
M build/config/features.gni View 6 chunks +20 lines, -22 lines 0 comments Download
D build/config/headless_build.gni View 1 chunk +0 lines, -8 lines 0 comments Download
M build/config/ui.gni View 1 chunk +2 lines, -3 lines 0 comments Download
M headless/README.md View 1 1 chunk +7 lines, -7 lines 0 comments Download
M media/media_options.gni View 2 chunks +1 line, -2 lines 0 comments Download
M net/BUILD.gn View 1 2 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
Sami
PTAL. I'm not sure if there's another alternative to moving the overridden settings into declare_args()?
4 years, 8 months ago (2016-03-30 14:36:09 UTC) #3
Dirk Pranke
skyostil wrote: > PTAL. I'm not sure if there's another alternative to moving the > ...
4 years, 8 months ago (2016-03-31 01:47:30 UTC) #4
Dirk Pranke
See also my comments in https://codereview.chromium.org/1845473003/ That CL and this one aren't going to play ...
4 years, 8 months ago (2016-03-31 01:50:44 UTC) #5
Sami
Thank Dirk. We agreed to land this first and rebase Juan's patch on top of ...
4 years, 8 months ago (2016-03-31 09:43:02 UTC) #7
hubbe
This seems like a terrible idea. Not only will headless mode break anytime anybody edits ...
4 years, 8 months ago (2016-03-31 17:23:40 UTC) #8
Dirk Pranke
On 2016/03/31 17:23:40, hubbe wrote: > This seems like a terrible idea. > > Not ...
4 years, 8 months ago (2016-03-31 17:37:18 UTC) #9
asanka
lgtm https://codereview.chromium.org/1845473003/diff/20001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1845473003/diff/20001/net/BUILD.gn#newcode51 net/BUILD.gn:51: # It needs configuration (krb5.conf and so on). ...
4 years, 8 months ago (2016-03-31 17:48:06 UTC) #10
Sami
https://codereview.chromium.org/1845473003/diff/20001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1845473003/diff/20001/net/BUILD.gn#newcode51 net/BUILD.gn:51: # It needs configuration (krb5.conf and so on). On ...
4 years, 8 months ago (2016-03-31 17:56:38 UTC) #11
hubbe
On 2016/03/31 17:37:18, Dirk Pranke wrote: > On 2016/03/31 17:23:40, hubbe wrote: > > This ...
4 years, 8 months ago (2016-03-31 17:58:35 UTC) #12
Dirk Pranke
On 2016/03/31 17:58:35, hubbe wrote: > On 2016/03/31 17:37:18, Dirk Pranke wrote: > > On ...
4 years, 8 months ago (2016-03-31 18:15:32 UTC) #13
hubbe
On 2016/03/31 18:15:32, Dirk Pranke wrote: > On 2016/03/31 17:58:35, hubbe wrote: > > On ...
4 years, 8 months ago (2016-03-31 18:32:40 UTC) #14
Dirk Pranke
On 2016/03/31 18:32:40, hubbe wrote: > I think these sort of things are dependent on ...
4 years, 8 months ago (2016-03-31 18:34:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845473003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845473003/40001
4 years, 8 months ago (2016-04-01 09:27:46 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/197808)
4 years, 8 months ago (2016-04-01 10:02:05 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845473003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845473003/40001
4 years, 8 months ago (2016-04-01 10:17:10 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-01 11:33:53 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 11:36:10 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2df951b02d7d03cd35d64e7bfc725eb24e1fd4b3
Cr-Commit-Position: refs/heads/master@{#384549}

Powered by Google App Engine
This is Rietveld 408576698