|
Add chrome/browser/apps/BUILD.gn and move Chrome-specific code there
This moves references to c/b/apps from their awkward place in
c/b/extensions to a standalone source_set in c/b/apps/BUILD.gn.
Now, c/b/apps explicitly depends on c/b/extensions, and c/b/extensions
need not explicitlty depend on c/b/apps. (Some circular includes are
still required, e.g. for app-specific API calls within c/b/extensions.)
Apart from BUILD.gn files, the structural changes are:
* moving {apps => chrome/browser/apps}/app_load_service.cc
* adding chrome/browser/apps/browser_context_keyed_service_factories.* to
handle startup/shutdown tasks
The following gn checks now pass:
* //apps (used to fail)
* //chrome/browser/apps (newly added)
The following gn checks used to pass, and still do:
* //chrome/browser/extensions
* //chrome/browser/ui
The following gn checks still fail, but with fewer errors:
* //chrome/browser
BUG= 679971, 159366
TBR=sky@chromium.org
Review-Url: https://codereview.chromium.org/2789253003
Cr-Commit-Position: refs/heads/master@{#462314}
Committed: https://chromium.googlesource.com/chromium/src/+/dbdcdcc7eb02d34200dca4a21f8528a7332f7d90
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+205 lines, -460 lines) |
Patch |
|
M |
apps/BUILD.gn
|
View
|
1
2
3
|
3 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
apps/DEPS
|
View
|
1
|
3 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
|
D |
apps/app_load_service.h
|
View
|
|
1 chunk |
+0 lines, -103 lines |
0 comments
|
Download
|
|
D |
apps/app_load_service.cc
|
View
|
|
1 chunk |
+0 lines, -162 lines |
0 comments
|
Download
|
|
D |
apps/app_load_service_factory.h
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
D |
apps/app_load_service_factory.cc
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
|
M |
apps/browser_context_keyed_service_factories.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
apps/browser_context_keyed_service_factories.cc
|
View
|
|
1 chunk |
+16 lines, -2 lines |
0 comments
|
Download
|
|
M |
apps/saved_files_service.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
apps/saved_files_service.cc
|
View
|
|
4 chunks |
+12 lines, -21 lines |
0 comments
|
Download
|
|
M |
apps/saved_files_service_factory.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
apps/saved_files_service_factory.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
|
A |
chrome/browser/apps/BUILD.gn
|
View
|
1
2
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/apps/app_load_service.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/apps/app_load_service.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/apps/app_load_service_factory.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/apps/app_load_service_factory.cc
|
View
|
|
4 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
A |
chrome/browser/apps/browser_context_keyed_service_factories.h
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/apps/browser_context_keyed_service_factories.cc
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/background/background_contents_service.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/BUILD.gn
|
View
|
1
2
3
|
2 chunks |
+1 line, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/developer_private/show_permissions_dialog_helper.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_system_impl.cc
|
View
|
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/startup/startup_browser_creator.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 22 (13 generated)
|