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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 } | 54 } |
55 | 55 |
56 if (is_ios) { | 56 if (is_ios) { |
57 content_app_sources -= [ | 57 content_app_sources -= [ |
58 "content_main.cc", | 58 "content_main.cc", |
59 "mojo/mojo_init.cc", | 59 "mojo/mojo_init.cc", |
60 "mojo/mojo_init.h", | 60 "mojo/mojo_init.h", |
61 ] | 61 ] |
62 } else { | 62 } else { |
63 content_app_deps += [ | 63 content_app_deps += [ |
| 64 "//mojo/application/public/interfaces", |
64 "//mojo/environment:chromium", | 65 "//mojo/environment:chromium", |
65 "//third_party/mojo/src/mojo/edk/system", | 66 "//third_party/mojo/src/mojo/edk/system", |
66 "//third_party/mojo/src/mojo/public/interfaces/application", | |
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 ] | 73 ] |
74 | 74 |
75 if (!is_multi_dll_chrome) { | 75 if (!is_multi_dll_chrome) { |
76 content_app_deps += [ "//content/gpu:gpu_sources" ] | 76 content_app_deps += [ "//content/gpu:gpu_sources" ] |
(...skipping 27 matching lines...) Expand all Loading... |
104 source_set("child") { | 104 source_set("child") { |
105 visibility = [ "//content/public/app:child" ] | 105 visibility = [ "//content/public/app:child" ] |
106 | 106 |
107 sources = content_app_sources | 107 sources = content_app_sources |
108 configs += content_app_extra_configs | 108 configs += content_app_extra_configs |
109 deps = content_app_deps | 109 deps = content_app_deps |
110 | 110 |
111 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 111 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
112 } | 112 } |
113 } | 113 } |
OLD | NEW |