Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: content/app/BUILD.gn

Issue 2784493003: Consolidate JNI registrations for mojo system. (Closed)
Patch Set: Rebase only Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/app/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 source_set(main_target_name) { 99 source_set(main_target_name) {
100 sources = [ 100 sources = [
101 "content_service_manager_main_delegate.cc", 101 "content_service_manager_main_delegate.cc",
102 "content_service_manager_main_delegate.h", 102 "content_service_manager_main_delegate.h",
103 "mojo/mojo_init.cc", 103 "mojo/mojo_init.cc",
104 "mojo/mojo_init.h", 104 "mojo/mojo_init.h",
105 ] 105 ]
106 106
107 configs += extra_configs
108 deps = content_app_deps + [
109 ":$runner_target_name",
110 "//ipc",
111 "//services/service_manager/embedder",
112 ]
113 forward_variables_from(invoker,
114 [
115 "defines",
116 "visibility",
117 ])
118
107 if (is_android) { 119 if (is_android) {
108 sources += [ 120 sources += [
109 "android/app_jni_registrar.cc", 121 "android/app_jni_registrar.cc",
110 "android/app_jni_registrar.h", 122 "android/app_jni_registrar.h",
111 "android/child_process_service_impl.cc", 123 "android/child_process_service_impl.cc",
112 "android/child_process_service_impl.h", 124 "android/child_process_service_impl.h",
113 "android/content_jni_onload.cc", 125 "android/content_jni_onload.cc",
114 "android/content_main.cc", 126 "android/content_main.cc",
115 "android/content_main.h", 127 "android/content_main.h",
116 "android/library_loader_hooks.cc", 128 "android/library_loader_hooks.cc",
117 "android/library_loader_hooks.h", 129 "android/library_loader_hooks.h",
118 ] 130 ]
131 deps += [ "//mojo/android:libsystem_java" ]
119 } else { 132 } else {
120 sources += [ "content_main.cc" ] 133 sources += [ "content_main.cc" ]
121 } 134 }
122
123 configs += extra_configs
124 deps = content_app_deps + [
125 ":$runner_target_name",
126 "//ipc",
127 "//services/service_manager/embedder",
128 ]
129 forward_variables_from(invoker,
130 [
131 "defines",
132 "visibility",
133 ])
134 } 135 }
135 } 136 }
136 137
137 group("content_app_browser_deps") { 138 group("content_app_browser_deps") {
138 deps = [ 139 deps = [
139 "//content/browser", 140 "//content/browser",
140 "//content/public/browser:browser_sources", 141 "//content/public/browser:browser_sources",
141 ] 142 ]
142 } 143 }
143 144
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 190 }
190 191
191 implement_content_app("child") { 192 implement_content_app("child") {
192 visibility = [ "//content/public/app:child" ] 193 visibility = [ "//content/public/app:child" ]
193 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] 194 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ]
194 deps = [ 195 deps = [
195 ":content_app_child_deps", 196 ":content_app_child_deps",
196 ] 197 ]
197 } 198 }
198 } 199 }
OLDNEW
« no previous file with comments | « no previous file | content/app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698