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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 generate_jni("jni") { | 240 generate_jni("jni") { |
241 sources = [ | 241 sources = [ |
242 "../public/test/android/javatests/src/org/chromium/content/browser/test/
NestedSystemMessageHandler.java", | 242 "../public/test/android/javatests/src/org/chromium/content/browser/test/
NestedSystemMessageHandler.java", |
243 ] | 243 ] |
244 jni_package = "content/public/test" | 244 jni_package = "content/public/test" |
245 } | 245 } |
246 } | 246 } |
247 } # !is_ios | 247 } # !is_ios |
248 | 248 |
249 # TODO(GYP) enable content_browsertests on Mac when it links. | 249 # TODO(GYP) enable content_browsertests on Mac when it links. |
250 if (!is_mac && (!is_win || link_chrome_on_windows)) { | 250 if (!is_mac) { |
251 test("content_browsertests") { | 251 test("content_browsertests") { |
252 sources = | 252 sources = |
253 rebase_path(content_tests_gypi_values.content_browsertests_sources, | 253 rebase_path(content_tests_gypi_values.content_browsertests_sources, |
254 ".", | 254 ".", |
255 "//content") | 255 "//content") |
256 | 256 |
257 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 257 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
258 | 258 |
259 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 259 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
260 | 260 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 "//content") | 432 "//content") |
433 } | 433 } |
434 | 434 |
435 if (!use_aura) { | 435 if (!use_aura) { |
436 sources -= | 436 sources -= |
437 [ "../browser/web_contents/web_contents_view_aura_browsertest.cc" ] | 437 [ "../browser/web_contents/web_contents_view_aura_browsertest.cc" ] |
438 } | 438 } |
439 } | 439 } |
440 } | 440 } |
441 | 441 |
442 if (!is_mac && (!is_win || link_chrome_on_windows)) { # TODO(GYP) enable on Mac
once it links. | 442 if (!is_mac) { # TODO(GYP) enable on Mac once it links. |
443 test("content_unittests") { | 443 test("content_unittests") { |
444 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, | 444 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, |
445 ".", | 445 ".", |
446 "//content") | 446 "//content") |
447 deps = [ | 447 deps = [ |
448 ":test_support", | 448 ":test_support", |
449 "//base/allocator", | 449 "//base/allocator", |
450 "//base/test:test_support", | 450 "//base/test:test_support", |
451 "//content/browser/service_worker:service_worker_proto", | 451 "//content/browser/service_worker:service_worker_proto", |
452 "//content/browser/speech/proto", | 452 "//content/browser/speech/proto", |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 sources -= | 624 sources -= |
625 [ "../browser/compositor/software_output_device_ozone_unittest.cc" ] | 625 [ "../browser/compositor/software_output_device_ozone_unittest.cc" ] |
626 } | 626 } |
627 | 627 |
628 if (is_mac && use_openssl) { | 628 if (is_mac && use_openssl) { |
629 deps += [ "//third_party/boringssl" ] | 629 deps += [ "//third_party/boringssl" ] |
630 } | 630 } |
631 } | 631 } |
632 } | 632 } |
633 | 633 |
634 if (!is_mac && (!is_win || link_chrome_on_windows)) { # TODO(GYP) enable on Mac
once it links. | 634 if (!is_mac) { # TODO(GYP) enable on Mac once it links. |
635 test("content_perftests") { | 635 test("content_perftests") { |
636 sources = [ | 636 sources = [ |
637 "../browser/net/sqlite_persistent_cookie_store_perftest.cc", | 637 "../browser/net/sqlite_persistent_cookie_store_perftest.cc", |
638 "../browser/renderer_host/input/input_router_impl_perftest.cc", | 638 "../browser/renderer_host/input/input_router_impl_perftest.cc", |
639 "../common/cc_messages_perftest.cc", | 639 "../common/cc_messages_perftest.cc", |
640 "../test/run_all_perftests.cc", | 640 "../test/run_all_perftests.cc", |
641 ] | 641 ] |
642 deps = [ | 642 deps = [ |
643 "//base/allocator", | 643 "//base/allocator", |
644 "//base/test:test_support", | 644 "//base/test:test_support", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 "//content/public/common", | 702 "//content/public/common", |
703 "//testing/gtest", | 703 "//testing/gtest", |
704 "//third_party/WebKit/public:blink", | 704 "//third_party/WebKit/public:blink", |
705 "//ui/base", | 705 "//ui/base", |
706 "//ui/gfx", | 706 "//ui/gfx", |
707 "//ui/gfx/geometry", | 707 "//ui/gfx/geometry", |
708 "//ui/gl", | 708 "//ui/gl", |
709 ] | 709 ] |
710 } | 710 } |
711 } | 711 } |
OLD | NEW |