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

Side by Side Diff: shell/BUILD.gn

Issue 1364243002: Bundle core applicatons in the shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//mojo/tools/embed/rules.gni") 9 import("//mojo/tools/embed/rules.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 "android/android_handler.cc", 219 "android/android_handler.cc",
220 "android/android_handler.h", 220 "android/android_handler.h",
221 "android/android_handler_loader.cc", 221 "android/android_handler_loader.cc",
222 "android/android_handler_loader.h", 222 "android/android_handler_loader.h",
223 "android/java_application_loader.cc", 223 "android/java_application_loader.cc",
224 "android/java_application_loader.h", 224 "android/java_application_loader.h",
225 "android/native_viewport_application_loader.cc", 225 "android/native_viewport_application_loader.cc",
226 "android/native_viewport_application_loader.h", 226 "android/native_viewport_application_loader.h",
227 "android/ui_application_loader_android.cc", 227 "android/ui_application_loader_android.cc",
228 "android/ui_application_loader_android.h", 228 "android/ui_application_loader_android.h",
229 "android/url_response_disk_cache_delegate_impl.cc",
230 "android/url_response_disk_cache_delegate_impl.h",
229 ] 231 ]
230 232
231 deps += [ 233 deps += [
232 ":jni_headers", 234 ":jni_headers",
233 ":run_android_application_function", 235 ":run_android_application_function",
234 "//mojo/application:content_handler", 236 "//mojo/application:content_handler",
235 "//mojo/services/content_handler/public/interfaces", 237 "//mojo/services/content_handler/public/interfaces",
236 "//mojo/services/gpu/public/interfaces", 238 "//mojo/services/gpu/public/interfaces",
237 "//mojo/services/native_viewport/public/interfaces", 239 "//mojo/services/native_viewport/public/interfaces",
238 "//services/gles2", 240 "//services/gles2",
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 "$root_out_dir/lib.stripped/libbootstrap.so", 392 "$root_out_dir/lib.stripped/libbootstrap.so",
391 "$root_out_dir/network_service.mojo", 393 "$root_out_dir/network_service.mojo",
392 "$root_out_dir/obj/shell/bootstrap_java.dex.jar", 394 "$root_out_dir/obj/shell/bootstrap_java.dex.jar",
393 ] 395 ]
394 deps = [ 396 deps = [
395 ":mojo_shell_child", 397 ":mojo_shell_child",
396 ":bootstrap", 398 ":bootstrap",
397 ":bootstrap_java", 399 ":bootstrap_java",
398 "//mojo/public/tools:copy_network_service", 400 "//mojo/public/tools:copy_network_service",
399 ] 401 ]
402
403 if (!is_debug) {
404 sources += [
etiennej 2015/09/24 14:35:25 Here is the list of core mojo apps that are loaded
405 "$root_out_dir/authenticating_url_loader_interceptor.mojo",
406 "$root_out_dir/dart_content_handler.mojo",
407 "$root_out_dir/icu_data.mojo",
408 "$root_out_dir/kiosk_wm.mojo",
409 "$root_out_dir/surfaces_service.mojo",
410 "$root_out_dir/tracing.mojo",
411 "$root_out_dir/view_manager.mojo",
412 "$root_out_dir/window_manager.mojo",
413 ]
414
415 deps += [
416 "//services/authenticating_url_loader_interceptor",
417 "//services/dart:dart_content_handler",
418 "//services/icu_data",
419 "//services/kiosk_wm",
420 "//services/surfaces",
421 "//services/tracing",
422 "//services/view_manager",
423 "//services/window_manager",
etiennej 2015/09/24 14:35:25 If you remove window_manager.mojo, you can remove
424 ]
425 }
400 } 426 }
401 427
402 copy_ex("copy_mojo_shell_test_assets") { 428 copy_ex("copy_mojo_shell_test_assets") {
403 clear_dir = true 429 clear_dir = true
404 dest = mojo_shell_test_assets_dir 430 dest = mojo_shell_test_assets_dir
405 sources = [ 431 sources = [
406 "$root_out_dir/test_app.mojo", 432 "$root_out_dir/test_app.mojo",
407 "$root_out_dir/test_request_tracker_app.mojo", 433 "$root_out_dir/test_request_tracker_app.mojo",
408 ] 434 ]
409 deps = [ 435 deps = [
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 "${root_out_dir}/libmojo_shell.so", 687 "${root_out_dir}/libmojo_shell.so",
662 ] 688 ]
663 } else { 689 } else {
664 sources += [ "${root_out_dir}/mojo_shell" ] 690 sources += [ "${root_out_dir}/mojo_shell" ]
665 } 691 }
666 692
667 outputs = [ 693 outputs = [
668 "${root_out_dir}/symbols/{{source_file_part}}", 694 "${root_out_dir}/symbols/{{source_file_part}}",
669 ] 695 ]
670 } 696 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698