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

Issue 617693002: Convert components/native_app_window.gypi to a gyp to fix a cycle (Closed)

Created:
6 years, 2 months ago by tapted
Modified:
6 years, 2 months ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davemoore+watch_chromium.org, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, scheib, stevenjb+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Convert components/native_app_window.gypi to a gyp to fix a cycle There's currently a dependency cycle between gyp files: components.gyp and extensions.gyp. extensions.gyp depends on a number of components, and two components depend on exetensions.gyp. These are: - components/renderer_context_menu/ - components/native_app_window/ (more recently) For native_app_window, since it is not compiled on Mac, the gyp circular check is not performed on the bots. However, we soon want to compile it on Mac. This CL fixes the cycle between extensions.gyp and components.gyp by converting components/native_app_window.gypi to a gyp. BUG=35878, 418455

Patch Set 1 : baseline from 606953002 #

Patch Set 2 : native_app_window.{gypi => gyp} #

Patch Set 3 : fix gyp, Add OWNERS, chromium_code=1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -61 lines) Patch
M apps/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M apps/apps.gypi View 1 chunk +1 line, -1 line 0 comments Download
M athena/athena.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/BUILD.gn View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 1 chunk +1 line, -0 lines 1 comment Download
M components/BUILD.gn View 2 chunks +0 lines, -5 lines 0 comments Download
M components/OWNERS View 1 chunk +0 lines, -4 lines 0 comments Download
M components/components.gyp View 1 chunk +0 lines, -5 lines 0 comments Download
D components/native_app_window.gypi View 1 chunk +0 lines, -26 lines 0 comments Download
A + components/native_app_window/OWNERS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + components/native_app_window/native_app_window.gyp View 1 2 1 chunk +13 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
tapted
**alternative to http://crrev.com/606953002 ** jochen: is this still a correct way to use src/components? I ...
6 years, 2 months ago (2014-09-30 04:10:32 UTC) #4
jochen (gone - plz use gerrit)
+other components owners +kalman for extensions hum, what's the layering relating between components and extensions? ...
6 years, 2 months ago (2014-09-30 08:41:18 UTC) #6
blundell
Yeah, I don't think this is the right solution. I think that //extensions should live ...
6 years, 2 months ago (2014-09-30 09:02:43 UTC) #7
tapted
On 2014/09/30 08:41:18, jochen (slow for reviews) wrote: > +other components owners > +kalman for ...
6 years, 2 months ago (2014-09-30 09:11:24 UTC) #8
blundell
On 2014/09/30 09:11:24, tapted wrote: > On 2014/09/30 08:41:18, jochen (slow for reviews) wrote: > ...
6 years, 2 months ago (2014-09-30 09:53:06 UTC) #9
tapted
On 2014/09/30 09:53:06, blundell wrote: > Naive question: Why not just in //extensions/native_app_window and > ...
6 years, 2 months ago (2014-09-30 11:21:43 UTC) #10
blundell
On 2014/09/30 11:21:43, tapted wrote: > On 2014/09/30 09:53:06, blundell wrote: > > Naive question: ...
6 years, 2 months ago (2014-09-30 11:32:36 UTC) #11
erikwright (departed)
On 2014/09/30 11:32:36, blundell wrote: > On 2014/09/30 11:21:43, tapted wrote: > > On 2014/09/30 ...
6 years, 2 months ago (2014-09-30 13:58:09 UTC) #12
oshima
On 2014/09/30 11:32:36, blundell wrote: > On 2014/09/30 11:21:43, tapted wrote: > > On 2014/09/30 ...
6 years, 2 months ago (2014-09-30 14:05:39 UTC) #13
blundell
On 2014/09/30 14:05:39, oshima wrote: > On 2014/09/30 11:32:36, blundell wrote: > > On 2014/09/30 ...
6 years, 2 months ago (2014-09-30 14:07:41 UTC) #14
oshima
On 2014/09/30 14:07:41, blundell wrote: > On 2014/09/30 14:05:39, oshima wrote: > > On 2014/09/30 ...
6 years, 2 months ago (2014-09-30 14:53:11 UTC) #15
James Cook
I would be OK with //extensions/views or //extensions/browser/views or //extensions/browser/ui/views as long as we had ...
6 years, 2 months ago (2014-09-30 15:56:05 UTC) #16
James Cook
On 2014/09/30 15:56:05, James Cook wrote: > I would be OK with //extensions/views or //extensions/browser/views ...
6 years, 2 months ago (2014-09-30 16:28:20 UTC) #17
tapted
6 years, 2 months ago (2014-09-30 21:35:53 UTC) #18
On 2014/09/30 16:28:20, James Cook wrote:
> Talked to oshima, I think //extensions/components is better than
> //extensions/browser/views because it makes very clear that these are modules
of
> code to be used by embedders *outside* the extensions module.

Sweet - I think //extensions/components is most of the way there in
http://crrev.com/606953002 . I'll make sure I have buy-in from extensions
OWNERS. If anyone else would like to see how it feels and/or comment, please
have a look in http://crrev.com/606953002

I'll close this CL.

Powered by Google App Engine
This is Rietveld 408576698