| 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 18 matching lines...) Expand all Loading... |
| 29 "content_main_delegate.h", | 29 "content_main_delegate.h", |
| 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", |
| 40 "//content/public/plugin:plugin_sources", |
| 41 "//content/public/renderer:renderer_sources", |
| 42 "//content/public/utility:utility_sources", |
| 39 ] | 43 ] |
| 40 | 44 |
| 41 if (is_component_build) { | 45 if (is_component_build) { |
| 42 source_set("both_sources") { | 46 source_set("both_sources") { |
| 43 # Only the main content shared library can pull this in. | 47 # Only the main content shared library can pull this in. |
| 44 visibility = [ "//content:content" ] | 48 visibility = [ "//content:content" ] |
| 45 | 49 |
| 46 sources = public_app_shared_sources | 50 sources = public_app_shared_sources |
| 47 | 51 |
| 48 configs += [ "//content:content_implementation" ] | 52 configs += [ "//content:content_implementation" ] |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ":both", | 134 ":both", |
| 131 ] | 135 ] |
| 132 } | 136 } |
| 133 group("child") { | 137 group("child") { |
| 134 deps = [ | 138 deps = [ |
| 135 ":both", | 139 ":both", |
| 136 ] | 140 ] |
| 137 } | 141 } |
| 138 } | 142 } |
| 139 } | 143 } |
| OLD | NEW |