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 "//v8:external_startup_data", |
73 ] | 74 ] |
74 | 75 |
75 if (!is_multi_dll_chrome) { | 76 if (!is_multi_dll_chrome) { |
76 content_app_deps += [ "//content/gpu:gpu_sources" ] | 77 content_app_deps += [ "//content/gpu:gpu_sources" ] |
77 } | 78 } |
78 | 79 |
79 # This includes the app sources for both the browser and child processes. | 80 # This includes the app sources for both the browser and child processes. |
80 source_set("both") { | 81 source_set("both") { |
81 # Only the public target should depend on this. All other targets (even | 82 # Only the public target should depend on this. All other targets (even |
82 # internal content ones) should depend on the public one. | 83 # internal content ones) should depend on the public one. |
(...skipping 21 matching lines...) Expand all Loading... |
104 source_set("child") { | 105 source_set("child") { |
105 visibility = [ "//content/public/app:child" ] | 106 visibility = [ "//content/public/app:child" ] |
106 | 107 |
107 sources = content_app_sources | 108 sources = content_app_sources |
108 configs += content_app_extra_configs | 109 configs += content_app_extra_configs |
109 deps = content_app_deps | 110 deps = content_app_deps |
110 | 111 |
111 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 112 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
112 } | 113 } |
113 } | 114 } |
OLD | NEW |