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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//ppapi/features/features.gni") | 7 import("//ppapi/features/features.gni") |
8 | 8 |
9 # Implements "content_main" given the defines and visibility. On Windows this | 9 # Implements "content_main" given the defines and visibility. On Windows this |
10 # is compiled with a different define for browser and child, but all code needs | 10 # is compiled with a different define for browser and child, but all code needs |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 "android/content_main.cc", | 119 "android/content_main.cc", |
120 "android/content_main.h", | 120 "android/content_main.h", |
121 "android/library_loader_hooks.cc", | 121 "android/library_loader_hooks.cc", |
122 "android/library_loader_hooks.h", | 122 "android/library_loader_hooks.h", |
123 ] | 123 ] |
124 } else { | 124 } else { |
125 sources += [ "content_main.cc" ] | 125 sources += [ "content_main.cc" ] |
126 } | 126 } |
127 | 127 |
128 configs += extra_configs | 128 configs += extra_configs |
129 deps = content_app_deps + [ ":$runner_target_name" ] | 129 deps = content_app_deps + [ |
| 130 ":$runner_target_name", |
| 131 "//ipc", |
| 132 ] |
130 forward_variables_from(invoker, | 133 forward_variables_from(invoker, |
131 [ | 134 [ |
132 "defines", | 135 "defines", |
133 "visibility", | 136 "visibility", |
134 ]) | 137 ]) |
135 } | 138 } |
136 } | 139 } |
137 | 140 |
138 # This includes the app sources for both the browser and child processes. | 141 # This includes the app sources for both the browser and child processes. |
139 implement_content_app("both") { | 142 implement_content_app("both") { |
(...skipping 22 matching lines...) Expand all Loading... |
162 implement_content_app("browser") { | 165 implement_content_app("browser") { |
163 visibility = [ "//content/public/app:browser" ] | 166 visibility = [ "//content/public/app:browser" ] |
164 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 167 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
165 } | 168 } |
166 | 169 |
167 implement_content_app("child") { | 170 implement_content_app("child") { |
168 visibility = [ "//content/public/app:child" ] | 171 visibility = [ "//content/public/app:child" ] |
169 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 172 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
170 } | 173 } |
171 } | 174 } |
OLD | NEW |