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

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

Issue 2940093002: Break up chrome/common:common: importer (Closed)
Patch Set: Merge Created 3 years, 6 months 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 | « no previous file | chrome/common/importer/BUILD.gn » ('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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/util/process_version.gni") 6 import("//build/util/process_version.gni")
7 import("//chrome/common/features.gni") 7 import("//chrome/common/features.gni")
8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path.
9 import("//extensions/features/features.gni") 9 import("//extensions/features/features.gni")
10 import("//mojo/public/tools/bindings/mojom.gni") 10 import("//mojo/public/tools/bindings/mojom.gni")
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 public_deps = [ 65 public_deps = [
66 "//base", 66 "//base",
67 "//components/version_info", 67 "//components/version_info",
68 "//components/version_info:version_string", 68 "//components/version_info:version_string",
69 ] 69 ]
70 if (is_win) { 70 if (is_win) {
71 public_deps += [ "//chrome/install_static:install_static_util" ] 71 public_deps += [ "//chrome/install_static:install_static_util" ]
72 } 72 }
73 } 73 }
74 74
75 source_set("ini_parser") {
76 sources = [
77 "ini_parser.cc",
78 "ini_parser.h",
79 ]
80 deps = [
81 "//base",
82 ]
83 }
84
85 source_set("common_param_traits_macros") {
86 sources = [
87 "common_param_traits_macros.h",
88 ]
89 deps = [
90 "//components/content_settings/core/common",
91 "//ipc",
92 ]
93 }
94
75 # Use a static library here because many test binaries depend on this but don't 95 # Use a static library here because many test binaries depend on this but don't
76 # require many files from it. This makes linking more efficient. 96 # require many files from it. This makes linking more efficient.
77 static_library("common") { 97 static_library("common") {
78 sources = [ 98 sources = [
79 "all_messages.h", 99 "all_messages.h",
80 "attrition_experiments.h", 100 "attrition_experiments.h",
81 "auto_start_linux.cc", 101 "auto_start_linux.cc",
82 "auto_start_linux.h", 102 "auto_start_linux.h",
83 "child_process_logging.h", 103 "child_process_logging.h",
84 "child_process_logging_win.cc", 104 "child_process_logging_win.cc",
85 "chrome_content_client.cc", 105 "chrome_content_client.cc",
86 "chrome_content_client.h", 106 "chrome_content_client.h",
87 "chrome_content_client_constants.cc", 107 "chrome_content_client_constants.cc",
88 "chrome_isolated_world_ids.h", 108 "chrome_isolated_world_ids.h",
89 "chrome_result_codes.h", 109 "chrome_result_codes.h",
90 "chrome_utility_messages.h", 110 "chrome_utility_messages.h",
91 "common_message_generator.cc", 111 "common_message_generator.cc",
92 "common_message_generator.h", 112 "common_message_generator.h",
93 "common_param_traits.cc", 113 "common_param_traits.cc",
94 "common_param_traits.h", 114 "common_param_traits.h",
95 "common_param_traits_macros.h",
96 "component_flash_hint_file_linux.cc", 115 "component_flash_hint_file_linux.cc",
97 "component_flash_hint_file_linux.h", 116 "component_flash_hint_file_linux.h",
98 "conflicts/module_watcher_win.cc", 117 "conflicts/module_watcher_win.cc",
99 "conflicts/module_watcher_win.h", 118 "conflicts/module_watcher_win.h",
100 "content_restriction.h", 119 "content_restriction.h",
101 "crash_keys.cc", 120 "crash_keys.cc",
102 "crash_keys.h", 121 "crash_keys.h",
103 "custom_handlers/protocol_handler.cc", 122 "custom_handlers/protocol_handler.cc",
104 "custom_handlers/protocol_handler.h", 123 "custom_handlers/protocol_handler.h",
105 "descriptors_android.h", 124 "descriptors_android.h",
106 "ini_parser.cc",
107 "ini_parser.h",
108 "instant_struct_traits.h", 125 "instant_struct_traits.h",
109 "logging_chrome.cc", 126 "logging_chrome.cc",
110 "logging_chrome.h", 127 "logging_chrome.h",
111 "mac/app_shim_launch.h", 128 "mac/app_shim_launch.h",
112 "mac/app_shim_messages.h", 129 "mac/app_shim_messages.h",
113 "mac/cfbundle_blocker.h", 130 "mac/cfbundle_blocker.h",
114 "mac/cfbundle_blocker.mm", 131 "mac/cfbundle_blocker.mm",
115 "mac/launchd.h", 132 "mac/launchd.h",
116 "mac/launchd.mm", 133 "mac/launchd.mm",
117 "media/media_resource_provider.cc", 134 "media/media_resource_provider.cc",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ] 194 ]
178 defines = [] 195 defines = []
179 196
180 configs += [ 197 configs += [
181 "//build/config:precompiled_headers", 198 "//build/config:precompiled_headers",
182 "//build/config/compiler:wexit_time_destructors", 199 "//build/config/compiler:wexit_time_destructors",
183 ] 200 ]
184 201
185 public_deps = [ 202 public_deps = [
186 ":channel_info", 203 ":channel_info",
204 ":common_param_traits_macros",
187 ":features", 205 ":features",
206 ":ini_parser",
188 ":mojo_bindings", 207 ":mojo_bindings",
189 ":page_load_metrics_mojom", 208 ":page_load_metrics_mojom",
190 "//base:base", 209 "//base:base",
191 "//base:base_static", 210 "//base:base_static",
192 "//base:i18n", 211 "//base:i18n",
193 "//chrome:resources", 212 "//chrome:resources",
194 "//chrome:strings", 213 "//chrome:strings",
195 "//chrome/app/theme:theme_resources", 214 "//chrome/app/theme:theme_resources",
196 "//chrome/common:constants", 215 "//chrome/common:constants",
197 "//chrome/common/media_router/mojo:dial_utility_interfaces", 216 "//chrome/common/media_router/mojo:dial_utility_interfaces",
198 "//chrome/common/net", 217 "//chrome/common/net",
199 "//chrome/common/profiling", 218 "//chrome/common/profiling",
200 "//chrome/common/safe_browsing:proto", 219 "//chrome/common/safe_browsing:proto",
201 "//chrome/installer/util:with_no_strings", 220 "//chrome/installer/util:with_no_strings",
202 "//components/autofill/content/common:ipc_traits",
203 "//components/autofill/core/common",
204 "//components/cast_certificate", 221 "//components/cast_certificate",
205 "//components/cdm/common", 222 "//components/cdm/common",
206 "//components/cloud_devices/common", 223 "//components/cloud_devices/common",
207 "//components/component_updater", 224 "//components/component_updater",
208 "//components/content_settings/core/common", 225 "//components/content_settings/core/common",
209 "//components/crash/core/common", 226 "//components/crash/core/common",
210 "//components/dom_distiller/core", 227 "//components/dom_distiller/core",
211 "//components/error_page/common", 228 "//components/error_page/common",
212 "//components/favicon_base", 229 "//components/favicon_base",
213 "//components/flags_ui:switches", 230 "//components/flags_ui:switches",
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 } 435 }
419 436
420 if (is_android) { 437 if (is_android) {
421 sources -= [ "media_galleries/metadata_types.h" ] 438 sources -= [ "media_galleries/metadata_types.h" ]
422 sources += [ 439 sources += [
423 "media/chrome_media_drm_bridge_client.cc", 440 "media/chrome_media_drm_bridge_client.cc",
424 "media/chrome_media_drm_bridge_client.h", 441 "media/chrome_media_drm_bridge_client.h",
425 ] 442 ]
426 } else { 443 } else {
427 # Non-Android. 444 # Non-Android.
428 sources += [ 445 public_deps += [ "//chrome/common/importer" ]
429 "importer/edge_importer_utils_win.cc",
430 "importer/edge_importer_utils_win.h",
431 "importer/firefox_importer_utils.cc",
432 "importer/firefox_importer_utils.h",
433 "importer/firefox_importer_utils_linux.cc",
434 "importer/firefox_importer_utils_mac.mm",
435 "importer/firefox_importer_utils_win.cc",
436 "importer/ie_importer_utils_win.cc",
437 "importer/ie_importer_utils_win.h",
438 "importer/imported_bookmark_entry.cc",
439 "importer/imported_bookmark_entry.h",
440 "importer/importer_autofill_form_data_entry.cc",
441 "importer/importer_autofill_form_data_entry.h",
442 "importer/importer_bridge.cc",
443 "importer/importer_bridge.h",
444 "importer/importer_data_types.cc",
445 "importer/importer_data_types.h",
446 "importer/importer_test_registry_overrider_win.cc",
447 "importer/importer_test_registry_overrider_win.h",
448 "importer/importer_type.h",
449 "importer/importer_url_row.cc",
450 "importer/importer_url_row.h",
451 "importer/profile_import_process_param_traits.cc",
452 "importer/profile_import_process_param_traits.h",
453 "importer/profile_import_process_param_traits_macros.h",
454 "importer/pstore_declarations.h",
455 "importer/safari_importer_utils.h",
456 "importer/safari_importer_utils.mm",
457 ]
458 } 446 }
459 447
460 if (is_win) { 448 if (is_win) {
461 public_deps += [ 449 public_deps += [
462 "//components/dom_distiller/core", # Needed by chrome_content_client.cc. 450 "//components/dom_distiller/core", # Needed by chrome_content_client.cc.
463 "//third_party/wtl", 451 "//third_party/wtl",
464 ] 452 ]
465 453
466 libs = [ "wintrust.lib" ] 454 libs = [ "wintrust.lib" ]
467 } 455 }
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 742
755 mojom("page_load_metrics_mojom") { 743 mojom("page_load_metrics_mojom") {
756 sources = [ 744 sources = [
757 "page_load_metrics/page_load_metrics.mojom", 745 "page_load_metrics/page_load_metrics.mojom",
758 ] 746 ]
759 747
760 public_deps = [ 748 public_deps = [
761 "//mojo/common:common_custom_types", 749 "//mojo/common:common_custom_types",
762 ] 750 ]
763 } 751 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/importer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698