| 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 |
| 11 # to be shared. | 11 # to be shared. |
| 12 template("implement_content_app") { | 12 template("implement_content_app") { |
| 13 runner_target_name = "content_main_runner_" + target_name | 13 runner_target_name = "content_main_runner_" + target_name |
| 14 main_target_name = target_name | 14 main_target_name = target_name |
| 15 | 15 |
| 16 extra_configs = [ | 16 extra_configs = [ |
| 17 "//build/config/compiler:wexit_time_destructors", | 17 "//build/config/compiler:wexit_time_destructors", |
| 18 "//content:content_implementation", | 18 "//content:content_implementation", |
| 19 "//v8:external_startup_data", | 19 "//v8:external_startup_data", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 content_app_deps = [ | 22 content_app_deps = [ |
| 23 "//base", | 23 "//base", |
| 24 "//base:i18n", | 24 "//base:i18n", |
| 25 "//components/tracing:startup_tracing", | 25 "//components/tracing:startup_tracing", |
| 26 "//content:export", | 26 "//content:export", |
| 27 "//content:sandbox_helper_win", | 27 "//content:sandbox_helper_win", |
| 28 "//content/public/common:common_sources", | 28 "//content/public/common:common_sources", |
| 29 "//crypto", | 29 "//crypto", |
| 30 "//services/service_manager/public/cpp", |
| 30 "//services/service_manager/public/interfaces", | 31 "//services/service_manager/public/interfaces", |
| 31 "//mojo/edk/system", | 32 "//mojo/edk/system", |
| 32 "//ppapi/features", | 33 "//ppapi/features", |
| 33 "//third_party/WebKit/public:mojo_bindings", | 34 "//third_party/WebKit/public:mojo_bindings", |
| 34 "//ui/base", | 35 "//ui/base", |
| 35 "//ui/gfx", | 36 "//ui/gfx", |
| 36 "//ui/gfx/geometry", | 37 "//ui/gfx/geometry", |
| 37 ] | 38 ] |
| 38 | 39 |
| 39 if (is_win) { | 40 if (is_win) { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 implement_content_app("browser") { | 163 implement_content_app("browser") { |
| 163 visibility = [ "//content/public/app:browser" ] | 164 visibility = [ "//content/public/app:browser" ] |
| 164 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 165 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
| 165 } | 166 } |
| 166 | 167 |
| 167 implement_content_app("child") { | 168 implement_content_app("child") { |
| 168 visibility = [ "//content/public/app:child" ] | 169 visibility = [ "//content/public/app:child" ] |
| 169 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 170 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
| 170 } | 171 } |
| 171 } | 172 } |
| OLD | NEW |