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