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

Issue 17366006: Factor out content shell and tests into a standalone gyp (Closed)

Created:
7 years, 6 months ago by mnaganov (inactive)
Modified:
7 years, 5 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, tfarina, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Factor out content shell and tests into a standalone gyp This simplifies using components in Content Shell. As components can depend on the content layer, trying to use a component from Content Shell results in a cross-reference of gyp files which isn't allowed on Mac. TBR=joi,robertshield (trivial one-line renames in gyp files) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209420

Patch Set 1 #

Total comments: 2

Patch Set 2 : Extracted both shell and tests to satisfy Mac build file generation restrictions #

Patch Set 3 : Updated OWNERS to include a rule for the new file #

Total comments: 5

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -90 lines) Patch
M android_webview/android_webview_tests.gypi View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ash/ash.gyp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M build/all.gyp View 1 2 3 12 chunks +21 lines, -21 lines 0 comments Download
M build/all_android.gyp View 1 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/chrome_frame.gyp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/components_tests.gypi View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/OWNERS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/content.gyp View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 3 chunks +12 lines, -12 lines 0 comments Download
A content/content_shell_and_tests.gyp View 1 1 chunk +19 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 13 chunks +27 lines, -27 lines 0 comments Download
M ui/views/views.gyp View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
mnaganov (inactive)
Hello Jochen, What do you think about such a refactoring? My understanding is that the ...
7 years, 6 months ago (2013-06-20 12:21:21 UTC) #1
jochen (gone - plz use gerrit)
lgtm
7 years, 6 months ago (2013-06-20 12:25:39 UTC) #2
mnaganov (inactive)
Thanks, Jochen! Requesting OWNERS review: jam@: content/ sky@: ash/, ui/
7 years, 6 months ago (2013-06-20 12:30:54 UTC) #3
jam
lgtm https://codereview.chromium.org/17366006/diff/1/content/content_shell.gyp File content/content_shell.gyp (right): https://codereview.chromium.org/17366006/diff/1/content/content_shell.gyp#newcode1 content/content_shell.gyp:1: # Copyright (c) 2012 The Chromium Authors. All ...
7 years, 6 months ago (2013-06-20 15:41:29 UTC) #4
sky
LGTM
7 years, 6 months ago (2013-06-20 18:04:30 UTC) #5
mnaganov (inactive)
jochen@: As it seems, according to Mac build file generation restrictions, no two .gyp files ...
7 years, 6 months ago (2013-06-21 12:37:52 UTC) #6
jam
https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp File content/content_shell_and_tests.gyp (right): https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp#newcode1 content/content_shell_and_tests.gyp:1: # Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-21 16:20:21 UTC) #7
mnaganov (inactive)
On 2013/06/21 16:20:21, jam wrote: > https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp > File content/content_shell_and_tests.gyp (right): > > https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp#newcode1 > ...
7 years, 6 months ago (2013-06-21 16:26:01 UTC) #8
jam
On 2013/06/21 16:26:01, Mikhail Naganov (Chromium) wrote: > On 2013/06/21 16:20:21, jam wrote: > > ...
7 years, 6 months ago (2013-06-21 20:52:35 UTC) #9
tfarina
https://codereview.chromium.org/17366006/diff/13002/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/17366006/diff/13002/content/content_tests.gypi#newcode1 content/content_tests.gypi:1: # Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-23 00:51:11 UTC) #10
tfarina
https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp File content/content_shell_and_tests.gyp (right): https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp#newcode1 content/content_shell_and_tests.gyp:1: # Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-23 00:51:37 UTC) #11
mnaganov (inactive)
On 2013/06/21 20:52:35, jam wrote: > On 2013/06/21 16:26:01, Mikhail Naganov (Chromium) wrote: > > ...
7 years, 6 months ago (2013-06-24 15:47:15 UTC) #12
mnaganov (inactive)
jochen@ sorry for annoyance -- do you think that having the shell and the tests ...
7 years, 5 months ago (2013-07-01 08:56:34 UTC) #13
jochen (gone - plz use gerrit)
On 2013/07/01 08:56:34, Mikhail Naganov (Chromium) wrote: > jochen@ sorry for annoyance -- do you ...
7 years, 5 months ago (2013-07-01 09:02:54 UTC) #14
mnaganov (inactive)
https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp File content/content_shell_and_tests.gyp (right): https://codereview.chromium.org/17366006/diff/13002/content/content_shell_and_tests.gyp#newcode1 content/content_shell_and_tests.gyp:1: # Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 5 months ago (2013-07-01 09:17:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/17366006/28001
7 years, 5 months ago (2013-07-01 09:23:35 UTC) #16
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=13211
7 years, 5 months ago (2013-07-01 09:51:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/17366006/28001
7 years, 5 months ago (2013-07-01 09:56:33 UTC) #18
commit-bot: I haz the power
Change committed as 209420
7 years, 5 months ago (2013-07-01 13:38:48 UTC) #19
jam
this has no l-g-t-m from an owner. I don't know why you landed this without ...
7 years, 5 months ago (2013-07-02 20:44:20 UTC) #20
jam
On 2013/07/02 20:44:20, jam wrote: > this has no l-g-t-m from an owner. I don't ...
7 years, 5 months ago (2013-07-02 20:45:53 UTC) #21
mnaganov (inactive)
On 2013/07/02 20:45:53, jam wrote: > On 2013/07/02 20:44:20, jam wrote: > > this has ...
7 years, 5 months ago (2013-07-03 09:22:31 UTC) #22
jam
7 years, 5 months ago (2013-07-03 16:54:26 UTC) #23
Message was sent while issue was closed.
On 2013/07/03 09:22:31, Mikhail Naganov (Chromium) wrote:
> On 2013/07/02 20:45:53, jam wrote:
> > On 2013/07/02 20:44:20, jam wrote:
> > > this has no l-g-t-m from an owner. I don't know why you landed this
without
> > > approval. i'm reverting until we get to agreement.
> > 
> > to be clear: my previous lgtm was for patchset 1, which is quite different
> from
> > what was landed
> 
> OK. Sorry for the misunderstanding.
> 
> I have answered your questions in the comment #12. Then we have discussed the
> final patch with Jochen, and he has supported the change. I apologize for not
> contacting you afterwards for getting another approval. Do you have any
concerns
> about the final patch?

I don't see the need to do this at this point. The gyp files are already
complicated enough, and so let's only split them up and add some more
indirection only when we know that we need it. My other concern was that
grouping tests and content shell alone in one file together didn't seem to make
sense.

Powered by Google App Engine
This is Rietveld 408576698