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
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
6 import("//build/config/ui.gni")
8 # GYP version: chrome/chrome_tests_unit.gypi:test_support_common
9 source_set("test_support") {
13 "base/chrome_process_util.cc",
14 "base/chrome_process_util.h",
15 "base/chrome_process_util_mac.cc",
16 "base/chrome_render_view_host_test_harness.cc",
17 "base/chrome_render_view_host_test_harness.h",
18 "base/chrome_test_launcher.cc",
19 "base/chrome_test_launcher.h",
20 "base/chrome_test_suite.cc",
21 "base/chrome_test_suite.h",
22 "base/chrome_unit_test_suite.cc",
23 "base/chrome_unit_test_suite.h",
24 "base/find_in_page_observer.cc",
25 "base/find_in_page_observer.h",
26 "base/history_index_restore_observer.cc",
27 "base/history_index_restore_observer.h",
28 "base/in_process_browser_test.cc",
29 "base/in_process_browser_test.h",
30 "base/profile_mock.cc",
31 "base/profile_mock.h",
32 "base/scoped_browser_locale.cc",
33 "base/scoped_browser_locale.h",
34 "base/scoped_testing_local_state.cc",
35 "base/scoped_testing_local_state.h",
36 "base/test_browser_window.cc",
37 "base/test_browser_window.h",
38 "base/test_launcher_utils.cc",
39 "base/test_launcher_utils.h",
40 "base/test_switches.cc",
41 "base/test_switches.h",
42 "base/testing_browser_process.cc",
43 "base/testing_browser_process.h",
44 "base/testing_browser_process_platform_part.h",
45 "base/testing_browser_process_platform_part.cc",
46 "base/testing_io_thread_state.cc",
47 "base/testing_io_thread_state.h",
48 "base/testing_pref_service_syncable.cc",
49 "base/testing_pref_service_syncable.h",
50 "base/testing_profile.cc",
51 "base/testing_profile.h",
52 "base/testing_profile_manager.cc",
53 "base/testing_profile_manager.h",
56 "base/ui_test_utils.cc",
57 "base/ui_test_utils.h",
58 "logging/win/file_logger.cc",
59 "logging/win/file_logger.h",
60 "logging/win/log_file_printer.cc",
61 "logging/win/log_file_printer.h",
62 "logging/win/log_file_reader.cc",
63 "logging/win/log_file_reader.h",
64 "logging/win/mof_data_parser.cc",
65 "logging/win/mof_data_parser.h",
66 "logging/win/test_log_collector.cc",
67 "logging/win/test_log_collector.h",
70 # New deps should go in the non-iOS section below.
72 "//content/test:test_support",
75 "//base:prefs_test_support",
76 "//base/test:test_support",
79 "//chrome/app:test_support",
80 #"//chrome/app/theme:theme_resources",
81 "//chrome/browser:test_support",
82 "//chrome/common:test_support",
83 "//chrome/renderer:test_support",
84 "//components/bookmarks/test",
85 "//components/component_updater:test_support",
86 "//components/gcm_driver:test_support",
87 "//components/history/core/test:test",
88 "//components/metrics:test_support",
89 "//components/omnibox:test_support",
90 "//components/ownership",
91 "//components/password_manager/core/browser:test_support",
92 "//components/pref_registry:test_support",
93 "//components/search_engines:test_support",
94 "//components/signin/core/browser:test_support",
95 "//components/sync_driver:test_support",
96 "//content/public/app:both",
97 "//ui/gfx:test_support",
102 "//sql:test_support",
106 "//third_party/zlib",
107 "//ui/message_center:test_support",
112 "//chrome/common/extensions/api",
116 "//content/public/child",
117 "//content/public/common",
118 "//content/public/plugin",
119 "//content/public/renderer",
120 "//content/public/utility",
121 "//components/autofill/core/browser:test_support",
122 "//components/captive_portal:test_support",
123 "//components/infobars/core",
124 "//components/sessions:test_support",
125 "//extensions:test_support",
126 "//google_apis:test_support",
127 "//ipc:test_support",
128 "//media:test_support",
129 "//ppapi:ppapi_shared",
130 "//sql:test_support",
131 "//third_party/leveldatabase",
133 "//ui/events:events_base",
139 deps += [ "//crypto:platform" ]
144 "//ui/snapshot:test_support",
148 #'../win8/win8.gyp:test_registrar_constants', TODO(GYP)
149 #'../win8/win8.gyp:test_support_win8', TODO(GYP)
154 if (enable_plugins) {
156 "ppapi/ppapi_test.cc",
157 "ppapi/ppapi_test.h",
162 deps += [ "//ash:test_support" ]
165 deps += [ "//ui/views:test_support" ]
169 source_set("test_support_unit") {
172 "../browser/sync/glue/session_sync_test_helper.cc",
173 "../browser/sync/glue/session_sync_test_helper.h",
174 "base/run_all_unittests.cc",
180 "//chrome:resources",
184 "//mojo/environment:chromium",