| 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/features.gni") | 5 import("//build/config/features.gni") | 
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") | 
| 7 | 7 | 
| 8 # Collection of all components. You wouldn't link to this, but this is rather | 8 # Collection of all components. You wouldn't link to this, but this is rather | 
| 9 # to reference the files so they can be compiled by the build system. | 9 # to reference the files so they can be compiled by the build system. | 
| 10 group("all_components") { | 10 group("all_components") { | 
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 188     ] | 188     ] | 
| 189   } | 189   } | 
| 190 | 190 | 
| 191   if (!is_ios && !is_android) { | 191   if (!is_ios && !is_android) { | 
| 192     deps += [ | 192     deps += [ | 
| 193       "//components/copresence", | 193       "//components/copresence", | 
| 194       "//components/storage_monitor", | 194       "//components/storage_monitor", | 
| 195     ] | 195     ] | 
| 196   } | 196   } | 
| 197 | 197 | 
|  | 198   if (!is_ios) { | 
|  | 199     deps += [ "//components/app_modal_dialogs" ] | 
|  | 200   } | 
|  | 201 | 
| 198   if (toolkit_views) { | 202   if (toolkit_views) { | 
| 199     deps += [ "//components/constrained_window" ] | 203     deps += [ "//components/constrained_window" ] | 
| 200   } | 204   } | 
| 201 } | 205 } | 
| 202 | 206 | 
| 203 # TODO(GYP) enable when it links. | 207 # TODO(GYP) enable when it links. | 
| 204 if (false) { | 208 if (false) { | 
| 205 | 209 | 
| 206 # To add a unit test to this target, make a "unit_test" source_set in your | 210 # To add a unit test to this target, make a "unit_test" source_set in your | 
| 207 # component (it's important to use a source_set instead of a static library or | 211 # component (it's important to use a source_set instead of a static library or | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 244 | 248 | 
| 245   # Precache tests need these defines. | 249   # Precache tests need these defines. | 
| 246   #configs += [ "//components/precache/core:precache_config" ] | 250   #configs += [ "//components/precache/core:precache_config" ] | 
| 247 | 251 | 
| 248   if (toolkit_views) { | 252   if (toolkit_views) { | 
| 249     deps += [ "//components/constrained_window:unit_tests" ] | 253     deps += [ "//components/constrained_window:unit_tests" ] | 
| 250   } | 254   } | 
| 251 } | 255 } | 
| 252 | 256 | 
| 253 } | 257 } | 
| OLD | NEW | 
|---|