|
Move components/native_app_window to extensions/components/native_app_window
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)
renderer_context_menu has an "optional" extensions dependency, which can
be skipped when ENABLE_EXTENSIONS is not defined. Still, it is necessary
for renderer_context_menu.gyp to omit its extensions.gyp dependency and
build as a static library.
For native_app_window, since it is not compiled on Mac, the gyp circular
check is not performed on the bots.
This CL fixes the layering by adding a folder,
src/extensions/components. Things here may depend on extensions, but not
on other extensions/components folders in a way that creates a cycle.
This also allows the benefits of a component-architecture to make sense
of interdependencies between the ~1337 files under src/extensions.
This layout also makes it clear that by depending on one of these
components, a target is also depending on src/extensions. Currently,
this is not clear.
BUG= 35878, 418455
TBR=reed@google.com
Committed: https://crrev.com/344272ddd4ca47fb56fd6a1ca6a4f1418df2c426
Cr-Commit-Position: refs/heads/master@{#297952}
Total comments: 12
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+69 lines, -743 lines) |
Patch |
|
M |
apps/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
apps/apps.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
athena/athena.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
athena/extensions/DEPS
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
athena/extensions/athena_native_app_window_views.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/DEPS
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/kiosk_browsertest.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/apps/DEPS
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/apps/chrome_native_app_window_views.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/BUILD.gn
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
components/OWNERS
|
View
|
1
2
3
|
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
|
|
D |
components/native_app_window/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
D |
components/native_app_window/DEPS
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
D |
components/native_app_window/native_app_window_views.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -197 lines |
0 comments
|
Download
|
|
D |
components/native_app_window/native_app_window_views.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -447 lines |
0 comments
|
Download
|
|
M |
extensions/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
extensions/components/DEPS
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
extensions/components/README
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
extensions/components/extensions_components.gyp
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A + |
extensions/components/native_app_window.gypi
|
View
|
1
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
|
A + |
extensions/components/native_app_window/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A + |
extensions/components/native_app_window/DEPS
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
extensions/components/native_app_window/OWNERS
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
extensions/components/native_app_window/README
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A + |
extensions/components/native_app_window/native_app_window_views.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
extensions/components/native_app_window/native_app_window_views.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 38 (10 generated)
|