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 | 7 |
7 # 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 |
8 # 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. |
9 group("all_components") { | 10 group("all_components") { |
10 testonly = true # You shouldn't actually link to this. | 11 testonly = true # You shouldn't actually link to this. |
11 visibility = [ "//:*" ] # Only for the root targets to bring in. | 12 visibility = [ "//:*" ] # Only for the root targets to bring in. |
12 | 13 |
13 deps = [ | 14 deps = [ |
14 "//components/auto_login_parser", | 15 "//components/auto_login_parser", |
15 "//components/autofill/content/browser", | 16 "//components/autofill/content/browser", |
(...skipping 25 matching lines...) Expand all Loading... |
41 "//components/history/core/common", | 42 "//components/history/core/common", |
42 "//components/history/core/test", | 43 "//components/history/core/test", |
43 "//components/infobars/core", | 44 "//components/infobars/core", |
44 "//components/infobars/test:test_support", | 45 "//components/infobars/test:test_support", |
45 "//components/invalidation", | 46 "//components/invalidation", |
46 "//components/json_schema", | 47 "//components/json_schema", |
47 "//components/keyed_service/content", | 48 "//components/keyed_service/content", |
48 "//components/language_usage_metrics", | 49 "//components/language_usage_metrics", |
49 "//components/leveldb_proto", | 50 "//components/leveldb_proto", |
50 "//components/metrics", | 51 "//components/metrics", |
| 52 "//components/native_app_window", |
51 "//components/navigation_interception", | 53 "//components/navigation_interception", |
52 "//components/navigation_metrics", | 54 "//components/navigation_metrics", |
53 "//components/network_time", | 55 "//components/network_time", |
54 "//components/omaha_query_params", | 56 "//components/omaha_query_params", |
55 "//components/omnibox", | 57 "//components/omnibox", |
56 "//components/onc", | 58 "//components/onc", |
57 "//components/os_crypt", | 59 "//components/os_crypt", |
58 "//components/pairing", | 60 "//components/pairing", |
59 "//components/password_manager/content/browser", | 61 "//components/password_manager/content/browser", |
60 "//components/password_manager/core/browser", | 62 "//components/password_manager/core/browser", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 "//components/webdata/common", | 104 "//components/webdata/common", |
103 "//components/wifi", | 105 "//components/wifi", |
104 ] | 106 ] |
105 | 107 |
106 if (!is_win && !is_mac) { | 108 if (!is_win && !is_mac) { |
107 deps -= [ "//components/wifi" ] | 109 deps -= [ "//components/wifi" ] |
108 } | 110 } |
109 if (!is_chromeos) { | 111 if (!is_chromeos) { |
110 deps -= [ "//components/pairing" ] | 112 deps -= [ "//components/pairing" ] |
111 } | 113 } |
| 114 if (!toolkit_views) { |
| 115 deps -= [ "//components/native_app_window" ] |
| 116 } |
112 | 117 |
113 if (is_ios) { | 118 if (is_ios) { |
114 deps -= [ "//components/keyed_service/content" ] | 119 deps -= [ "//components/keyed_service/content" ] |
115 } | 120 } |
116 | 121 |
117 if (!enable_plugins) { | 122 if (!enable_plugins) { |
118 deps -= [ | 123 deps -= [ |
119 "//components/pdf/browser", | 124 "//components/pdf/browser", |
120 "//components/pdf/common", | 125 "//components/pdf/common", |
121 "//components/pdf/renderer", | 126 "//components/pdf/renderer", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 ] | 229 ] |
225 | 230 |
226 # TODO(GYP) need this target. | 231 # TODO(GYP) need this target. |
227 #'breakpad/app/crash_keys_win_unittest.cc', | 232 #'breakpad/app/crash_keys_win_unittest.cc', |
228 | 233 |
229 # Precache tests need these defines. | 234 # Precache tests need these defines. |
230 #configs += [ "//components/precache/core:precache_config" ] | 235 #configs += [ "//components/precache/core:precache_config" ] |
231 } | 236 } |
232 | 237 |
233 } | 238 } |
OLD | NEW |