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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 10 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 if (is_android) { | 363 if (is_android) { |
364 sources += rebase_path( | 364 sources += rebase_path( |
365 content_tests_gypi_values.content_browsertests_android_sources, | 365 content_tests_gypi_values.content_browsertests_android_sources, |
366 ".", | 366 ".", |
367 "//content") | 367 "//content") |
368 sources -= | 368 sources -= |
369 [ "../browser/battery_status/battery_monitor_impl_browsertest.cc" ] | 369 [ "../browser/battery_status/battery_monitor_impl_browsertest.cc" ] |
370 deps += [ | 370 deps += [ |
371 "//content/shell/android:content_shell_jni_headers", | 371 "//content/shell/android:content_shell_jni_headers", |
372 "//content/shell:content_shell_lib", | 372 "//content/shell:content_shell_lib", |
373 "//testing/android:native_test_util", | 373 "//testing/android/native_test:native_test_util", |
374 ] | 374 ] |
375 | 375 |
376 use_launcher = false | 376 use_launcher = false |
377 } | 377 } |
378 | 378 |
379 if (is_mac) { | 379 if (is_mac) { |
380 sources += [ "../renderer/external_popup_menu_browsertest.cc" ] | 380 sources += [ "../renderer/external_popup_menu_browsertest.cc" ] |
381 deps += [ | 381 deps += [ |
382 # Needed for Content Shell.app's Helper. | 382 # Needed for Content Shell.app's Helper. |
383 #"//content/shell:content_shell", #TODO(GYP) enable for mac | 383 #"//content/shell:content_shell", #TODO(GYP) enable for mac |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 if (is_android) { | 577 if (is_android) { |
578 sources += rebase_path( | 578 sources += rebase_path( |
579 content_tests_gypi_values.content_unittests_android_sources, | 579 content_tests_gypi_values.content_unittests_android_sources, |
580 ".", | 580 ".", |
581 "//content") | 581 "//content") |
582 sources -= [ | 582 sources -= [ |
583 "../browser/geolocation/network_location_provider_unittest.cc", | 583 "../browser/geolocation/network_location_provider_unittest.cc", |
584 "../browser/geolocation/wifi_data_provider_common_unittest.cc", | 584 "../browser/geolocation/wifi_data_provider_common_unittest.cc", |
585 "../browser/webui/url_data_manager_backend_unittest.cc", | 585 "../browser/webui/url_data_manager_backend_unittest.cc", |
586 ] | 586 ] |
587 deps += [ "//testing/android:native_test_native_code" ] | 587 deps += [ "//testing/android/native_test:native_test_native_code" ] |
588 } | 588 } |
589 if (!is_android && !is_ios) { | 589 if (!is_android && !is_ios) { |
590 deps += [ "//third_party/libvpx" ] | 590 deps += [ "//third_party/libvpx" ] |
591 } | 591 } |
592 | 592 |
593 if (use_aura) { | 593 if (use_aura) { |
594 deps += [ | 594 deps += [ |
595 "//ui/aura", | 595 "//ui/aura", |
596 "//ui/wm", | 596 "//ui/wm", |
597 ] | 597 ] |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 "//content/test:test_support", | 650 "//content/test:test_support", |
651 "//cc", | 651 "//cc", |
652 "//skia", | 652 "//skia", |
653 "//testing/gtest", | 653 "//testing/gtest", |
654 "//testing/perf", | 654 "//testing/perf", |
655 "//ui/gfx", | 655 "//ui/gfx", |
656 "//ui/gfx/geometry", | 656 "//ui/gfx/geometry", |
657 ] | 657 ] |
658 | 658 |
659 if (is_android) { | 659 if (is_android) { |
660 deps += [ "//testing/android:native_test_native_code" ] | 660 deps += [ "//testing/android/native_test:native_test_native_code" ] |
661 } | 661 } |
662 } | 662 } |
663 | 663 |
664 test("content_gl_tests") { | 664 test("content_gl_tests") { |
665 sources = [ | 665 sources = [ |
666 "../common/gpu/client/gl_helper_unittest.cc", | 666 "../common/gpu/client/gl_helper_unittest.cc", |
667 "../common/gpu/client/gpu_in_process_context_tests.cc", | 667 "../common/gpu/client/gpu_in_process_context_tests.cc", |
668 ] | 668 ] |
669 | 669 |
670 deps = [ | 670 deps = [ |
671 ":test_support", | 671 ":test_support", |
672 "//base/allocator", | 672 "//base/allocator", |
673 "//base/test:test_support", | 673 "//base/test:test_support", |
674 "//content/public/common", | 674 "//content/public/common", |
675 "//gpu/command_buffer/common", | 675 "//gpu/command_buffer/common", |
676 "//testing/gtest", | 676 "//testing/gtest", |
677 "//third_party/WebKit/public:blink", | 677 "//third_party/WebKit/public:blink", |
678 "//ui/base", | 678 "//ui/base", |
679 "//ui/gfx", | 679 "//ui/gfx", |
680 "//ui/gfx:test_support", | 680 "//ui/gfx:test_support", |
681 "//ui/gfx/geometry", | 681 "//ui/gfx/geometry", |
682 "//ui/gl", | 682 "//ui/gl", |
683 "//v8", | 683 "//v8", |
684 ] | 684 ] |
685 | 685 |
686 if (is_android) { | 686 if (is_android) { |
687 deps += [ "//testing/android:native_test_native_code" ] | 687 deps += [ "//testing/android/native_test:native_test_native_code" ] |
688 } else { | 688 } else { |
689 data_deps = [ | 689 data_deps = [ |
690 "//third_party/ffmpeg", | 690 "//third_party/ffmpeg", |
691 "//third_party/mesa:osmesa", | 691 "//third_party/mesa:osmesa", |
692 ] | 692 ] |
693 } | 693 } |
694 } | 694 } |
695 | 695 |
696 test("content_gl_benchmark") { | 696 test("content_gl_benchmark") { |
697 sources = [ | 697 sources = [ |
698 "../common/gpu/client/gl_helper_benchmark.cc", | 698 "../common/gpu/client/gl_helper_benchmark.cc", |
699 ] | 699 ] |
700 | 700 |
701 deps = [ | 701 deps = [ |
702 ":test_support", | 702 ":test_support", |
703 "//base/allocator", | 703 "//base/allocator", |
704 "//base/test:test_support", | 704 "//base/test:test_support", |
705 "//content/public/common", | 705 "//content/public/common", |
706 "//testing/gtest", | 706 "//testing/gtest", |
707 "//third_party/WebKit/public:blink", | 707 "//third_party/WebKit/public:blink", |
708 "//ui/base", | 708 "//ui/base", |
709 "//ui/gfx", | 709 "//ui/gfx", |
710 "//ui/gfx/geometry", | 710 "//ui/gfx/geometry", |
711 "//ui/gl", | 711 "//ui/gl", |
712 ] | 712 ] |
713 } | 713 } |
714 } | 714 } |
OLD | NEW |