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/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
11 import("//media/media_options.gni") | 11 import("//media/media_options.gni") |
12 import("//mojo/public/tools/bindings/mojom.gni") | 12 import("//mojo/public/tools/bindings/mojom.gni") |
13 import("//ppapi/features/features.gni") | 13 import("//ppapi/features/features.gni") |
| 14 import("//services/catalog/public/tools/catalog.gni") |
14 import("//services/service_manager/public/service_manifest.gni") | 15 import("//services/service_manager/public/service_manifest.gni") |
15 import("//testing/test.gni") | 16 import("//testing/test.gni") |
16 import("//third_party/WebKit/public/public_features.gni") | 17 import("//third_party/WebKit/public/public_features.gni") |
17 import("//v8/gni/v8.gni") | 18 import("//v8/gni/v8.gni") |
18 | 19 |
19 # Use a static library here because many test binaries depend on this but don't | 20 # Use a static library here because many test binaries depend on this but don't |
20 # require many files from it. This makes linking more efficient. | 21 # require many files from it. This makes linking more efficient. |
21 static_library("test_support") { | 22 static_library("test_support") { |
22 testonly = true | 23 testonly = true |
23 | 24 |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 "//ipc:test_support", | 717 "//ipc:test_support", |
717 "//media", | 718 "//media", |
718 "//media:test_support", | 719 "//media:test_support", |
719 "//media/audio:test_support", | 720 "//media/audio:test_support", |
720 "//media/base:test_support", | 721 "//media/base:test_support", |
721 "//mojo/edk/system", | 722 "//mojo/edk/system", |
722 "//mojo/public/cpp/bindings", | 723 "//mojo/public/cpp/bindings", |
723 "//mojo/public/js", | 724 "//mojo/public/js", |
724 "//net:test_support", | 725 "//net:test_support", |
725 "//ppapi/features", | 726 "//ppapi/features", |
| 727 "//services/catalog:lib", |
726 "//services/service_manager/public/cpp", | 728 "//services/service_manager/public/cpp", |
727 "//services/ui/public/cpp/gpu", | 729 "//services/ui/public/cpp/gpu", |
728 "//storage/browser", | 730 "//storage/browser", |
729 "//testing/gmock", | 731 "//testing/gmock", |
730 "//testing/gtest", | 732 "//testing/gtest", |
731 "//third_party/WebKit/public:blink", | 733 "//third_party/WebKit/public:blink", |
732 "//third_party/leveldatabase", | 734 "//third_party/leveldatabase", |
733 "//third_party/mesa:osmesa", | 735 "//third_party/mesa:osmesa", |
734 "//third_party/zlib", | 736 "//third_party/zlib", |
735 "//ui/accessibility", | 737 "//ui/accessibility", |
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 "//media/capture/mojo:capture_types", | 1455 "//media/capture/mojo:capture_types", |
1454 "//media/midi:midi", | 1456 "//media/midi:midi", |
1455 "//media/midi:mojo", | 1457 "//media/midi:mojo", |
1456 "//mojo/edk/system", | 1458 "//mojo/edk/system", |
1457 "//mojo/public/cpp/bindings", | 1459 "//mojo/public/cpp/bindings", |
1458 "//net:extras", | 1460 "//net:extras", |
1459 "//net:test_support", | 1461 "//net:test_support", |
1460 "//ppapi/c", | 1462 "//ppapi/c", |
1461 "//ppapi/features", | 1463 "//ppapi/features", |
1462 "//printing", | 1464 "//printing", |
| 1465 "//services/catalog:lib", |
1463 "//services/file:lib", | 1466 "//services/file:lib", |
1464 "//services/file/public/interfaces", | 1467 "//services/file/public/interfaces", |
1465 "//services/service_manager/public/cpp:service_test_support", | 1468 "//services/service_manager/public/cpp:service_test_support", |
1466 "//skia", | 1469 "//skia", |
1467 "//sql", | 1470 "//sql", |
1468 "//sql:test_support", | 1471 "//sql:test_support", |
1469 "//storage/browser", | 1472 "//storage/browser", |
1470 "//storage/common", | 1473 "//storage/common", |
1471 "//testing/gmock", | 1474 "//testing/gmock", |
1472 "//testing/gtest", | 1475 "//testing/gtest", |
(...skipping 13 matching lines...) Expand all Loading... |
1486 "//ui/events/blink", | 1489 "//ui/events/blink", |
1487 "//ui/gfx:test_support", | 1490 "//ui/gfx:test_support", |
1488 "//ui/gfx/geometry", | 1491 "//ui/gfx/geometry", |
1489 "//ui/gfx/ipc", | 1492 "//ui/gfx/ipc", |
1490 "//ui/gfx/ipc/skia", | 1493 "//ui/gfx/ipc/skia", |
1491 "//ui/gl", | 1494 "//ui/gl", |
1492 "//ui/gl:test_support", | 1495 "//ui/gl:test_support", |
1493 ] | 1496 ] |
1494 | 1497 |
1495 data_deps = [ | 1498 data_deps = [ |
1496 ":content_unittests_manifest", | 1499 ":content_unittests_catalog_copy", |
1497 "//components/filesystem:filesystem", | 1500 "//components/filesystem:filesystem", |
1498 "//third_party/mesa:osmesa", | 1501 "//third_party/mesa:osmesa", |
1499 ] | 1502 ] |
1500 | 1503 |
1501 if (!is_win) { | 1504 if (!is_win) { |
1502 sources += [ "../browser/file_descriptor_info_impl_unittest.cc" ] | 1505 sources += [ "../browser/file_descriptor_info_impl_unittest.cc" ] |
1503 } | 1506 } |
1504 | 1507 |
1505 if (enable_plugins) { | 1508 if (enable_plugins) { |
1506 # Put WebRTC-related plugins sources in the "enable_webrtc && | 1509 # Put WebRTC-related plugins sources in the "enable_webrtc && |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1734 } | 1737 } |
1735 | 1738 |
1736 if (use_x11) { | 1739 if (use_x11) { |
1737 deps += [ "//ui/gfx/x" ] | 1740 deps += [ "//ui/gfx/x" ] |
1738 } | 1741 } |
1739 } | 1742 } |
1740 | 1743 |
1741 service_manifest("content_unittests_manifest") { | 1744 service_manifest("content_unittests_manifest") { |
1742 name = "content_unittests" | 1745 name = "content_unittests" |
1743 source = "unittests_manifest.json" | 1746 source = "unittests_manifest.json" |
1744 packaged_services = [ "file" ] | 1747 packaged_services = [ "//services/file:manifest" ] |
| 1748 } |
| 1749 |
| 1750 catalog("content_unittests_catalog") { |
| 1751 embedded_services = [ ":content_unittests_manifest" ] |
| 1752 } |
| 1753 |
| 1754 copy("content_unittests_catalog_copy") { |
| 1755 sources = get_target_outputs(":content_unittests_catalog") |
| 1756 outputs = [ |
| 1757 "${root_out_dir}/content_unittests_catalog.json", |
| 1758 ] |
1745 deps = [ | 1759 deps = [ |
1746 "//services/file:manifest", | 1760 ":content_unittests_catalog", |
1747 ] | 1761 ] |
1748 } | 1762 } |
1749 | 1763 |
1750 test("content_perftests") { | 1764 test("content_perftests") { |
1751 # See comment at the top of //content/BUILD.gn for why this is disabled in | 1765 # See comment at the top of //content/BUILD.gn for why this is disabled in |
1752 # component builds. | 1766 # component builds. |
1753 if (is_component_build) { | 1767 if (is_component_build) { |
1754 check_includes = false | 1768 check_includes = false |
1755 } | 1769 } |
1756 | 1770 |
(...skipping 20 matching lines...) Expand all Loading... |
1777 if (is_android) { | 1791 if (is_android) { |
1778 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1792 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1779 } | 1793 } |
1780 } | 1794 } |
1781 | 1795 |
1782 group("fuzzers") { | 1796 group("fuzzers") { |
1783 deps = [ | 1797 deps = [ |
1784 "//content/test/fuzzer", | 1798 "//content/test/fuzzer", |
1785 ] | 1799 ] |
1786 } | 1800 } |
OLD | NEW |