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/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 "//components/guest_view/browser", | 130 "//components/guest_view/browser", |
131 "//components/handoff", | 131 "//components/handoff", |
132 "//components/history/core/browser", | 132 "//components/history/core/browser", |
133 "//components/history/core/common", | 133 "//components/history/core/common", |
134 "//components/infobars/core", | 134 "//components/infobars/core", |
135 "//components/invalidation/impl", | 135 "//components/invalidation/impl", |
136 "//components/metrics:gpu", | 136 "//components/metrics:gpu", |
137 "//components/metrics:net", | 137 "//components/metrics:net", |
138 "//components/metrics:profiler", | 138 "//components/metrics:profiler", |
139 "//components/metrics:profiler_content", | 139 "//components/metrics:profiler_content", |
| 140 "//components/metrics:ui", |
140 "//components/metrics/proto:proto", | 141 "//components/metrics/proto:proto", |
141 "//components/metrics:ui", | |
142 "//components/metrics_services_manager", | 142 "//components/metrics_services_manager", |
143 "//components/mime_util", | 143 "//components/mime_util", |
144 "//components/navigation_metrics", | 144 "//components/navigation_metrics", |
145 "//components/network_time", | 145 "//components/network_time", |
146 "//components/offline_pages", | 146 "//components/offline_pages", |
147 "//components/omnibox/browser", | 147 "//components/omnibox/browser", |
148 "//components/os_crypt", | 148 "//components/os_crypt", |
149 "//components/packed_ct_ev_whitelist", | 149 "//components/packed_ct_ev_whitelist", |
150 "//components/password_manager/core/browser", | 150 "//components/password_manager/core/browser", |
151 "//components/password_manager/core/common", | 151 "//components/password_manager/core/common", |
(...skipping 20 matching lines...) Expand all Loading... |
172 "//components/translate/core/common", | 172 "//components/translate/core/common", |
173 "//components/ui/zoom", | 173 "//components/ui/zoom", |
174 "//components/undo", | 174 "//components/undo", |
175 "//components/update_client", | 175 "//components/update_client", |
176 "//components/url_formatter", | 176 "//components/url_formatter", |
177 "//components/user_prefs", | 177 "//components/user_prefs", |
178 "//components/user_prefs/tracked:user_prefs_tracked", | 178 "//components/user_prefs/tracked:user_prefs_tracked", |
179 "//components/variations", | 179 "//components/variations", |
180 "//components/variations/net", | 180 "//components/variations/net", |
181 "//components/variations/service", | 181 "//components/variations/service", |
| 182 "//components/web_resource", |
182 "//components/webdata/common", | 183 "//components/webdata/common", |
183 "//components/webdata_services", | 184 "//components/webdata_services", |
184 "//components/web_resource", | |
185 "//content/public/browser", | 185 "//content/public/browser", |
186 "//content/public/common", | 186 "//content/public/common", |
187 "//courgette:courgette_lib", | 187 "//courgette:courgette_lib", |
188 "//crypto", | 188 "//crypto", |
189 "//google_apis", | 189 "//google_apis", |
190 "//gpu/config", | 190 "//gpu/config", |
191 "//skia", | 191 "//skia", |
192 "//sql", | 192 "//sql", |
193 "//sync", | 193 "//sync", |
194 "//third_party/cacheinvalidation", | 194 "//third_party/cacheinvalidation", |
195 "//third_party/icu", | 195 "//third_party/icu", |
| 196 "//third_party/libjingle", |
196 "//third_party/libxml", | 197 "//third_party/libxml", |
197 "//third_party/libjingle", | |
198 "//third_party/widevine/cdm:version_h", | 198 "//third_party/widevine/cdm:version_h", |
199 "//third_party/zlib", | 199 "//third_party/zlib", |
200 "//third_party/zlib:minizip", | 200 "//third_party/zlib:minizip", |
201 "//third_party/zlib:zip", | 201 "//third_party/zlib:zip", |
202 "//ui/base", | 202 "//ui/base", |
203 "//ui/events:events_base", | 203 "//ui/events:events_base", |
204 "//ui/gfx", | 204 "//ui/gfx", |
205 "//ui/gfx/geometry", | 205 "//ui/gfx/geometry", |
206 "//ui/message_center", | 206 "//ui/message_center", |
| 207 "//ui/resources", |
207 "//ui/shell_dialogs", | 208 "//ui/shell_dialogs", |
208 "//ui/strings", | 209 "//ui/strings", |
209 "//ui/resources", | |
210 ] | 210 ] |
211 data_deps = [] | 211 data_deps = [] |
212 | 212 |
213 sources += | 213 sources += |
214 rebase_path(gypi_values.chrome_browser_undo_sources, ".", "//chrome") | 214 rebase_path(gypi_values.chrome_browser_undo_sources, ".", "//chrome") |
215 | 215 |
216 if (!is_ios) { | 216 if (!is_ios) { |
217 sources += | 217 sources += |
218 rebase_path(gypi_values.chrome_browser_non_ios_sources, ".", "//chrome") | 218 rebase_path(gypi_values.chrome_browser_non_ios_sources, ".", "//chrome") |
219 sources += rebase_path(gypi_values.chrome_browser_autocomplete_sources, | 219 sources += rebase_path(gypi_values.chrome_browser_autocomplete_sources, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 "//chrome/app/theme:theme_resources", | 282 "//chrome/app/theme:theme_resources", |
283 "//chrome/browser/devtools", | 283 "//chrome/browser/devtools", |
284 "//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory", | 284 "//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory", |
285 "//chrome/browser/resources:component_extension_resources", | 285 "//chrome/browser/resources:component_extension_resources", |
286 "//chrome/common/net", | 286 "//chrome/common/net", |
287 "//chrome/installer/util", | 287 "//chrome/installer/util", |
288 "//components/about_handler", | 288 "//components/about_handler", |
289 "//components/app_modal", | 289 "//components/app_modal", |
290 "//components/autofill/content/browser", | 290 "//components/autofill/content/browser", |
291 "//components/browsing_data", | 291 "//components/browsing_data", |
| 292 "//components/contextual_search:browser", |
292 "//components/data_reduction_proxy/content/browser", | 293 "//components/data_reduction_proxy/content/browser", |
293 "//components/data_use_measurement/content", | 294 "//components/data_use_measurement/content", |
294 "//components/devtools_discovery", | 295 "//components/devtools_discovery", |
295 "//components/devtools_http_handler", | 296 "//components/devtools_http_handler", |
296 "//components/dom_distiller/content:content_browser", | 297 "//components/dom_distiller/content:content_browser", |
297 "//components/error_page/common", | 298 "//components/error_page/common", |
298 "//components/favicon/content", | 299 "//components/favicon/content", |
299 "//components/history/content/browser", | 300 "//components/history/content/browser", |
300 "//components/keyed_service/content", | 301 "//components/keyed_service/content", |
301 "//components/navigation_interception", | 302 "//components/navigation_interception", |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 sources += | 650 sources += |
650 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome") | 651 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome") |
651 } | 652 } |
652 | 653 |
653 if (enable_basic_printing || enable_print_preview) { | 654 if (enable_basic_printing || enable_print_preview) { |
654 # Some form of printing support. | 655 # Some form of printing support. |
655 sources += rebase_path(gypi_values.chrome_browser_printing_basic_sources, | 656 sources += rebase_path(gypi_values.chrome_browser_printing_basic_sources, |
656 ".", | 657 ".", |
657 "//chrome") | 658 "//chrome") |
658 deps += [ | 659 deps += [ |
| 660 "//components/printing/browser", |
659 "//printing", | 661 "//printing", |
660 "//components/printing/browser", | |
661 ] | 662 ] |
662 | 663 |
663 if (is_win) { | 664 if (is_win) { |
664 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, | 665 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, |
665 ".", | 666 ".", |
666 "//chrome") | 667 "//chrome") |
667 } | 668 } |
668 if (enable_print_preview) { | 669 if (enable_print_preview) { |
669 # Full printing on top of the above. | 670 # Full printing on top of the above. |
670 sources += rebase_path(gypi_values.chrome_browser_printing_full_sources, | 671 sources += rebase_path(gypi_values.chrome_browser_printing_full_sources, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 "//components/precache/core", | 731 "//components/precache/core", |
731 "//components/resources:components_resources", | 732 "//components/resources:components_resources", |
732 "//components/service_tab_launcher", | 733 "//components/service_tab_launcher", |
733 "//components/toolbar", | 734 "//components/toolbar", |
734 "//components/web_contents_delegate_android", | 735 "//components/web_contents_delegate_android", |
735 "//third_party/android_opengl/etc1", | 736 "//third_party/android_opengl/etc1", |
736 "//third_party/android_tools:cpu_features", | 737 "//third_party/android_tools:cpu_features", |
737 "//third_party/libaddressinput:util", | 738 "//third_party/libaddressinput:util", |
738 ] | 739 ] |
739 deps -= [ | 740 deps -= [ |
740 "//third_party/libaddressinput", | |
741 "//components/storage_monitor", | 741 "//components/storage_monitor", |
742 "//components/web_modal", | 742 "//components/web_modal", |
| 743 "//third_party/libaddressinput", |
743 ] | 744 ] |
744 defines += [ "ENABLE_DATA_REDUCTION_PROXY_DEBUGGING" ] | 745 defines += [ "ENABLE_DATA_REDUCTION_PROXY_DEBUGGING" ] |
745 | 746 |
746 if (use_seccomp_bpf) { | 747 if (use_seccomp_bpf) { |
747 defines += [ "USE_SECCOMP_BPF" ] | 748 defines += [ "USE_SECCOMP_BPF" ] |
748 deps += [ "//sandbox/linux:seccomp_bpf" ] | 749 deps += [ "//sandbox/linux:seccomp_bpf" ] |
749 } | 750 } |
750 } | 751 } |
751 | 752 |
752 if (is_mac) { | 753 if (is_mac) { |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 ] | 1061 ] |
1061 | 1062 |
1062 configs += [ "//build/config:precompiled_headers" ] | 1063 configs += [ "//build/config:precompiled_headers" ] |
1063 | 1064 |
1064 public_deps = [ | 1065 public_deps = [ |
1065 ":browser", | 1066 ":browser", |
1066 "//chrome/browser/ui:test_support", | 1067 "//chrome/browser/ui:test_support", |
1067 ] | 1068 ] |
1068 deps = [ | 1069 deps = [ |
1069 "//base:prefs_test_support", | 1070 "//base:prefs_test_support", |
| 1071 "//chrome/app/theme:theme_resources", |
1070 "//chrome/browser", | 1072 "//chrome/browser", |
1071 "//chrome/common", | 1073 "//chrome/common", |
1072 "//chrome/common/safe_browsing:proto", | 1074 "//chrome/common/safe_browsing:proto", |
1073 "//components/invalidation/impl", | 1075 "//components/invalidation/impl", |
1074 "//components/invalidation/impl:test_support", | 1076 "//components/invalidation/impl:test_support", |
1075 "//components/password_manager/core/browser:test_support", | 1077 "//components/password_manager/core/browser:test_support", |
1076 "//components/search_engines:test_support", | 1078 "//components/search_engines:test_support", |
1077 "//components/syncable_prefs:test_support", | 1079 "//components/syncable_prefs:test_support", |
1078 "//components/user_prefs/tracked:user_prefs_tracked_test_support", | 1080 "//components/user_prefs/tracked:user_prefs_tracked_test_support", |
1079 "//content/test:test_support", | 1081 "//content/test:test_support", |
1080 "//chrome/app/theme:theme_resources", | |
1081 "//net:test_support", | 1082 "//net:test_support", |
1082 "//skia", | 1083 "//skia", |
1083 "//testing/gmock", | 1084 "//testing/gmock", |
1084 "//testing/gtest", | 1085 "//testing/gtest", |
1085 "//ui/gfx", | 1086 "//ui/gfx", |
1086 ] | 1087 ] |
1087 | 1088 |
1088 if (!is_ios) { | 1089 if (!is_ios) { |
1089 deps += [ | 1090 deps += [ |
1090 "//components/sessions:test_support", | 1091 "//components/sessions:test_support", |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1262 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") | 1263 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
1263 deps = [ | 1264 deps = [ |
1264 "//components/google/core/browser", | 1265 "//components/google/core/browser", |
1265 "//components/omnibox/browser", | 1266 "//components/omnibox/browser", |
1266 "//components/rlz", | 1267 "//components/rlz", |
1267 "//components/search_engines", | 1268 "//components/search_engines", |
1268 "//rlz:rlz_lib", | 1269 "//rlz:rlz_lib", |
1269 ] | 1270 ] |
1270 } | 1271 } |
1271 } | 1272 } |
OLD | NEW |