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

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

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