Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: content/test/BUILD.gn

Issue 2645973006: [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 } 1739 }
1737 1740
1738 if (use_x11) { 1741 if (use_x11) {
1739 deps += [ "//ui/gfx/x" ] 1742 deps += [ "//ui/gfx/x" ]
1740 } 1743 }
1741 } 1744 }
1742 1745
1743 service_manifest("content_unittests_manifest") { 1746 service_manifest("content_unittests_manifest") {
1744 name = "content_unittests" 1747 name = "content_unittests"
1745 source = "unittests_manifest.json" 1748 source = "unittests_manifest.json"
1746 packaged_services = [ "file" ] 1749 packaged_services = [ "//services/file:manifest" ]
1750 }
1751
1752 catalog("content_unittests_catalog") {
1753 embedded_services = [ ":content_unittests_manifest" ]
1754 }
1755
1756 copy("content_unittests_catalog_copy") {
1757 sources = get_target_outputs(":content_unittests_catalog")
1758 outputs = [
1759 "${root_out_dir}/content_unittests_catalog.json",
1760 ]
1747 deps = [ 1761 deps = [
1748 "//services/file:manifest", 1762 ":content_unittests_catalog",
1749 ] 1763 ]
1750 } 1764 }
1751 1765
1752 test("content_perftests") { 1766 test("content_perftests") {
1753 # See comment at the top of //content/BUILD.gn for why this is disabled in 1767 # See comment at the top of //content/BUILD.gn for why this is disabled in
1754 # component builds. 1768 # component builds.
1755 if (is_component_build) { 1769 if (is_component_build) {
1756 check_includes = false 1770 check_includes = false
1757 } 1771 }
1758 1772
(...skipping 20 matching lines...) Expand all
1779 if (is_android) { 1793 if (is_android) {
1780 deps += [ "//testing/android/native_test:native_test_native_code" ] 1794 deps += [ "//testing/android/native_test:native_test_native_code" ]
1781 } 1795 }
1782 } 1796 }
1783 1797
1784 group("fuzzers") { 1798 group("fuzzers") {
1785 deps = [ 1799 deps = [
1786 "//content/test/fuzzer", 1800 "//content/test/fuzzer",
1787 ] 1801 ]
1788 } 1802 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698