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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
11 import("//mojo/public/tools/bindings/mojom.gni") | 11 import("//mojo/public/tools/bindings/mojom.gni") |
12 import("//ppapi/features/features.gni") | 12 import("//ppapi/features/features.gni") |
| 13 import("//services/service_manager/public/service_manifest.gni") |
13 import("//testing/test.gni") | 14 import("//testing/test.gni") |
14 import("//third_party/WebKit/public/public_features.gni") | 15 import("//third_party/WebKit/public/public_features.gni") |
15 import("//v8/gni/v8.gni") | 16 import("//v8/gni/v8.gni") |
16 | 17 |
17 # Use a static library here because many test binaries depend on this but don't | 18 # Use a static library here because many test binaries depend on this but don't |
18 # require many files from it. This makes linking more efficient. | 19 # require many files from it. This makes linking more efficient. |
19 static_library("test_support") { | 20 static_library("test_support") { |
20 testonly = true | 21 testonly = true |
21 | 22 |
22 # See comment at the top of //content/BUILD.gn for why this is disabled in | 23 # See comment at the top of //content/BUILD.gn for why this is disabled in |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1435 "//media/capture/mojo:capture_types", | 1436 "//media/capture/mojo:capture_types", |
1436 "//media/midi:midi", | 1437 "//media/midi:midi", |
1437 "//media/midi:mojo_cpp_sources", | 1438 "//media/midi:mojo_cpp_sources", |
1438 "//mojo/edk/test:test_support", | 1439 "//mojo/edk/test:test_support", |
1439 "//mojo/public/cpp/bindings", | 1440 "//mojo/public/cpp/bindings", |
1440 "//net:extras", | 1441 "//net:extras", |
1441 "//net:test_support", | 1442 "//net:test_support", |
1442 "//ppapi/c", | 1443 "//ppapi/c", |
1443 "//ppapi/features", | 1444 "//ppapi/features", |
1444 "//printing", | 1445 "//printing", |
| 1446 "//services/file:lib", |
| 1447 "//services/file/public/interfaces", |
| 1448 "//services/service_manager/public/cpp:service_test_support", |
1445 "//skia", | 1449 "//skia", |
1446 "//sql", | 1450 "//sql", |
1447 "//sql:test_support", | 1451 "//sql:test_support", |
1448 "//storage/browser", | 1452 "//storage/browser", |
1449 "//storage/common", | 1453 "//storage/common", |
1450 "//testing/gmock", | 1454 "//testing/gmock", |
1451 "//testing/gtest", | 1455 "//testing/gtest", |
1452 "//third_party/WebKit/public:blink", | 1456 "//third_party/WebKit/public:blink", |
1453 "//third_party/icu", | 1457 "//third_party/icu", |
1454 "//third_party/leveldatabase", | 1458 "//third_party/leveldatabase", |
(...skipping 10 matching lines...) Expand all Loading... |
1465 "//ui/events/blink", | 1469 "//ui/events/blink", |
1466 "//ui/gfx:test_support", | 1470 "//ui/gfx:test_support", |
1467 "//ui/gfx/geometry", | 1471 "//ui/gfx/geometry", |
1468 "//ui/gfx/ipc", | 1472 "//ui/gfx/ipc", |
1469 "//ui/gfx/ipc/skia", | 1473 "//ui/gfx/ipc/skia", |
1470 "//ui/gl", | 1474 "//ui/gl", |
1471 "//ui/gl:test_support", | 1475 "//ui/gl:test_support", |
1472 ] | 1476 ] |
1473 | 1477 |
1474 data_deps = [ | 1478 data_deps = [ |
| 1479 ":content_unittests_manifest", |
| 1480 "//components/filesystem:filesystem", |
1475 "//third_party/mesa:osmesa", | 1481 "//third_party/mesa:osmesa", |
1476 ] | 1482 ] |
1477 | 1483 |
1478 if (!is_win) { | 1484 if (!is_win) { |
1479 sources += [ "../browser/file_descriptor_info_impl_unittest.cc" ] | 1485 sources += [ "../browser/file_descriptor_info_impl_unittest.cc" ] |
1480 } | 1486 } |
1481 | 1487 |
1482 if (enable_plugins) { | 1488 if (enable_plugins) { |
1483 # Put WebRTC-related plugins sources in the "enable_webrtc && | 1489 # Put WebRTC-related plugins sources in the "enable_webrtc && |
1484 # enable_plugins" section below. | 1490 # enable_plugins" section below. |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1703 | 1709 |
1704 if (is_mac) { | 1710 if (is_mac) { |
1705 deps += [ "//third_party/boringssl" ] | 1711 deps += [ "//third_party/boringssl" ] |
1706 } | 1712 } |
1707 | 1713 |
1708 if (use_x11) { | 1714 if (use_x11) { |
1709 deps += [ "//ui/gfx/x" ] | 1715 deps += [ "//ui/gfx/x" ] |
1710 } | 1716 } |
1711 } | 1717 } |
1712 | 1718 |
| 1719 service_manifest("content_unittests_manifest") { |
| 1720 name = "content_unittests" |
| 1721 source = "unittests_manifest.json" |
| 1722 packaged_services = [ "file" ] |
| 1723 deps = [ |
| 1724 "//services/file:manifest", |
| 1725 ] |
| 1726 } |
| 1727 |
1713 test("content_perftests") { | 1728 test("content_perftests") { |
1714 # See comment at the top of //content/BUILD.gn for why this is disabled in | 1729 # See comment at the top of //content/BUILD.gn for why this is disabled in |
1715 # component builds. | 1730 # component builds. |
1716 if (is_component_build) { | 1731 if (is_component_build) { |
1717 check_includes = false | 1732 check_includes = false |
1718 } | 1733 } |
1719 | 1734 |
1720 sources = [ | 1735 sources = [ |
1721 "../browser/renderer_host/input/input_router_impl_perftest.cc", | 1736 "../browser/renderer_host/input/input_router_impl_perftest.cc", |
1722 "../test/run_all_perftests.cc", | 1737 "../test/run_all_perftests.cc", |
(...skipping 17 matching lines...) Expand all Loading... |
1740 if (is_android) { | 1755 if (is_android) { |
1741 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1756 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1742 } | 1757 } |
1743 } | 1758 } |
1744 | 1759 |
1745 group("fuzzers") { | 1760 group("fuzzers") { |
1746 deps = [ | 1761 deps = [ |
1747 "//content/test/fuzzer", | 1762 "//content/test/fuzzer", |
1748 ] | 1763 ] |
1749 } | 1764 } |
OLD | NEW |