|
Decompose //extensions/browser/BUILD.gn
This CL changes the extensions build to have BUILD.gn's in (almost) all
leaf directories. This accomplishes several things,
a.) Makes it very clear of what files belong to which component/API. For
example, to see which files exist in the audio API, one needs to parse
the massive single //extensions/browsers/BUILD.gn to find the main API
source list, then look if any of the exception conditions (is_chromeos,
is_linux, etc) also contain any of the audio API files. This is now all
in one //extensions/browser/api/audio/BUILD.gn, making it easier to parse
and understand the build of each component.
b.) It makes dependencies clearer. Currently we have no idea which
dependency in the huge dependency list in //extensions/browser/BUILD.gn is
needed by which API. With individual build files, we can now specify
dependencies for just the component that needs them. This CL tries to
do this but some dependencies are used by enough components that we've just
included them for all (//content/browser/public, //skia). This is not ideal
but at worst, it is still much better than the current build.
Since we're now moving APIs over from //chrome/browser/extensions over to
//extensions/browser, this becomes even more important. All APIs that get
moved over now can use this new format for their build files.
jamescook@, rockot@, xiyuan@ - FYI
R=rdevlin.cronin@chromium.org
BUG= 641155
Committed: https://crrev.com/a932263a75195ad6cfe3e47dce49cc8845ded05e
Cr-Commit-Position: refs/heads/master@{#418729}
Total comments: 16
Total comments: 3
Total comments: 12
Total comments: 15
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1037 lines, -644 lines) |
Patch |
 |
M |
extensions/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
7 chunks |
+10 lines, -464 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+86 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/activity_log/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/alarms/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/app_current_window_internal/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/app_runtime/BUILD.gn
|
View
|
1
2
3
7
8
9
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/app_window/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/audio/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/bluetooth/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/bluetooth_socket/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/cast_channel/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/clipboard/BUILD.gn
|
View
|
1
2
3
7
8
9
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/declarative/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/declarative_content/BUILD.gn
|
View
|
1
2
3
7
8
9
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/declarative_webrequest/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/diagnostics/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/display_source/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/dns/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/document_scan/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/guest_view/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/guest_view/app_view/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/guest_view/extension_view/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/guest_view/web_view/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/hid/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/idle/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/management/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/messaging/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/mime_handler_private/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/networking_config/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/networking_private/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/power/BUILD.gn
|
View
|
1
2
3
7
8
9
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/printer_provider/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/printer_provider_internal/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/runtime/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/serial/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/socket/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/sockets_tcp/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/sockets_tcp_server/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/sockets_udp/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/storage/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/system_cpu/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/system_display/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/system_info/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/system_memory/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/system_network/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/system_storage/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/usb/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/virtual_keyboard_private/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/vpn_provider/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/web_request/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/webcam_private/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+22 lines, -0 lines |
2 comments
|
Download
|
 |
A |
extensions/browser/app_window/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/guest_view/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/guest_view/app_view/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/guest_view/extension_options/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/guest_view/extension_view/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/guest_view/extension_view/whitelist/BUILD.gn
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/guest_view/mime_handler_view/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/guest_view/web_view/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/guest_view/web_view/web_ui/BUILD.gn
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/install/BUILD.gn
|
View
|
1
2
7
8
9
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/mojo/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/updater/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/value_store/BUILD.gn
|
View
|
1
2
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 65 (41 generated)
|