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

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: Follow review 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 += [
405 "$root_out_dir/authenticating_url_loader_interceptor.mojo",
406 "$root_out_dir/dart_content_handler.mojo",
407 "$root_out_dir/device_info.mojo",
408 "$root_out_dir/icu_data.mojo",
409 "$root_out_dir/java_handler.mojo",
410 "$root_out_dir/kiosk_wm.mojo",
411 "$root_out_dir/surfaces_service.mojo",
412 "$root_out_dir/tracing.mojo",
413 "$root_out_dir/view_manager.mojo",
414 ]
415
416 deps += [
417 "//services/authenticating_url_loader_interceptor",
418 "//services/android:java_handler",
419 "//services/dart:dart_content_handler",
420 "//services/device_info",
421 "//services/icu_data",
422 "//services/kiosk_wm",
423 "//services/surfaces",
424 "//services/tracing",
425 "//services/view_manager",
426 ]
427 }
400 } 428 }
401 429
402 copy_ex("copy_mojo_shell_test_assets") { 430 copy_ex("copy_mojo_shell_test_assets") {
403 clear_dir = true 431 clear_dir = true
404 dest = mojo_shell_test_assets_dir 432 dest = mojo_shell_test_assets_dir
405 sources = [ 433 sources = [
406 "$root_out_dir/test_app.mojo", 434 "$root_out_dir/test_app.mojo",
407 "$root_out_dir/test_request_tracker_app.mojo", 435 "$root_out_dir/test_request_tracker_app.mojo",
408 ] 436 ]
409 deps = [ 437 deps = [
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 "${root_out_dir}/libmojo_shell.so", 689 "${root_out_dir}/libmojo_shell.so",
662 ] 690 ]
663 } else { 691 } else {
664 sources += [ "${root_out_dir}/mojo_shell" ] 692 sources += [ "${root_out_dir}/mojo_shell" ]
665 } 693 }
666 694
667 outputs = [ 695 outputs = [
668 "${root_out_dir}/symbols/{{source_file_part}}", 696 "${root_out_dir}/symbols/{{source_file_part}}",
669 ] 697 ]
670 } 698 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698