OLD | NEW |
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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 "app/ui/blimp_screen_unittest.cc", | 389 "app/ui/blimp_screen_unittest.cc", |
390 ] | 390 ] |
391 | 391 |
392 deps = [ | 392 deps = [ |
393 ":app", | 393 ":app", |
394 ":app_config", | 394 ":app_config", |
395 ":app_metrics", | 395 ":app_metrics", |
396 ":app_net", | 396 ":app_net", |
397 ":app_settings", | 397 ":app_settings", |
398 "//base", | 398 "//base", |
399 "//base/test:run_all_unittests", | |
400 "//base/test:test_support", | 399 "//base/test:test_support", |
401 "//blimp/common", | 400 "//blimp/common", |
402 "//blimp/common:test_support", | 401 "//blimp/common:test_support", |
403 "//blimp/engine:app_ui", | 402 "//blimp/engine:app_ui", |
404 "//components/metrics:metrics", | 403 "//components/metrics:metrics", |
405 "//components/pref_registry:pref_registry", | 404 "//components/pref_registry:pref_registry", |
406 "//components/prefs:prefs", | 405 "//components/prefs:prefs", |
407 "//components/prefs:test_support", | 406 "//components/prefs:test_support", |
408 "//content/test:test_support", | 407 "//content/test:test_support", |
409 "//net:test_support", | 408 "//net:test_support", |
410 "//testing/gmock", | 409 "//testing/gmock", |
411 "//testing/gtest", | 410 "//testing/gtest", |
412 "//ui/display", | 411 "//ui/display", |
413 "//ui/gfx:test_support", | 412 "//ui/gfx:test_support", |
414 ] | 413 ] |
415 } | 414 } |
416 | 415 |
417 source_set("common_unit_tests") { | 416 source_set("common_unit_tests") { |
418 testonly = true | 417 testonly = true |
419 | 418 |
420 sources = [ | 419 sources = [ |
421 "common/blimp_browser_context_unittest.cc", | 420 "common/blimp_browser_context_unittest.cc", |
422 ] | 421 ] |
423 | 422 |
424 deps = [ | 423 deps = [ |
425 ":common", | 424 ":common", |
426 "//base", | 425 "//base", |
427 "//base/test:run_all_unittests", | |
428 "//base/test:test_support", | 426 "//base/test:test_support", |
429 "//components/metrics:metrics", | 427 "//components/metrics:metrics", |
430 "//content/public/browser", | 428 "//content/public/browser", |
431 "//content/test:test_support", | 429 "//content/test:test_support", |
432 "//net:test_support", | 430 "//net:test_support", |
433 "//testing/gmock", | 431 "//testing/gmock", |
434 "//testing/gtest", | 432 "//testing/gtest", |
435 ] | 433 ] |
436 } | 434 } |
437 | 435 |
438 source_set("feature_unit_tests") { | 436 source_set("feature_unit_tests") { |
439 testonly = true | 437 testonly = true |
440 | 438 |
441 sources = [ | 439 sources = [ |
442 "feature/engine_render_widget_feature_unittest.cc", | 440 "feature/engine_render_widget_feature_unittest.cc", |
443 "feature/engine_settings_feature_unittest.cc", | 441 "feature/engine_settings_feature_unittest.cc", |
444 ] | 442 ] |
445 | 443 |
446 deps = [ | 444 deps = [ |
447 ":feature", | 445 ":feature", |
448 "//base", | 446 "//base", |
449 "//base/test:run_all_unittests", | |
450 "//base/test:test_support", | 447 "//base/test:test_support", |
451 "//blimp/common", | 448 "//blimp/common", |
452 "//blimp/common/proto", | 449 "//blimp/common/proto", |
453 "//blimp/engine:app_settings", | 450 "//blimp/engine:app_settings", |
454 "//blimp/net", | 451 "//blimp/net", |
455 "//blimp/net:test_support", | 452 "//blimp/net:test_support", |
456 "//content", | 453 "//content", |
457 "//content/public/browser", | 454 "//content/public/browser", |
458 "//net", | 455 "//net", |
459 "//net:test_support", | 456 "//net:test_support", |
460 "//testing/gmock", | 457 "//testing/gmock", |
461 "//testing/gtest", | 458 "//testing/gtest", |
462 "//third_party/WebKit/public:blink_headers", | 459 "//third_party/WebKit/public:blink_headers", |
463 "//ui/base:test_support", | 460 "//ui/base:test_support", |
464 ] | 461 ] |
465 } | 462 } |
466 | 463 |
| 464 source_set("renderer_unit_tests") { |
| 465 testonly = true |
| 466 |
| 467 sources = [ |
| 468 "renderer/blob_channel_sender_proxy_unittest.cc", |
| 469 ] |
| 470 |
| 471 deps = [ |
| 472 ":renderer", |
| 473 "//base", |
| 474 "//blimp/common", |
| 475 "//blimp/common:test_support", |
| 476 "//blimp/engine:blob_channel_mojo_cpp_sources", |
| 477 "//blimp/engine:blob_channel_service", |
| 478 "//blimp/net:test_support", |
| 479 "//mojo/public", |
| 480 "//testing/gmock", |
| 481 "//testing/gtest", |
| 482 ] |
| 483 } |
| 484 |
467 source_set("unit_tests") { | 485 source_set("unit_tests") { |
468 testonly = true | 486 testonly = true |
469 | 487 |
470 deps = [ | 488 deps = [ |
471 ":app_unit_tests", | 489 ":app_unit_tests", |
472 ":common_unit_tests", | 490 ":common_unit_tests", |
473 ":feature_unit_tests", | 491 ":feature_unit_tests", |
| 492 ":renderer_unit_tests", |
474 ] | 493 ] |
475 } | 494 } |
476 | 495 |
477 if (is_linux) { | 496 if (is_linux) { |
478 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" | 497 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" |
479 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) | 498 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) |
480 | 499 |
481 executable("blimp_engine_app") { | 500 executable("blimp_engine_app") { |
482 sources = [ | 501 sources = [ |
483 "app/blimp_main.cc", | 502 "app/blimp_main.cc", |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 "//content/test:test_support", | 675 "//content/test:test_support", |
657 "//testing/gmock", | 676 "//testing/gmock", |
658 "//testing/gtest", | 677 "//testing/gtest", |
659 ] | 678 ] |
660 | 679 |
661 data = [ | 680 data = [ |
662 "data/", | 681 "data/", |
663 "$root_out_dir/blimp_engine.pak", | 682 "$root_out_dir/blimp_engine.pak", |
664 ] | 683 ] |
665 } | 684 } |
OLD | NEW |