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 | 6 |
7 content_app_sources = [ | 7 content_app_sources = [ |
8 "android/app_jni_registrar.cc", | 8 "android/app_jni_registrar.cc", |
9 "android/app_jni_registrar.h", | 9 "android/app_jni_registrar.h", |
10 "android/child_process_service.cc", | 10 "android/child_process_service.cc", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 content_app_deps += [ | 63 content_app_deps += [ |
64 "//mojo/application/public/interfaces", | 64 "//mojo/application/public/interfaces", |
65 "//mojo/environment:chromium", | 65 "//mojo/environment:chromium", |
66 "//third_party/mojo/src/mojo/edk/system", | 66 "//third_party/mojo/src/mojo/edk/system", |
67 ] | 67 ] |
68 } | 68 } |
69 | 69 |
70 content_app_extra_configs = [ | 70 content_app_extra_configs = [ |
71 "//build/config/compiler:wexit_time_destructors", | 71 "//build/config/compiler:wexit_time_destructors", |
72 "//content:content_implementation", | 72 "//content:content_implementation", |
| 73 "//content/public/common:mojo_shell_client", |
73 "//v8:external_startup_data", | 74 "//v8:external_startup_data", |
74 ] | 75 ] |
75 | 76 |
76 if (!is_multi_dll_chrome) { | 77 if (!is_multi_dll_chrome) { |
77 content_app_deps += [ "//content/gpu:gpu_sources" ] | 78 content_app_deps += [ "//content/gpu:gpu_sources" ] |
78 } | 79 } |
79 | 80 |
80 # This includes the app sources for both the browser and child processes. | 81 # This includes the app sources for both the browser and child processes. |
81 source_set("both") { | 82 source_set("both") { |
82 # Only the public target should depend on this. All other targets (even | 83 # Only the public target should depend on this. All other targets (even |
(...skipping 22 matching lines...) Expand all Loading... |
105 source_set("child") { | 106 source_set("child") { |
106 visibility = [ "//content/public/app:child" ] | 107 visibility = [ "//content/public/app:child" ] |
107 | 108 |
108 sources = content_app_sources | 109 sources = content_app_sources |
109 configs += content_app_extra_configs | 110 configs += content_app_extra_configs |
110 deps = content_app_deps | 111 deps = content_app_deps |
111 | 112 |
112 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 113 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
113 } | 114 } |
114 } | 115 } |
OLD | NEW |