OLD | NEW |
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/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//extensions/features/features.gni") | |
9 import("//printing/features/features.gni") | 8 import("//printing/features/features.gni") |
10 import("//rlz/features/features.gni") | 9 import("//rlz/features/features.gni") |
11 import("//testing/test.gni") | 10 import("//testing/test.gni") |
12 import("//tools/grit/repack.gni") | 11 import("//tools/grit/repack.gni") |
13 | 12 |
14 if (is_android) { | 13 if (is_android) { |
15 import("//build/config/android/rules.gni") | 14 import("//build/config/android/rules.gni") |
16 } | 15 } |
17 | 16 |
18 if (is_ios) { | 17 if (is_ios) { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 "//components/variations:unit_tests", | 153 "//components/variations:unit_tests", |
155 "//components/variations/service:unit_tests", | 154 "//components/variations/service:unit_tests", |
156 "//components/web_resource:unit_tests", | 155 "//components/web_resource:unit_tests", |
157 "//components/webdata/common:unit_tests", | 156 "//components/webdata/common:unit_tests", |
158 ] | 157 ] |
159 | 158 |
160 if (enable_nacl) { | 159 if (enable_nacl) { |
161 deps += [ "//components/nacl/browser:unit_tests" ] | 160 deps += [ "//components/nacl/browser:unit_tests" ] |
162 } | 161 } |
163 | 162 |
164 if (enable_extensions) { | |
165 deps += [ "//components/guest_view/browser:unit_tests" ] | |
166 } | |
167 | |
168 if (is_ios) { | 163 if (is_ios) { |
169 deps += [ | 164 deps += [ |
170 "//components/image_fetcher/ios:unit_tests", | 165 "//components/image_fetcher/ios:unit_tests", |
171 "//components/signin/ios/browser:unit_tests", | 166 "//components/signin/ios/browser:unit_tests", |
172 "//components/translate/ios/browser:unit_tests", | 167 "//components/translate/ios/browser:unit_tests", |
173 ] | 168 ] |
174 } else { # !iOS | 169 } else { # !iOS |
175 deps += [ | 170 deps += [ |
176 "//components/autofill/content/browser:unit_tests", | 171 "//components/autofill/content/browser:unit_tests", |
177 "//components/autofill/content/common:unit_tests", | 172 "//components/autofill/content/common:unit_tests", |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 "//ui/gfx", | 269 "//ui/gfx", |
275 "//v8:v8_external_startup_data_assets", | 270 "//v8:v8_external_startup_data_assets", |
276 ] | 271 ] |
277 } | 272 } |
278 | 273 |
279 # Desktop-only deps. | 274 # Desktop-only deps. |
280 if (!is_android && !is_ios) { | 275 if (!is_android && !is_ios) { |
281 deps += [ | 276 deps += [ |
282 "//components/cryptauth:unit_tests", | 277 "//components/cryptauth:unit_tests", |
283 "//components/feedback:unit_tests", | 278 "//components/feedback:unit_tests", |
| 279 |
| 280 # See comment in components/guest_view/browser/BUILD.gn for why |
| 281 # guest_view is currently non-mobile. |
| 282 "//components/guest_view/browser:unit_tests", |
284 "//components/proximity_auth:unit_tests", | 283 "//components/proximity_auth:unit_tests", |
285 "//components/storage_monitor:unit_tests", | 284 "//components/storage_monitor:unit_tests", |
286 "//components/web_modal:unit_tests", | 285 "//components/web_modal:unit_tests", |
287 "//components/zoom:unit_tests", | 286 "//components/zoom:unit_tests", |
288 ] | 287 ] |
289 } | 288 } |
290 | 289 |
291 if (enable_rlz_support) { | 290 if (enable_rlz_support) { |
292 deps += [ "//components/rlz:unit_tests" ] | 291 deps += [ "//components/rlz:unit_tests" ] |
293 } | 292 } |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 "//testing/perf", | 510 "//testing/perf", |
512 "//url", | 511 "//url", |
513 ] | 512 ] |
514 | 513 |
515 if (!is_ios) { | 514 if (!is_ios) { |
516 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per
ftest.cc" ] | 515 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per
ftest.cc" ] |
517 deps += [ "//components/discardable_memory/common" ] | 516 deps += [ "//components/discardable_memory/common" ] |
518 } | 517 } |
519 } | 518 } |
520 } | 519 } |
OLD | NEW |