OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # App different than the regular content subcomponents (see comments in | 5 # App different than the regular content subcomponents (see comments in |
6 # //content/BUILD.gn) because it has to support the browser/child process split | 6 # //content/BUILD.gn) because it has to support the browser/child process split |
7 # (the "both" target include both browser and child process files and is used | 7 # (the "both" target include both browser and child process files and is used |
8 # for testing). | 8 # for testing). |
9 # | 9 # |
10 # In non-component mode, browser, child, and both all follow the same structure: | 10 # In non-component mode, browser, child, and both all follow the same structure: |
11 # foo -> | 11 # foo -> |
12 # //content/public/app:child (group) -> | 12 # //content/public/app:child (group) -> |
13 # //content/public/app:child_sources (source set) -> | 13 # //content/public/app:child_sources (source set) -> |
14 # //content/app:child (source set) | 14 # //content/app:child (source set) |
15 | 15 |
16 # In component mode, content is linked as one big turd so there is only one | 16 # In component mode, content is linked as one big turd so there is only one |
17 # app target containing sources ("both") and the other ones forward to it: | 17 # app target containing sources ("both") and the other ones forward to it: |
18 # foo -> | 18 # foo -> |
19 # //content/public/app:child (group; "browser" and "both" ones look the same) | 19 # //content/public/app:child (group; "browser" and "both" ones look the same) |
20 # //content (shared library) -> | 20 # //content (shared library) -> |
21 # //content/public/app:both_sources (source set) | 21 # //content/public/app:both_sources (source set) |
22 | 22 |
23 public_app_shared_sources = [ | 23 public_app_shared_sources = [ |
24 "android_library_loader_hooks.h", | 24 "android_library_loader_hooks.h", |
| 25 "content_jni_onload.h", |
25 "content_main.h", | 26 "content_main.h", |
26 "content_main_delegate.cc", | 27 "content_main_delegate.cc", |
27 "content_main_delegate.h", | 28 "content_main_delegate.h", |
28 "content_main_runner.h", | 29 "content_main_runner.h", |
29 "startup_helper_win.h", | 30 "startup_helper_win.h", |
30 ] | 31 ] |
31 | 32 |
32 public_app_shared_deps = [ | 33 public_app_shared_deps = [ |
33 "//base", | 34 "//base", |
34 "//base:i18n", | 35 "//base:i18n", |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 ":both", | 132 ":both", |
132 ] | 133 ] |
133 } | 134 } |
134 group("child") { | 135 group("child") { |
135 deps = [ | 136 deps = [ |
136 ":both", | 137 ":both", |
137 ] | 138 ] |
138 } | 139 } |
139 } | 140 } |
140 } | 141 } |
OLD | NEW |