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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 generate_jni("jni") { | 239 generate_jni("jni") { |
240 sources = [ | 240 sources = [ |
241 "../public/test/android/javatests/src/org/chromium/content/browser/test/
NestedSystemMessageHandler.java", | 241 "../public/test/android/javatests/src/org/chromium/content/browser/test/
NestedSystemMessageHandler.java", |
242 ] | 242 ] |
243 jni_package = "content/public/test" | 243 jni_package = "content/public/test" |
244 } | 244 } |
245 } | 245 } |
246 } # !is_ios | 246 } # !is_ios |
247 | 247 |
248 # TODO(GYP) enable content_browsertests on Mac when it links. | 248 # TODO(GYP) enable content_browsertests on Mac when it links. |
249 if (!is_mac) { | 249 if (!is_mac && (!is_win || link_chrome_on_windows)) { |
250 test("content_browsertests") { | 250 test("content_browsertests") { |
251 sources = | 251 sources = |
252 rebase_path(content_tests_gypi_values.content_browsertests_sources, | 252 rebase_path(content_tests_gypi_values.content_browsertests_sources, |
253 ".", | 253 ".", |
254 "//content") | 254 "//content") |
255 | 255 |
256 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 256 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
257 | 257 |
258 deps = [ | 258 deps = [ |
259 ":browsertest_support", | 259 ":browsertest_support", |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 "//content") | 422 "//content") |
423 } | 423 } |
424 | 424 |
425 if (!use_aura) { | 425 if (!use_aura) { |
426 sources -= | 426 sources -= |
427 [ "../browser/web_contents/web_contents_view_aura_browsertest.cc" ] | 427 [ "../browser/web_contents/web_contents_view_aura_browsertest.cc" ] |
428 } | 428 } |
429 } | 429 } |
430 } | 430 } |
431 | 431 |
432 if (!is_mac) { # TODO(GYP) enable on Mac once it links. | 432 if (!is_mac && (!is_win || link_chrome_on_windows)) { # TODO(GYP) enable on Mac
once it links. |
433 test("content_unittests") { | 433 test("content_unittests") { |
434 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, | 434 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, |
435 ".", | 435 ".", |
436 "//content") | 436 "//content") |
437 deps = [ | 437 deps = [ |
438 ":test_support", | 438 ":test_support", |
439 "//base/allocator", | 439 "//base/allocator", |
440 "//base/test:test_support", | 440 "//base/test:test_support", |
441 "//content/browser/service_worker:service_worker_proto", | 441 "//content/browser/service_worker:service_worker_proto", |
442 "//content/browser/speech/proto", | 442 "//content/browser/speech/proto", |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 sources -= | 615 sources -= |
616 [ "../browser/compositor/software_output_device_ozone_unittest.cc" ] | 616 [ "../browser/compositor/software_output_device_ozone_unittest.cc" ] |
617 } | 617 } |
618 | 618 |
619 if (is_mac && use_openssl) { | 619 if (is_mac && use_openssl) { |
620 deps += [ "//third_party/boringssl" ] | 620 deps += [ "//third_party/boringssl" ] |
621 } | 621 } |
622 } | 622 } |
623 } | 623 } |
624 | 624 |
625 if (!is_mac) { # TODO(GYP) enable on Mac once it links. | 625 if (!is_mac && (!is_win || link_chrome_on_windows)) { # TODO(GYP) enable on Mac
once it links. |
626 test("content_perftests") { | 626 test("content_perftests") { |
627 sources = [ | 627 sources = [ |
628 "../browser/renderer_host/input/input_router_impl_perftest.cc", | 628 "../browser/renderer_host/input/input_router_impl_perftest.cc", |
629 "../common/cc_messages_perftest.cc", | 629 "../common/cc_messages_perftest.cc", |
630 "../test/run_all_perftests.cc", | 630 "../test/run_all_perftests.cc", |
631 ] | 631 ] |
632 deps = [ | 632 deps = [ |
633 "//base/allocator", | 633 "//base/allocator", |
634 "//base/test:test_support", | 634 "//base/test:test_support", |
635 "//content/public/browser", | 635 "//content/public/browser", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 "//content/public/common", | 692 "//content/public/common", |
693 "//testing/gtest", | 693 "//testing/gtest", |
694 "//third_party/WebKit/public:blink", | 694 "//third_party/WebKit/public:blink", |
695 "//ui/base", | 695 "//ui/base", |
696 "//ui/gfx", | 696 "//ui/gfx", |
697 "//ui/gfx/geometry", | 697 "//ui/gfx/geometry", |
698 "//ui/gl", | 698 "//ui/gl", |
699 ] | 699 ] |
700 } | 700 } |
701 } | 701 } |
OLD | NEW |