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: |
(...skipping 19 matching lines...) Expand all Loading... |
30 "content_main_runner.h", | 30 "content_main_runner.h", |
31 "sandbox_helper_win.h", | 31 "sandbox_helper_win.h", |
32 ] | 32 ] |
33 | 33 |
34 public_app_shared_deps = [ | 34 public_app_shared_deps = [ |
35 "//base", | 35 "//base", |
36 "//base:i18n", | 36 "//base:i18n", |
37 "//content:export", | 37 "//content:export", |
38 "//content/public/common:common_sources", | 38 "//content/public/common:common_sources", |
39 "//content/public/gpu:gpu_sources", | 39 "//content/public/gpu:gpu_sources", |
40 "//content/public/plugin:plugin_sources", | |
41 "//content/public/renderer:renderer_sources", | 40 "//content/public/renderer:renderer_sources", |
42 "//content/public/utility:utility_sources", | 41 "//content/public/utility:utility_sources", |
43 ] | 42 ] |
44 | 43 |
45 if (is_component_build) { | 44 if (is_component_build) { |
46 source_set("both_sources") { | 45 source_set("both_sources") { |
47 # Only the main content shared library can pull this in. | 46 # Only the main content shared library can pull this in. |
48 visibility = [ "//content:content" ] | 47 visibility = [ "//content:content" ] |
49 | 48 |
50 sources = public_app_shared_sources | 49 sources = public_app_shared_sources |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 ":both", | 133 ":both", |
135 ] | 134 ] |
136 } | 135 } |
137 group("child") { | 136 group("child") { |
138 deps = [ | 137 deps = [ |
139 ":both", | 138 ":both", |
140 ] | 139 ] |
141 } | 140 } |
142 } | 141 } |
143 } | 142 } |
OLD | NEW |