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

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

Issue 1490713002: Revert of Convert enable_pre_sync_backup flag to new flags system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/browser_sync.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 10 import("//chrome/chrome_tests.gni")
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "logging/win/mof_data_parser.cc", 84 "logging/win/mof_data_parser.cc",
85 "logging/win/mof_data_parser.h", 85 "logging/win/mof_data_parser.h",
86 "logging/win/test_log_collector.cc", 86 "logging/win/test_log_collector.cc",
87 "logging/win/test_log_collector.h", 87 "logging/win/test_log_collector.h",
88 ] 88 ]
89 89
90 configs += [ "//build/config:precompiled_headers" ] 90 configs += [ "//build/config:precompiled_headers" ]
91 91
92 # New deps should go in the non-iOS section below. 92 # New deps should go in the non-iOS section below.
93 public_deps = [ 93 public_deps = [
94 "//content/test:test_support",
95 ]
96 deps = [
94 "//base:prefs_test_support", 97 "//base:prefs_test_support",
95 "//base/test:test_support", 98 "//base/test:test_support",
96 "//chrome:resources", 99 "//chrome:resources",
97 "//chrome:strings", 100 "//chrome:strings",
98 "//chrome/app:test_support", 101 "//chrome/app:test_support",
99 102
100 #"//chrome/app/theme:theme_resources", 103 #"//chrome/app/theme:theme_resources",
101 "//chrome/browser:test_support", 104 "//chrome/browser:test_support",
102 "//chrome/common:test_support", 105 "//chrome/common:test_support",
103 "//chrome/renderer:test_support", 106 "//chrome/renderer:test_support",
104 "//components/bookmarks/test", 107 "//components/bookmarks/test",
105 "//components/gcm_driver:test_support", 108 "//components/gcm_driver:test_support",
106 "//components/gcm_driver/instance_id:test_support", 109 "//components/gcm_driver/instance_id:test_support",
107 "//components/history/core/test:test", 110 "//components/history/core/test:test",
108 "//components/metrics:test_support", 111 "//components/metrics:test_support",
109 "//components/omnibox/browser:test_support", 112 "//components/omnibox/browser:test_support",
110 "//components/password_manager/core/browser:test_support", 113 "//components/password_manager/core/browser:test_support",
111 "//components/pref_registry:test_support", 114 "//components/pref_registry:test_support",
112 "//components/rappor:test_support", 115 "//components/rappor:test_support",
113 "//components/search_engines:test_support", 116 "//components/search_engines:test_support",
114 "//components/signin/core/browser:test_support", 117 "//components/signin/core/browser:test_support",
115 "//components/sync_driver:test_support", 118 "//components/sync_driver:test_support",
116 "//components/sync_sessions:test_support", 119 "//components/sync_sessions:test_support",
117 "//components/syncable_prefs:test_support", 120 "//components/syncable_prefs:test_support",
118 "//components/ui/zoom:test_support", 121 "//components/ui/zoom:test_support",
119 "//components/update_client:test_support", 122 "//components/update_client:test_support",
120 "//content/public/app:both", 123 "//content/public/app:both",
121 "//content/test:test_support",
122 "//net", 124 "//net",
123 "//net:test_support", 125 "//net:test_support",
124 "//skia", 126 "//skia",
125 "//sql", 127 "//sql",
126 "//sql:test_support", 128 "//sql:test_support",
127 "//sync", 129 "//sync",
128 "//testing/gmock", 130 "//testing/gmock",
129 "//testing/gtest", 131 "//testing/gtest",
130 "//third_party/zlib", 132 "//third_party/zlib",
131 "//ui/gfx:test_support", 133 "//ui/gfx:test_support",
132 "//ui/message_center:test_support", 134 "//ui/message_center:test_support",
133 ] 135 ]
134 136
135 if (!is_ios) { 137 if (!is_ios) {
136 public_deps += [ 138 deps += [
137 "//chrome/child", 139 "//chrome/child",
138 "//chrome/plugin", 140 "//chrome/plugin",
139 "//chrome/renderer", 141 "//chrome/renderer",
140 "//chrome/utility", 142 "//chrome/utility",
141 "//components/autofill/core/browser:test_support", 143 "//components/autofill/core/browser:test_support",
142 "//components/captive_portal:test_support", 144 "//components/captive_portal:test_support",
143 "//components/guest_view/browser:test_support", 145 "//components/guest_view/browser:test_support",
144 "//components/infobars/core", 146 "//components/infobars/core",
145 "//components/sessions:test_support", 147 "//components/sessions:test_support",
146 "//components/user_manager:test_support", 148 "//components/user_manager:test_support",
147 "//components/web_resource:test_support", 149 "//components/web_resource:test_support",
148 "//content/public/child", 150 "//content/public/child",
149 "//content/public/common", 151 "//content/public/common",
150 "//content/public/plugin", 152 "//content/public/plugin",
151 "//content/public/renderer", 153 "//content/public/renderer",
152 "//content/public/utility", 154 "//content/public/utility",
153 "//google_apis:test_support", 155 "//google_apis:test_support",
154 "//ipc:test_support", 156 "//ipc:test_support",
155 "//media:test_support", 157 "//media:test_support",
156 "//ppapi/shared_impl", 158 "//ppapi/shared_impl",
157 "//sql:test_support", 159 "//sql:test_support",
158 "//third_party/leveldatabase", 160 "//third_party/leveldatabase",
159 "//ui/base", 161 "//ui/base",
160 "//ui/events:events_base", 162 "//ui/events:events_base",
161 "//ui/gl", 163 "//ui/gl",
162 ] 164 ]
163 } 165 }
164 166
165 if (is_android) { 167 if (is_android) {
166 public_deps -= [ "//ui/message_center:test_support" ] 168 deps -= [ "//ui/message_center:test_support" ]
167 sources -= [ 169 sources -= [
168 "base/dialog_test_browser_window.cc", 170 "base/dialog_test_browser_window.cc",
169 "base/dialog_test_browser_window.h", 171 "base/dialog_test_browser_window.h",
170 "base/test_browser_window.cc", 172 "base/test_browser_window.cc",
171 "base/test_browser_window.h", 173 "base/test_browser_window.h",
172 ] 174 ]
173 } 175 }
174 176
175 if (enable_extensions) { 177 if (enable_extensions) {
176 public_deps += [ 178 deps += [
177 "//chrome/common/extensions/api", 179 "//chrome/common/extensions/api",
178 "//extensions:test_support", 180 "//extensions:test_support",
179 ] 181 ]
180 } 182 }
181 183
182 if (is_linux) { 184 if (is_linux) {
183 public_deps += [ "//crypto:platform" ] 185 deps += [ "//crypto:platform" ]
184 } 186 }
185 if (is_mac) { 187 if (is_mac) {
186 sources += [ 188 sources += [
187 "//chrome/app/chrome_crash_reporter_client.cc", 189 "//chrome/app/chrome_crash_reporter_client.cc",
188 "//chrome/app/chrome_crash_reporter_client_mac.mm", 190 "//chrome/app/chrome_crash_reporter_client_mac.mm",
189 ] 191 ]
190 public_deps += [ 192 deps += [
191 "//breakpad", 193 "//breakpad",
192 "//components/crash/content/app", 194 "//components/crash/content/app",
193 "//third_party/ocmock", 195 "//third_party/ocmock",
194 ] 196 ]
195 } 197 }
196 if (is_win) { 198 if (is_win) {
197 public_deps += [ "//third_party/wtl" ] 199 deps += [ "//third_party/wtl" ]
198 if (use_aura) { 200 if (use_aura) {
199 public_deps += [ 201 deps += [
200 "//win8:test_registrar_constants", 202 "//win8:test_registrar_constants",
201 "//win8:test_support_win8", 203 "//win8:test_support_win8",
202 ] 204 ]
203 } 205 }
204 } 206 }
205 if (is_chromeos) { 207 if (is_chromeos) {
206 public_deps += [ "//components/ownership" ] 208 deps += [ "//components/ownership" ]
207 } 209 }
208 210
209 if (use_aura) { 211 if (use_aura) {
210 sources += [ 212 sources += [
211 "base/test_browser_window_aura.cc", 213 "base/test_browser_window_aura.cc",
212 "base/test_browser_window_aura.h", 214 "base/test_browser_window_aura.h",
213 ] 215 ]
214 } 216 }
215 217
216 if (enable_plugins && enable_pdf) { 218 if (enable_plugins && enable_pdf) {
217 public_deps += [ "//pdf" ] 219 deps += [ "//pdf" ]
218 } 220 }
219 221
220 if (use_ash) { 222 if (use_ash) {
221 public_deps += [ "//ash:test_support" ] 223 deps += [ "//ash:test_support" ]
222 } 224 }
223 if (toolkit_views) { 225 if (toolkit_views) {
224 public_deps += [ "//ui/views:test_support" ] 226 deps += [ "//ui/views:test_support" ]
225 } 227 }
226 228
227 if (enable_extensions) { 229 if (enable_extensions) {
228 public_deps += [ 230 deps += [
229 "//chrome/common/extensions/api", 231 "//chrome/common/extensions/api",
230 "//extensions:test_support", 232 "//extensions:test_support",
231 ] 233 ]
232 } 234 }
233 } 235 }
234 236
235 if (!is_android) { 237 if (!is_android) {
236 # GYP version: chrome/chrome_tests.gypi:test_support_ui 238 # GYP version: chrome/chrome_tests.gypi:test_support_ui
237 source_set("test_support_ui") { 239 source_set("test_support_ui") {
238 defines = [] 240 defines = []
(...skipping 1965 matching lines...) Expand 10 before | Expand all | Expand 10 after
2204 } 2206 }
2205 2207
2206 source_set("test_support_unit") { 2208 source_set("test_support_unit") {
2207 testonly = true 2209 testonly = true
2208 sources = [ 2210 sources = [
2209 "../browser/sync/glue/session_sync_test_helper.cc", 2211 "../browser/sync/glue/session_sync_test_helper.cc",
2210 "../browser/sync/glue/session_sync_test_helper.h", 2212 "../browser/sync/glue/session_sync_test_helper.h",
2211 "base/run_all_unittests.cc", 2213 "base/run_all_unittests.cc",
2212 ] 2214 ]
2213 2215
2214 public_deps = [ 2216 deps = [
2215 ":test_support", 2217 ":test_support",
2216 "//base", 2218 "//base",
2217 "//chrome:resources", 2219 "//chrome:resources",
2218 "//chrome:strings", 2220 "//chrome:strings",
2219 "//chrome/browser", 2221 "//chrome/browser",
2220 "//chrome/common", 2222 "//chrome/common",
2221 "//mojo/environment:chromium", 2223 "//mojo/environment:chromium",
2222 "//third_party/mojo/src/mojo/edk/system", 2224 "//third_party/mojo/src/mojo/edk/system",
2223 ] 2225 ]
2224 2226
2225 if (!is_android && use_ash) { 2227 if (!is_android && use_ash) {
2226 sources += rebase_path( 2228 sources += rebase_path(
2227 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, 2229 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources,
2228 ".", 2230 ".",
2229 "//chrome") 2231 "//chrome")
2230 } 2232 }
2231 } 2233 }
2232 2234
2233 if (is_android) { 2235 if (is_android) {
2234 android_library("unit_tests_java") { 2236 android_library("unit_tests_java") {
2235 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" 2237 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src"
2236 deps = [ 2238 deps = [
2237 "//base:base_java", 2239 "//base:base_java",
2238 "//chrome/android:chrome_java", 2240 "//chrome/android:chrome_java",
2239 "//content/public/android:content_java", 2241 "//content/public/android:content_java",
2240 ] 2242 ]
2241 } 2243 }
2242 } 2244 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/browser_sync.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698