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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 2802015: Massively simplify the NetworkChangeNotifier infrastructure:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 { 5 {
6 'variables' : { 6 'variables' : {
7 'browser_tests_sources_views_specific': [ 7 'browser_tests_sources_views_specific': [
8 'browser/extensions/browser_action_test_util_views.cc', 8 'browser/extensions/browser_action_test_util_views.cc',
9 'browser/views/browser_actions_container_browsertest.cc', 9 'browser/views/browser_actions_container_browsertest.cc',
10 ], 10 ],
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 'type': 'executable', 497 'type': 'executable',
498 'msvs_guid': 'ECFC2BEC-9FC0-4AD9-9649-5F26793F65FC', 498 'msvs_guid': 'ECFC2BEC-9FC0-4AD9-9649-5F26793F65FC',
499 'dependencies': [ 499 'dependencies': [
500 'browser', 500 'browser',
501 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 501 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp',
502 'chrome', 502 'chrome',
503 'chrome_gpu', 503 'chrome_gpu',
504 'chrome_resources', 504 'chrome_resources',
505 'chrome_strings', 505 'chrome_strings',
506 'common', 506 'common',
507 'common_net_test_support',
508 'debugger', 507 'debugger',
509 'profile_import', 508 'profile_import',
510 'renderer', 509 'renderer',
511 'service', 510 'service',
512 'test_support_unit', 511 'test_support_unit',
513 'utility', 512 'utility',
514 '../app/app.gyp:app_base', 513 '../app/app.gyp:app_base',
515 '../app/app.gyp:app_resources', 514 '../app/app.gyp:app_resources',
516 '../ipc/ipc.gyp:ipc', 515 '../ipc/ipc.gyp:ipc',
517 '../net/net.gyp:net_resources', 516 '../net/net.gyp:net_resources',
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 'browser/sync/glue/extension_data_type_controller_unittest.cc', 940 'browser/sync/glue/extension_data_type_controller_unittest.cc',
942 'browser/sync/glue/extension_util_unittest.cc', 941 'browser/sync/glue/extension_util_unittest.cc',
943 'browser/sync/glue/http_bridge_unittest.cc', 942 'browser/sync/glue/http_bridge_unittest.cc',
944 'browser/sync/glue/preference_data_type_controller_unittest.cc', 943 'browser/sync/glue/preference_data_type_controller_unittest.cc',
945 'browser/sync/glue/preference_model_associator_unittest.cc', 944 'browser/sync/glue/preference_model_associator_unittest.cc',
946 'browser/sync/glue/sync_backend_host_mock.h', 945 'browser/sync/glue/sync_backend_host_mock.h',
947 'browser/sync/glue/theme_data_type_controller_unittest.cc', 946 'browser/sync/glue/theme_data_type_controller_unittest.cc',
948 'browser/sync/glue/theme_util_unittest.cc', 947 'browser/sync/glue/theme_util_unittest.cc',
949 'browser/sync/glue/typed_url_model_associator_unittest.cc', 948 'browser/sync/glue/typed_url_model_associator_unittest.cc',
950 'browser/sync/glue/ui_model_worker_unittest.cc', 949 'browser/sync/glue/ui_model_worker_unittest.cc',
951 'browser/sync/net/network_change_notifier_io_thread_unittest.cc',
952 'browser/sync/profile_sync_factory_impl_unittest.cc', 950 'browser/sync/profile_sync_factory_impl_unittest.cc',
953 'browser/sync/profile_sync_factory_mock.cc', 951 'browser/sync/profile_sync_factory_mock.cc',
954 'browser/sync/profile_sync_factory_mock.h', 952 'browser/sync/profile_sync_factory_mock.h',
955 'browser/sync/profile_sync_service_autofill_unittest.cc', 953 'browser/sync/profile_sync_service_autofill_unittest.cc',
956 'browser/sync/profile_sync_service_mock.h', 954 'browser/sync/profile_sync_service_mock.h',
957 'browser/sync/profile_sync_service_password_unittest.cc', 955 'browser/sync/profile_sync_service_password_unittest.cc',
958 'browser/sync/profile_sync_service_preference_unittest.cc', 956 'browser/sync/profile_sync_service_preference_unittest.cc',
959 'browser/sync/profile_sync_service_startup_unittest.cc', 957 'browser/sync/profile_sync_service_startup_unittest.cc',
960 'browser/sync/profile_sync_service_typed_url_unittest.cc', 958 'browser/sync/profile_sync_service_typed_url_unittest.cc',
961 'browser/sync/profile_sync_service_unittest.cc', 959 'browser/sync/profile_sync_service_unittest.cc',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 'common/extensions/extension_unittest.cc', 1005 'common/extensions/extension_unittest.cc',
1008 'common/extensions/extension_unpacker_unittest.cc', 1006 'common/extensions/extension_unpacker_unittest.cc',
1009 'common/extensions/update_manifest_unittest.cc', 1007 'common/extensions/update_manifest_unittest.cc',
1010 'common/extensions/url_pattern_unittest.cc', 1008 'common/extensions/url_pattern_unittest.cc',
1011 'common/extensions/user_script_unittest.cc', 1009 'common/extensions/user_script_unittest.cc',
1012 'common/font_descriptor_mac_unittest.mm', 1010 'common/font_descriptor_mac_unittest.mm',
1013 'common/important_file_writer_unittest.cc', 1011 'common/important_file_writer_unittest.cc',
1014 'common/json_pref_store_unittest.cc', 1012 'common/json_pref_store_unittest.cc',
1015 'common/json_value_serializer_unittest.cc', 1013 'common/json_value_serializer_unittest.cc',
1016 'common/mru_cache_unittest.cc', 1014 'common/mru_cache_unittest.cc',
1017 # TODO(sanjeevr): Move the 2 below files to common_net_unit_tests
1018 'common/net/gaia/gaia_authenticator_unittest.cc', 1015 'common/net/gaia/gaia_authenticator_unittest.cc',
1019 'common/net/url_fetcher_unittest.cc', 1016 'common/net/url_fetcher_unittest.cc',
1020 'common/net/test_url_fetcher_factory.cc', 1017 'common/net/test_url_fetcher_factory.cc',
1021 'common/net/test_url_fetcher_factory.h', 1018 'common/net/test_url_fetcher_factory.h',
1022 'common/notification_service_unittest.cc', 1019 'common/notification_service_unittest.cc',
1023 'common/process_watcher_unittest.cc', 1020 'common/process_watcher_unittest.cc',
1024 'common/property_bag_unittest.cc', 1021 'common/property_bag_unittest.cc',
1025 'common/render_messages_unittest.cc', 1022 'common/render_messages_unittest.cc',
1026 'common/resource_dispatcher_unittest.cc', 1023 'common/resource_dispatcher_unittest.cc',
1027 'common/sandbox_mac_diraccess_unittest.mm', 1024 'common/sandbox_mac_diraccess_unittest.mm',
(...skipping 20 matching lines...) Expand all
1048 'renderer/render_thread_unittest.cc', 1045 'renderer/render_thread_unittest.cc',
1049 'renderer/render_view_unittest.cc', 1046 'renderer/render_view_unittest.cc',
1050 'renderer/render_view_unittest_mac.mm', 1047 'renderer/render_view_unittest_mac.mm',
1051 'renderer/render_widget_unittest.cc', 1048 'renderer/render_widget_unittest.cc',
1052 'renderer/renderer_about_handler_unittest.cc', 1049 'renderer/renderer_about_handler_unittest.cc',
1053 'renderer/renderer_main_unittest.cc', 1050 'renderer/renderer_main_unittest.cc',
1054 'renderer/spellchecker/spellcheck_unittest.cc', 1051 'renderer/spellchecker/spellcheck_unittest.cc',
1055 'renderer/spellchecker/spellcheck_worditerator_unittest.cc', 1052 'renderer/spellchecker/spellcheck_worditerator_unittest.cc',
1056 'renderer/translate_helper_unittest.cc', 1053 'renderer/translate_helper_unittest.cc',
1057 'service/cloud_print/cloud_print_helpers_unittest.cc', 1054 'service/cloud_print/cloud_print_helpers_unittest.cc',
1058 'service/net/service_network_change_notifier_thread_unittest.cc',
1059 'test/browser_with_test_window_test.cc', 1055 'test/browser_with_test_window_test.cc',
1060 'test/browser_with_test_window_test.h', 1056 'test/browser_with_test_window_test.h',
1061 'test/file_test_utils.cc', 1057 'test/file_test_utils.cc',
1062 'test/file_test_utils.h', 1058 'test/file_test_utils.h',
1063 'test/menu_model_test.cc', 1059 'test/menu_model_test.cc',
1064 'test/menu_model_test.h', 1060 'test/menu_model_test.h',
1065 'test/render_view_test.cc', 1061 'test/render_view_test.cc',
1066 'test/render_view_test.h', 1062 'test/render_view_test.h',
1067 'test/sync/test_http_bridge_factory.h', 1063 'test/sync/test_http_bridge_factory.h',
1068 'test/test_notification_tracker.cc', 1064 'test/test_notification_tracker.cc',
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 'include_dirs': [ 1762 'include_dirs': [
1767 '<(DEPTH)/third_party/wtl/include', 1763 '<(DEPTH)/third_party/wtl/include',
1768 ], 1764 ],
1769 'dependencies': [ 1765 'dependencies': [
1770 '<(allocator_target)', 1766 '<(allocator_target)',
1771 ], 1767 ],
1772 }], # OS="win" 1768 }], # OS="win"
1773 ], # conditions 1769 ], # conditions
1774 }, 1770 },
1775 { 1771 {
1776 'target_name': 'common_net_test_support',
1777 'type': '<(library)',
1778 'sources': [
1779 'common/net/fake_network_change_notifier_thread.cc',
1780 'common/net/fake_network_change_notifier_thread.h',
1781 'common/net/thread_blocker.cc',
1782 'common/net/thread_blocker.h',
1783 ],
1784 'dependencies': [
1785 'common_net',
1786 '../base/base.gyp:base',
1787 '../net/net.gyp:net_base',
1788 ],
1789 },
1790 {
1791 # TODO(akalin): Add this to all.gyp.
1792 'target_name': 'common_net_unit_tests',
1793 'type': 'executable',
1794 'sources': [
1795 # TODO(akalin): Write our own test suite and runner.
1796 '../base/test/run_all_unittests.cc',
1797 '../base/test/test_suite.h',
1798 'common/net/fake_network_change_notifier_thread_unittest.cc',
1799 'common/net/mock_network_change_observer.h',
1800 'common/net/network_change_notifier_proxy_unittest.cc',
1801 'common/net/network_change_observer_proxy_unittest.cc',
1802 'common/net/thread_blocker_unittest.cc',
1803 ],
1804 'include_dirs': [
1805 '..',
1806 ],
1807 'dependencies': [
1808 'common_net',
1809 'common_net_test_support',
1810 '../build/temp_gyp/googleurl.gyp:googleurl',
1811 '../testing/gmock.gyp:gmock',
1812 '../testing/gtest.gyp:gtest',
1813 ],
1814 # TODO(akalin): Remove this once we have our own test suite and
1815 # runner.
1816 'conditions': [
1817 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', {
1818 'dependencies': [
1819 # Needed to handle the #include chain:
1820 # base/test/test_suite.h
1821 # gtk/gtk.h
1822 '../build/linux/system.gyp:gtk',
1823 ],
1824 }],
1825 ],
1826 },
1827 {
1828 'target_name': 'notifier_unit_tests', 1772 'target_name': 'notifier_unit_tests',
1829 'type': 'executable', 1773 'type': 'executable',
1830 'sources': [ 1774 'sources': [
1831 # TODO(akalin): Write our own test suite and runner. 1775 # TODO(akalin): Write our own test suite and runner.
1832 '../base/test/run_all_unittests.cc', 1776 '../base/test/run_all_unittests.cc',
1833 '../base/test/test_suite.h', 1777 '../base/test/test_suite.h',
1834 'common/net/notifier/listener/talk_mediator_unittest.cc', 1778 'common/net/notifier/listener/talk_mediator_unittest.cc',
1835 'common/net/notifier/listener/send_update_task_unittest.cc', 1779 'common/net/notifier/listener/send_update_task_unittest.cc',
1836 'common/net/notifier/listener/subscribe_task_unittest.cc', 1780 'common/net/notifier/listener/subscribe_task_unittest.cc',
1837 'common/net/notifier/listener/xml_element_util_unittest.cc', 1781 'common/net/notifier/listener/xml_element_util_unittest.cc',
1838 ], 1782 ],
1839 'include_dirs': [ 1783 'include_dirs': [
1840 '..', 1784 '..',
1841 ], 1785 ],
1842 'dependencies': [ 1786 'dependencies': [
1843 'common_net_test_support',
1844 'notifier', 1787 'notifier',
1845 '../base/base.gyp:base', 1788 '../base/base.gyp:base',
1846 '../testing/gmock.gyp:gmock', 1789 '../testing/gmock.gyp:gmock',
1847 '../testing/gtest.gyp:gtest', 1790 '../testing/gtest.gyp:gtest',
1848 '../third_party/libjingle/libjingle.gyp:libjingle', 1791 '../third_party/libjingle/libjingle.gyp:libjingle',
1849 ], 1792 ],
1850 # TODO(akalin): Remove this once we have our own test suite and 1793 # TODO(akalin): Remove this once we have our own test suite and
1851 # runner. 1794 # runner.
1852 'conditions': [ 1795 'conditions': [
1853 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', { 1796 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1908 '<(protoc_out_dir)', 1851 '<(protoc_out_dir)',
1909 ], 1852 ],
1910 'defines' : [ 1853 'defines' : [
1911 'SYNC_ENGINE_VERSION_STRING="Unknown"', 1854 'SYNC_ENGINE_VERSION_STRING="Unknown"',
1912 '_CRT_SECURE_NO_WARNINGS', 1855 '_CRT_SECURE_NO_WARNINGS',
1913 '_USE_32BIT_TIME_T', 1856 '_USE_32BIT_TIME_T',
1914 ], 1857 ],
1915 'dependencies': [ 1858 'dependencies': [
1916 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 1859 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp',
1917 'common', 1860 'common',
1918 'common_net_test_support',
1919 'debugger', 1861 'debugger',
1920 '../skia/skia.gyp:skia', 1862 '../skia/skia.gyp:skia',
1921 '../testing/gmock.gyp:gmock', 1863 '../testing/gmock.gyp:gmock',
1922 '../testing/gtest.gyp:gtest', 1864 '../testing/gtest.gyp:gtest',
1923 '../third_party/bzip2/bzip2.gyp:bzip2', 1865 '../third_party/bzip2/bzip2.gyp:bzip2',
1924 '../third_party/libjingle/libjingle.gyp:libjingle', 1866 '../third_party/libjingle/libjingle.gyp:libjingle',
1925 'profile_import', 1867 'profile_import',
1926 'syncapi', 1868 'syncapi',
1927 'test_support_unit', 1869 'test_support_unit',
1928 ], 1870 ],
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
2555 ] 2497 ]
2556 }], # 'coverage!=0' 2498 }], # 'coverage!=0'
2557 ], # 'conditions' 2499 ], # 'conditions'
2558 } 2500 }
2559 2501
2560 # Local Variables: 2502 # Local Variables:
2561 # tab-width:2 2503 # tab-width:2
2562 # indent-tabs-mode:nil 2504 # indent-tabs-mode:nil
2563 # End: 2505 # End:
2564 # vim: set expandtab tabstop=2 shiftwidth=2: 2506 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698