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

Side by Side Diff: blimp/engine/BUILD.gn

Issue 2033013003: Use shared memory for moving data over BlobChannel Mojo interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-master
Patch Set: Switch to new Mojo shared buffer API Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 "app/ui/blimp_screen_unittest.cc", 385 "app/ui/blimp_screen_unittest.cc",
386 ] 386 ]
387 387
388 deps = [ 388 deps = [
389 ":app", 389 ":app",
390 ":app_config", 390 ":app_config",
391 ":app_metrics", 391 ":app_metrics",
392 ":app_net", 392 ":app_net",
393 ":app_settings", 393 ":app_settings",
394 "//base", 394 "//base",
395 "//base/test:run_all_unittests",
396 "//base/test:test_support", 395 "//base/test:test_support",
397 "//blimp/common", 396 "//blimp/common",
398 "//blimp/common:test_support", 397 "//blimp/common:test_support",
399 "//blimp/engine:app_ui", 398 "//blimp/engine:app_ui",
400 "//components/metrics:metrics", 399 "//components/metrics:metrics",
401 "//components/pref_registry:pref_registry", 400 "//components/pref_registry:pref_registry",
402 "//components/prefs:prefs", 401 "//components/prefs:prefs",
403 "//content/test:test_support", 402 "//content/test:test_support",
404 "//net:test_support", 403 "//net:test_support",
405 "//testing/gmock", 404 "//testing/gmock",
406 "//testing/gtest", 405 "//testing/gtest",
407 "//ui/display", 406 "//ui/display",
408 "//ui/gfx:test_support", 407 "//ui/gfx:test_support",
409 ] 408 ]
410 } 409 }
411 410
412 source_set("common_unit_tests") { 411 source_set("common_unit_tests") {
413 testonly = true 412 testonly = true
414 413
415 sources = [ 414 sources = [
416 "common/blimp_browser_context_unittest.cc", 415 "common/blimp_browser_context_unittest.cc",
417 ] 416 ]
418 417
419 deps = [ 418 deps = [
420 ":common", 419 ":common",
421 "//base", 420 "//base",
422 "//base/test:run_all_unittests",
423 "//base/test:test_support", 421 "//base/test:test_support",
424 "//components/metrics:metrics", 422 "//components/metrics:metrics",
425 "//content/public/browser", 423 "//content/public/browser",
426 "//content/test:test_support", 424 "//content/test:test_support",
427 "//net:test_support", 425 "//net:test_support",
428 "//testing/gmock", 426 "//testing/gmock",
429 "//testing/gtest", 427 "//testing/gtest",
430 ] 428 ]
431 } 429 }
432 430
433 source_set("feature_unit_tests") { 431 source_set("feature_unit_tests") {
434 testonly = true 432 testonly = true
435 433
436 sources = [ 434 sources = [
437 "feature/engine_render_widget_feature_unittest.cc", 435 "feature/engine_render_widget_feature_unittest.cc",
438 "feature/engine_settings_feature_unittest.cc", 436 "feature/engine_settings_feature_unittest.cc",
439 ] 437 ]
440 438
441 deps = [ 439 deps = [
442 ":feature", 440 ":feature",
443 "//base", 441 "//base",
444 "//base/test:run_all_unittests",
445 "//base/test:test_support", 442 "//base/test:test_support",
446 "//blimp/common", 443 "//blimp/common",
447 "//blimp/common/proto", 444 "//blimp/common/proto",
448 "//blimp/engine:app_settings", 445 "//blimp/engine:app_settings",
449 "//blimp/net", 446 "//blimp/net",
450 "//blimp/net:test_support", 447 "//blimp/net:test_support",
451 "//content", 448 "//content",
452 "//content/public/browser", 449 "//content/public/browser",
453 "//net", 450 "//net",
454 "//net:test_support", 451 "//net:test_support",
455 "//testing/gmock", 452 "//testing/gmock",
456 "//testing/gtest", 453 "//testing/gtest",
457 "//third_party/WebKit/public:blink_headers", 454 "//third_party/WebKit/public:blink_headers",
458 "//ui/base:test_support", 455 "//ui/base:test_support",
459 ] 456 ]
460 } 457 }
461 458
459 source_set("renderer_unit_tests") {
460 testonly = true
461
462 sources = [
463 "renderer/blob_channel_sender_proxy_unittest.cc",
464 ]
465
466 deps = [
467 ":renderer",
468 "//base",
469 "//blimp/common",
470 "//blimp/common:test_support",
471 "//blimp/engine:blob_channel_mojo_cpp_sources",
472 "//blimp/engine:blob_channel_service",
473 "//blimp/net:test_support",
474 "//mojo/public",
475 "//testing/gmock",
476 "//testing/gtest",
477 ]
478 }
479
462 source_set("unit_tests") { 480 source_set("unit_tests") {
463 testonly = true 481 testonly = true
464 482
465 deps = [ 483 deps = [
466 ":app_unit_tests", 484 ":app_unit_tests",
467 ":common_unit_tests", 485 ":common_unit_tests",
468 ":feature_unit_tests", 486 ":feature_unit_tests",
487 ":renderer_unit_tests",
469 ] 488 ]
470 } 489 }
471 490
472 if (is_linux) { 491 if (is_linux) {
473 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" 492 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps"
474 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) 493 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir)
475 494
476 executable("blimp_engine_app") { 495 executable("blimp_engine_app") {
477 sources = [ 496 sources = [
478 "app/blimp_main.cc", 497 "app/blimp_main.cc",
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 "//content/test:test_support", 670 "//content/test:test_support",
652 "//testing/gmock", 671 "//testing/gmock",
653 "//testing/gtest", 672 "//testing/gtest",
654 ] 673 ]
655 674
656 data = [ 675 data = [
657 "data/", 676 "data/",
658 "$root_out_dir/blimp_engine.pak", 677 "$root_out_dir/blimp_engine.pak",
659 ] 678 ]
660 } 679 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698