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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo.gni") | 6 import("//mojo/public/mojo.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 # We don't support building in the component build since mojo apps are | 9 # We don't support building in the component build since mojo apps are |
10 # inherently components. | 10 # inherently components. |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "android/android_handler.h", | 157 "android/android_handler.h", |
158 "android/android_handler.cc", | 158 "android/android_handler.cc", |
159 "android/android_handler_loader.h", | 159 "android/android_handler_loader.h", |
160 "android/android_handler_loader.cc", | 160 "android/android_handler_loader.cc", |
161 "network_application_loader.cc", | 161 "network_application_loader.cc", |
162 "network_application_loader.h", | 162 "network_application_loader.h", |
163 ] | 163 ] |
164 | 164 |
165 deps += [ | 165 deps += [ |
166 ":jni_headers", | 166 ":jni_headers", |
167 "//mojo/services/gles2", | |
168 "//mojo/services/native_viewport:lib", | |
169 "//mojo/services/network:lib", | 167 "//mojo/services/network:lib", |
170 "//mojo/application:content_handler", | 168 "//mojo/application:content_handler", |
| 169 "//services/gles2", |
| 170 "//services/native_viewport:lib", |
171 ] | 171 ] |
172 } | 172 } |
173 | 173 |
174 # This target includes some files behind #ifdef OS... guards. Since gn is not | 174 # This target includes some files behind #ifdef OS... guards. Since gn is not |
175 # smart enough to understand preprocess includes, it does complains about | 175 # smart enough to understand preprocess includes, it does complains about |
176 # these includes when not using the build files for that OS. Suppress checking | 176 # these includes when not using the build files for that OS. Suppress checking |
177 # so we can enable checking for the rest of the targets in this file. | 177 # so we can enable checking for the rest of the targets in this file. |
178 # TODO: Might be better to split the files with OS-specific includes out to a | 178 # TODO: Might be better to split the files with OS-specific includes out to a |
179 # separate source_set so we can leave checking on for the rest of the target. | 179 # separate source_set so we can leave checking on for the rest of the target. |
180 check_includes = false | 180 check_includes = false |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 shared_library("libmojo_shell") { | 237 shared_library("libmojo_shell") { |
238 sources = [ | 238 sources = [ |
239 "android/library_loader.cc", | 239 "android/library_loader.cc", |
240 "android/mojo_main.cc", | 240 "android/mojo_main.cc", |
241 "android/mojo_main.h", | 241 "android/mojo_main.h", |
242 ] | 242 ] |
243 deps = [ | 243 deps = [ |
244 ":jni_headers", | 244 ":jni_headers", |
245 ":lib", | 245 ":lib", |
246 "//mojo/application_manager", | 246 "//mojo/application_manager", |
247 "//mojo/services/native_viewport:lib", | |
248 "//net", | 247 "//net", |
| 248 "//services/native_viewport:lib", |
249 "//ui/gl", | 249 "//ui/gl", |
250 ] | 250 ] |
251 } | 251 } |
252 | 252 |
253 mojo_shell_assets_dir = "$root_build_dir/mojo_shell_assets" | 253 mojo_shell_assets_dir = "$root_build_dir/mojo_shell_assets" |
254 | 254 |
255 copy_ex("copy_mojo_shell_assets") { | 255 copy_ex("copy_mojo_shell_assets") { |
256 clear_dir = true | 256 clear_dir = true |
257 dest = mojo_shell_assets_dir | 257 dest = mojo_shell_assets_dir |
258 sources = [ | 258 sources = [ |
(...skipping 11 matching lines...) Expand all Loading... |
270 "libmojo_shell.so", | 270 "libmojo_shell.so", |
271 ] | 271 ] |
272 | 272 |
273 asset_location = mojo_shell_assets_dir | 273 asset_location = mojo_shell_assets_dir |
274 | 274 |
275 deps = [ | 275 deps = [ |
276 ":copy_mojo_shell_assets", | 276 ":copy_mojo_shell_assets", |
277 ":java", | 277 ":java", |
278 ":libmojo_shell", | 278 ":libmojo_shell", |
279 ":resources", | 279 ":resources", |
280 "//mojo/services/native_viewport:native_viewport_java", | 280 "//services/native_viewport:native_viewport_java", |
281 ] | 281 ] |
282 } | 282 } |
283 } | 283 } |
284 | 284 |
285 mojom("app_child_process_bindings") { | 285 mojom("app_child_process_bindings") { |
286 sources = [ | 286 sources = [ |
287 "app_child_process.mojom" | 287 "app_child_process.mojom" |
288 ] | 288 ] |
289 } | 289 } |
290 | 290 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 | 412 |
413 deps -= [ | 413 deps -= [ |
414 ":lib", | 414 ":lib", |
415 ":external_application_registrar_connection", | 415 ":external_application_registrar_connection", |
416 ":external_application_registrar_bindings", | 416 ":external_application_registrar_bindings", |
417 "//mojo/shell/domain_socket", | 417 "//mojo/shell/domain_socket", |
418 "//mojo/shell/domain_socket:tests", | 418 "//mojo/shell/domain_socket:tests", |
419 ] | 419 ] |
420 } | 420 } |
421 } | 421 } |
OLD | NEW |