blob: 028de4f45478325c99b75b25c18b690a257ceeb1 [file] [log] [blame]
[email protected]098fa7a2013-03-08 22:11:171# Copyright (c) 2013 The Chromium Authors. All rights reserved.
[email protected]dd363682009-12-28 20:30:462# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
[email protected]d92b2322014-06-16 18:07:256 'variables': {
[email protected]b46e7e92014-07-22 21:49:527 # File lists shared with GN build.
[email protected]d92b2322014-06-16 18:07:258 'chrome_common_sources': [
[email protected]d92b2322014-06-16 18:07:259 'common/all_messages.h',
10 'common/attrition_experiments.h',
11 'common/auto_start_linux.cc',
12 'common/auto_start_linux.h',
[email protected]d92b2322014-06-16 18:07:2513 'common/badge_util.cc',
14 'common/badge_util.h',
15 'common/child_process_logging.h',
16 'common/child_process_logging_win.cc',
17 'common/chrome_content_client.cc',
18 'common/chrome_content_client.h',
19 'common/chrome_content_client_constants.cc',
20 'common/chrome_content_client_ios.mm',
21 'common/chrome_result_codes.h',
22 'common/chrome_utility_messages.h',
[email protected]ddc6a122014-06-27 04:52:3223 'common/chrome_utility_printing_messages.h',
[email protected]d92b2322014-06-16 18:07:2524 'common/chrome_version_info.cc',
25 'common/chrome_version_info_android.cc',
26 'common/chrome_version_info_chromeos.cc',
27 'common/chrome_version_info_posix.cc',
28 'common/chrome_version_info_mac.mm',
29 'common/chrome_version_info_win.cc',
30 'common/chrome_version_info.h',
31 'common/cloud_print/cloud_print_class_mac.h',
32 'common/cloud_print/cloud_print_class_mac.mm',
33 'common/cloud_print/cloud_print_cdd_conversion.cc',
34 'common/cloud_print/cloud_print_cdd_conversion.h',
35 'common/cloud_print/cloud_print_constants.cc',
36 'common/cloud_print/cloud_print_constants.h',
37 'common/cloud_print/cloud_print_helpers.cc',
38 'common/cloud_print/cloud_print_helpers.h',
39 'common/cloud_print/cloud_print_proxy_info.cc',
40 'common/cloud_print/cloud_print_proxy_info.h',
41 'common/common_message_generator.cc',
42 'common/common_message_generator.h',
43 'common/common_param_traits.cc',
44 'common/common_param_traits.h',
45 'common/common_param_traits_macros.h',
46 'common/content_restriction.h',
vasilii94a1f292014-09-02 10:03:0447 'common/content_settings_pattern_serializer.cc',
48 'common/content_settings_pattern_serializer.h',
[email protected]d92b2322014-06-16 18:07:2549 'common/crash_keys.cc',
50 'common/crash_keys.h',
51 'common/custom_handlers/protocol_handler.cc',
52 'common/custom_handlers/protocol_handler.h',
53 'common/descriptors_android.h',
[email protected]d92b2322014-06-16 18:07:2554 'common/favicon/favicon_url_parser.cc',
55 'common/favicon/favicon_url_parser.h',
56 'common/icon_with_badge_image_source.cc',
57 'common/icon_with_badge_image_source.h',
[email protected]60f751752014-08-11 22:44:2558 'common/ini_parser.cc',
59 'common/ini_parser.h',
[email protected]d92b2322014-06-16 18:07:2560 'common/instant_types.cc',
61 'common/instant_types.h',
62 'common/localized_error.cc',
63 'common/localized_error.h',
64 'common/logging_chrome.cc',
65 'common/logging_chrome.h',
66 'common/mac/app_mode_common.h',
67 'common/mac/app_mode_common.mm',
tapted63829f72014-09-24 23:50:5068 'common/mac/app_shim_launch.h',
69 'common/mac/app_shim_messages.h',
[email protected]d92b2322014-06-16 18:07:2570 'common/mac/cfbundle_blocker.h',
71 'common/mac/cfbundle_blocker.mm',
72 'common/mac/launchd.h',
73 'common/mac/launchd.mm',
[email protected]d92b2322014-06-16 18:07:2574 'common/mac/objc_zombie.h',
75 'common/mac/objc_zombie.mm',
76 'common/media/webrtc_logging_messages.h',
77 'common/media/webrtc_logging_message_data.cc',
78 'common/media/webrtc_logging_message_data.h',
79 'common/media_galleries/metadata_types.h',
80 'common/multi_process_lock.h',
81 'common/multi_process_lock_linux.cc',
82 'common/multi_process_lock_mac.cc',
83 'common/multi_process_lock_win.cc',
84 'common/omnibox_focus_state.h',
85 'common/partial_circular_buffer.cc',
86 'common/partial_circular_buffer.h',
[email protected]d92b2322014-06-16 18:07:2587 'common/pref_names_util.cc',
88 'common/pref_names_util.h',
89 'common/prerender_types.h',
[email protected]d92b2322014-06-16 18:07:2590 'common/profiling.cc',
91 'common/profiling.h',
92 'common/ref_counted_util.h',
93 'common/render_messages.cc',
94 'common/render_messages.h',
[email protected]d92b2322014-06-16 18:07:2595 'common/safe_browsing/safebrowsing_messages.h',
[email protected]d92b2322014-06-16 18:07:2596 'common/search_provider.h',
97 'common/search_types.h',
98 'common/search_urls.cc',
99 'common/search_urls.h',
[email protected]d92b2322014-06-16 18:07:25100 'common/spellcheck_common.cc',
101 'common/spellcheck_common.h',
102 'common/spellcheck_marker.h',
103 'common/spellcheck_messages.h',
104 'common/spellcheck_result.h',
105 'common/switch_utils.cc',
106 'common/switch_utils.h',
[email protected]ca190c82014-07-28 17:15:48107 'common/terminate_on_heap_corruption_experiment_win.cc',
108 'common/terminate_on_heap_corruption_experiment_win.h',
[email protected]d92b2322014-06-16 18:07:25109 'common/tts_messages.h',
110 'common/tts_utterance_request.cc',
111 'common/tts_utterance_request.h',
112 'common/url_constants.cc',
113 'common/url_constants.h',
jochen284435c2014-10-02 13:08:23114 'common/v8_breakpad_support_win.cc',
115 'common/v8_breakpad_support_win.h',
[email protected]d92b2322014-06-16 18:07:25116 'common/variations/experiment_labels.cc',
117 'common/variations/experiment_labels.h',
118 'common/variations/uniformity_field_trials.cc',
119 'common/variations/uniformity_field_trials.h',
120 'common/variations/variations_util.cc',
121 'common/variations/variations_util.h',
122 'common/web_application_info.cc',
123 'common/web_application_info.h',
124 'common/worker_thread_ticker.cc',
125 'common/worker_thread_ticker.h',
126 ],
[email protected]7f2b78ed2014-06-20 04:26:55127 'chrome_common_extensions_sources': [
[email protected]7f2b78ed2014-06-20 04:26:55128 'common/extensions/api/commands/commands_handler.cc',
129 'common/extensions/api/commands/commands_handler.h',
thestige33aa2422014-09-22 22:16:30130 'common/extensions/api/extension_action/action_info.cc',
131 'common/extensions/api/extension_action/action_info.h',
[email protected]7f2b78ed2014-06-20 04:26:55132 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
133 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
134 'common/extensions/api/input_ime/input_components_handler.cc',
135 'common/extensions/api/input_ime/input_components_handler.h',
136 'common/extensions/api/notifications/notification_style.cc',
137 'common/extensions/api/notifications/notification_style.h',
138 'common/extensions/api/omnibox/omnibox_handler.cc',
139 'common/extensions/api/omnibox/omnibox_handler.h',
thestige33aa2422014-09-22 22:16:30140 'common/extensions/api/plugins/plugins_handler.cc',
141 'common/extensions/api/plugins/plugins_handler.h',
[email protected]7f2b78ed2014-06-20 04:26:55142 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
143 'common/extensions/api/speech/tts_engine_manifest_handler.h',
144 'common/extensions/api/spellcheck/spellcheck_handler.cc',
145 'common/extensions/api/spellcheck/spellcheck_handler.h',
thestige33aa2422014-09-22 22:16:30146 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
147 'common/extensions/api/storage/storage_schema_manifest_handler.h',
148 'common/extensions/api/supervised_user_private/supervised_user_handler.cc',
149 'common/extensions/api/supervised_user_private/supervised_user_handler.h',
[email protected]7f2b78ed2014-06-20 04:26:55150 'common/extensions/api/system_indicator/system_indicator_handler.cc',
151 'common/extensions/api/system_indicator/system_indicator_handler.h',
152 'common/extensions/api/url_handlers/url_handlers_parser.cc',
153 'common/extensions/api/url_handlers/url_handlers_parser.h',
154 'common/extensions/api/webstore/webstore_api_constants.cc',
155 'common/extensions/api/webstore/webstore_api_constants.h',
thestig52a87b3b2014-10-23 22:02:38156 'common/extensions/chrome_extension_messages.h',
157 'common/extensions/chrome_extensions_client.cc',
158 'common/extensions/chrome_extensions_client.h',
thestige33aa2422014-09-22 22:16:30159 'common/extensions/chrome_manifest_handlers.cc',
160 'common/extensions/chrome_manifest_handlers.h',
rockot3b99b8e2014-10-14 21:54:35161 'common/extensions/chrome_manifest_url_handlers.cc',
162 'common/extensions/chrome_manifest_url_handlers.h',
thestig52a87b3b2014-10-23 22:02:38163 'common/extensions/chrome_utility_extensions_messages.h',
thestigf55539c52014-10-20 21:50:40164 'common/extensions/command.cc',
165 'common/extensions/command.h',
thestig52a87b3b2014-10-23 22:02:38166 'common/extensions/extension_constants.cc',
167 'common/extensions/extension_constants.h',
benwells9196d87f2014-11-20 07:11:48168 'common/extensions/extension_metrics.cc',
169 'common/extensions/extension_metrics.h',
thestigf55539c52014-10-20 21:50:40170 'common/extensions/extension_process_policy.cc',
171 'common/extensions/extension_process_policy.h',
thestig52a87b3b2014-10-23 22:02:38172 'common/extensions/features/chrome_channel_feature_filter.cc',
173 'common/extensions/features/chrome_channel_feature_filter.h',
174 'common/extensions/features/feature_channel.cc',
175 'common/extensions/features/feature_channel.h',
thestigf55539c52014-10-20 21:50:40176 'common/extensions/image_writer/image_writer_util_mac.cc',
177 'common/extensions/image_writer/image_writer_util_mac.h',
benwellsd4b64a72014-12-11 12:38:27178 'common/extensions/manifest_handlers/app_icon_color_info.cc',
179 'common/extensions/manifest_handlers/app_icon_color_info.h',
thestige33aa2422014-09-22 22:16:30180 'common/extensions/manifest_handlers/app_isolation_info.cc',
181 'common/extensions/manifest_handlers/app_isolation_info.h',
182 'common/extensions/manifest_handlers/app_launch_info.cc',
183 'common/extensions/manifest_handlers/app_launch_info.h',
184 'common/extensions/manifest_handlers/automation.cc',
185 'common/extensions/manifest_handlers/automation.h',
186 'common/extensions/manifest_handlers/content_scripts_handler.cc',
187 'common/extensions/manifest_handlers/content_scripts_handler.h',
ckehoedb7615c2015-01-08 21:22:19188 'common/extensions/manifest_handlers/copresence_manifest.h',
189 'common/extensions/manifest_handlers/copresence_manifest.cc',
rdevlin.croninba386052014-10-02 22:33:12190 'common/extensions/manifest_handlers/extension_action_handler.cc',
191 'common/extensions/manifest_handlers/extension_action_handler.h',
thestige33aa2422014-09-22 22:16:30192 'common/extensions/manifest_handlers/mime_types_handler.cc',
193 'common/extensions/manifest_handlers/mime_types_handler.h',
194 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
195 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
196 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
197 'common/extensions/manifest_handlers/settings_overrides_handler.h',
thestige33aa2422014-09-22 22:16:30198 'common/extensions/manifest_handlers/theme_handler.cc',
199 'common/extensions/manifest_handlers/theme_handler.h',
200 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
201 'common/extensions/manifest_handlers/ui_overrides_handler.h',
thestig52a87b3b2014-10-23 22:02:38202 'common/extensions/permissions/chrome_api_permissions.cc',
203 'common/extensions/permissions/chrome_api_permissions.h',
204 'common/extensions/permissions/chrome_permission_message_provider.cc',
205 'common/extensions/permissions/chrome_permission_message_provider.h',
thestigf55539c52014-10-20 21:50:40206 'common/extensions/sync_helper.cc',
207 'common/extensions/sync_helper.h',
[email protected]7f2b78ed2014-06-20 04:26:55208 ],
[email protected]1e8205e82014-07-08 10:54:24209 'chrome_common_full_safe_browsing_sources': [
210 'common/safe_browsing/download_protection_util.cc',
211 'common/safe_browsing/download_protection_util.h',
212 'common/safe_browsing/zip_analyzer.cc',
213 'common/safe_browsing/zip_analyzer.h',
214 ],
[email protected]b46e7e92014-07-22 21:49:52215 'chrome_common_importer_sources': [
216 'common/importer/firefox_importer_utils.cc',
217 'common/importer/firefox_importer_utils.h',
218 'common/importer/firefox_importer_utils_linux.cc',
219 'common/importer/firefox_importer_utils_mac.mm',
220 'common/importer/firefox_importer_utils_win.cc',
221 'common/importer/ie_importer_test_registry_overrider_win.cc',
222 'common/importer/ie_importer_test_registry_overrider_win.h',
223 'common/importer/ie_importer_utils_win.cc',
224 'common/importer/ie_importer_utils_win.h',
225 'common/importer/imported_bookmark_entry.cc',
226 'common/importer/imported_bookmark_entry.h',
227 'common/importer/imported_favicon_usage.cc',
228 'common/importer/imported_favicon_usage.h',
n.bansal884eafc2014-09-05 00:36:47229 'common/importer/importer_autofill_form_data_entry.cc',
230 'common/importer/importer_autofill_form_data_entry.h',
[email protected]b46e7e92014-07-22 21:49:52231 'common/importer/importer_bridge.cc',
232 'common/importer/importer_bridge.h',
233 'common/importer/importer_data_types.cc',
234 'common/importer/importer_data_types.h',
235 'common/importer/importer_type.h',
236 'common/importer/importer_url_row.cc',
237 'common/importer/importer_url_row.h',
238 'common/importer/profile_import_process_messages.cc',
239 'common/importer/profile_import_process_messages.h',
tsepez072cd492014-09-17 22:40:34240 'common/importer/profile_import_process_param_traits_macros.h',
[email protected]b46e7e92014-07-22 21:49:52241 'common/importer/safari_importer_utils.h',
242 'common/importer/safari_importer_utils.mm',
243 ],
244 'chrome_common_service_process_sources': [
245 'common/service_messages.h',
246 'common/service_process_util.cc',
247 'common/service_process_util.h',
248 'common/service_process_util_linux.cc',
249 'common/service_process_util_mac.mm',
250 'common/service_process_util_posix.cc',
251 'common/service_process_util_posix.h',
252 'common/service_process_util_win.cc',
253 ],
254 'chrome_common_win_mac_sources': [
[email protected]b46e7e92014-07-22 21:49:52255 'common/media_galleries/itunes_library.cc',
256 'common/media_galleries/itunes_library.h',
257 'common/media_galleries/picasa_types.cc',
258 'common/media_galleries/picasa_types.h',
259 'common/media_galleries/pmp_constants.h',
260 ],
sheretov8e00ed92015-01-23 00:38:47261 'chrome_common_networking_private_sources_openssl' : [
262 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
263 'common/extensions/api/networking_private/networking_private_crypto.cc',
264 'common/extensions/api/networking_private/networking_private_crypto.h',
265 ],
266 'chrome_common_networking_private_sources_nss' : [
267 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
268 'common/extensions/api/networking_private/networking_private_crypto.cc',
269 'common/extensions/api/networking_private/networking_private_crypto.h',
270 ],
271
[email protected]b46e7e92014-07-22 21:49:52272 'chrome_common_mac_sources': [
273 'common/media_galleries/iphoto_library.cc',
274 'common/media_galleries/iphoto_library.h',
275 ]
[email protected]d92b2322014-06-16 18:07:25276 },
[email protected]dd363682009-12-28 20:30:46277 'targets': [
278 {
cjhopman09981a92014-10-27 17:11:18279 # GN: //chrome/common:common
[email protected]dd363682009-12-28 20:30:46280 'target_name': 'common',
[email protected]5a547332011-05-19 23:18:53281 'type': 'static_library',
[email protected]dd363682009-12-28 20:30:46282 'variables': {
283 'chrome_common_target': 1,
[email protected]4f68ed72012-10-30 05:24:07284 'enable_wexit_time_destructors': 1,
[email protected]dd363682009-12-28 20:30:46285 },
[email protected]93156cec2011-09-12 21:14:44286 'include_dirs': [
287 '..',
[email protected]b50368b2012-02-18 00:02:13288 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
[email protected]93156cec2011-09-12 21:14:44289 ],
[email protected]dd363682009-12-28 20:30:46290 'direct_dependent_settings': {
291 'include_dirs': [
292 '..',
293 ],
294 },
295 'dependencies': [
296 # TODO(gregoryd): chrome_resources and chrome_strings could be
297 # shared with the 64-bit target, but it does not work due to a gyp
298 # issue.
[email protected]3c3065d2010-05-06 21:59:55299 'common_net',
[email protected]b9bbf5532011-11-03 07:35:22300 'common_version',
[email protected]52927222013-03-19 22:38:12301 'installer_util',
[email protected]12d9f6e2014-07-02 20:45:02302 'safe_browsing_proto',
[email protected]37794d02011-11-30 18:24:29303 '<(DEPTH)/base/base.gyp:base',
304 '<(DEPTH)/base/base.gyp:base_i18n',
[email protected]f59f33e2012-11-01 12:05:27305 '<(DEPTH)/base/base.gyp:base_prefs',
[email protected]37794d02011-11-30 18:24:29306 '<(DEPTH)/base/base.gyp:base_static',
[email protected]37794d02011-11-30 18:24:29307 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
308 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
309 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
[email protected]99245a02012-10-09 20:57:49310 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
[email protected]5b38caf2014-04-18 05:32:06311 '<(DEPTH)/components/components.gyp:cloud_devices_common',
[email protected]6c0c9736d2014-07-08 14:17:00312 '<(DEPTH)/components/components.gyp:component_updater',
[email protected]08f71012014-07-25 10:27:54313 '<(DEPTH)/components/components.gyp:content_settings_core_common',
[email protected]fb1397ce2013-08-13 22:55:07314 '<(DEPTH)/components/components.gyp:json_schema',
[email protected]2a172e42014-02-21 04:06:10315 '<(DEPTH)/components/components.gyp:metrics',
[email protected]f522afa2014-01-08 15:36:36316 '<(DEPTH)/components/components.gyp:policy_component_common',
[email protected]eba93c92014-01-07 17:34:17317 '<(DEPTH)/components/components.gyp:translate_core_common',
[email protected]50ae9f12013-08-29 18:03:22318 '<(DEPTH)/components/components.gyp:variations',
[email protected]37794d02011-11-30 18:24:29319 '<(DEPTH)/content/content.gyp:content_common',
[email protected]00c82c92014-03-14 21:32:07320 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]37794d02011-11-30 18:24:29321 '<(DEPTH)/net/net.gyp:net',
[email protected]37794d02011-11-30 18:24:29322 '<(DEPTH)/skia/skia.gyp:skia',
[email protected]37794d02011-11-30 18:24:29323 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
324 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
325 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
326 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
[email protected]720ceda2013-08-22 19:14:37327 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
[email protected]ffff5b32014-06-25 21:31:08328 '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
[email protected]1c0c3f42013-11-20 02:03:28329 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
[email protected]002cc08f2013-06-03 05:40:29330 '<(DEPTH)/url/url.gyp:url_lib',
[email protected]dd363682009-12-28 20:30:46331 ],
332 'sources': [
[email protected]d92b2322014-06-16 18:07:25333 '<@(chrome_common_sources)'
[email protected]dd363682009-12-28 20:30:46334 ],
335 'conditions': [
[email protected]989ae862013-03-13 04:22:58336 ['enable_extensions==1', {
[email protected]b46e7e92014-07-22 21:49:52337 'sources': [ '<@(chrome_common_extensions_sources)' ],
[email protected]989ae862013-03-13 04:22:58338 'dependencies': [
thestige33aa2422014-09-22 22:16:30339 '<(DEPTH)/device/usb/usb.gyp:device_usb',
340 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
341 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
thestig52a87b3b2014-10-23 22:02:38342 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
343 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
344 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
thestig73f4cdc2015-01-15 01:51:06345 '<(DEPTH)/media/cast/cast.gyp:cast_net',
thestige33aa2422014-09-22 22:16:30346 ],
347 'export_dependent_settings': [
348 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
[email protected]989ae862013-03-13 04:22:58349 ],
[email protected]989ae862013-03-13 04:22:58350 }],
[email protected]c51694f2013-06-25 02:50:24351 ['OS=="win" or OS=="mac"', {
[email protected]b46e7e92014-07-22 21:49:52352 'sources': [ '<@(chrome_common_win_mac_sources)' ],
[email protected]c51694f2013-06-25 02:50:24353 }],
sheretov8e00ed92015-01-23 00:38:47354 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl==1', {
355 'sources': [ '<@(chrome_common_networking_private_sources_openssl)' ],
[email protected]1859d522014-07-25 05:54:02356 'dependencies': [
357 '../third_party/boringssl/boringssl.gyp:boringssl',
358 ],
359 }],
sheretov8e00ed92015-01-23 00:38:47360 ['(OS=="win" or OS=="mac" or chromeos==1) and use_openssl!=1', {
361 'sources': [ '<@(chrome_common_networking_private_sources_nss)' ],
362 }],
[email protected]19fa62bf2013-10-17 17:55:41363 ['OS=="mac"', {
[email protected]b46e7e92014-07-22 21:49:52364 'sources': [ '<@(chrome_common_mac_sources)' ],
[email protected]19fa62bf2013-10-17 17:55:41365 }],
[email protected]fdaed545c2012-10-20 19:13:04366 ['OS != "ios"', {
367 'dependencies': [
[email protected]d04f81912013-06-18 14:52:13368 '<(DEPTH)/components/components.gyp:autofill_core_common',
[email protected]45b53fb2013-12-12 19:28:06369 '<(DEPTH)/components/components.gyp:autofill_content_common',
[email protected]faaa917f2014-02-05 10:43:28370 '<(DEPTH)/components/components.gyp:password_manager_core_common',
[email protected]e08e2f502014-08-22 12:56:50371 '<(DEPTH)/components/components.gyp:password_manager_content_common',
[email protected]63c7f0c2014-03-25 21:12:59372 '<(DEPTH)/components/components.gyp:signin_core_common',
[email protected]381500972014-04-04 05:07:49373 '<(DEPTH)/components/components.gyp:translate_content_common',
[email protected]54ac11b2013-12-04 19:50:37374 '<(DEPTH)/components/components.gyp:visitedlink_common',
stuartmorgan2d39fdf12014-12-09 17:42:10375 '<(DEPTH)/extensions/extensions.gyp:extensions_common_constants',
[email protected]fdaed545c2012-10-20 19:13:04376 '<(DEPTH)/ipc/ipc.gyp:ipc',
[email protected]e3a8ebb92014-03-31 01:54:38377 '<(DEPTH)/third_party/re2/re2.gyp:re2',
[email protected]fdaed545c2012-10-20 19:13:04378 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
[email protected]fdaed545c2012-10-20 19:13:04379 ],
380 }, { # OS == ios
381 'sources/': [
[email protected]fdaed545c2012-10-20 19:13:04382 ['exclude', '^common/child_process_'],
383 ['exclude', '^common/chrome_content_client\\.cc$'],
384 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
385 ['exclude', '^common/common_message_generator\\.cc$'],
386 ['exclude', '^common/common_param_traits'],
387 ['exclude', '^common/custom_handlers/'],
388 ['exclude', '^common/extensions/'],
[email protected]fdaed545c2012-10-20 19:13:04389 ['exclude', '^common/logging_chrome\\.'],
[email protected]c5e85fc2014-05-13 22:38:42390 ['exclude', '^common/media_galleries/'],
[email protected]fdaed545c2012-10-20 19:13:04391 ['exclude', '^common/multi_process_'],
[email protected]fdaed545c2012-10-20 19:13:04392 ['exclude', '^common/profiling\\.'],
[email protected]fdaed545c2012-10-20 19:13:04393 ['exclude', '^common/spellcheck_'],
[email protected]1352ca92013-04-30 02:30:27394 ['exclude', '^common/validation_message_'],
[email protected]fdaed545c2012-10-20 19:13:04395 ['exclude', '^common/web_apps\\.'],
396 # TODO(ios): Include files here as they are made to work; once
397 # everything is online, remove everything below here and just
398 # use the exclusions above.
[email protected]b7d1efa62012-11-16 11:22:02399 ['exclude', '\\.(cc|mm)$'],
400 ['include', '_ios\\.(cc|mm)$'],
401 ['include', '(^|/)ios/'],
402 ['include', '^common/chrome_version_info\\.cc$'],
[email protected]d7575c22013-07-11 13:54:22403 ['include', '^common/translate'],
[email protected]b7d1efa62012-11-16 11:22:02404 ['include', '^common/zip'],
[email protected]fdaed545c2012-10-20 19:13:04405 ],
[email protected]271e88fc2013-05-06 07:48:05406 'include_dirs': [
407 '<(DEPTH)/breakpad/src',
408 ],
[email protected]fdaed545c2012-10-20 19:13:04409 }],
[email protected]a56f8322014-07-16 21:13:55410 ['disable_nacl==0', {
411 'dependencies': [
412 '<(DEPTH)/components/nacl.gyp:nacl_common',
413 ],
[email protected]a56f8322014-07-16 21:13:55414 }],
thestig11b815e92014-08-26 00:32:14415 ['enable_plugins==1', {
416 'dependencies': [
417 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
418 ],
419 'sources': [
420 'common/pepper_flash.cc',
421 'common/pepper_flash.h',
422 'common/pepper_permission_util.cc',
423 'common/pepper_permission_util.h',
424 ],
425 }],
dgn445b5972015-01-13 18:13:07426 ['enable_basic_printing==1 or enable_print_preview==1', {
[email protected]f757c1a2013-11-07 09:02:36427 'dependencies': [
dgn445b5972015-01-13 18:13:07428 '<(DEPTH)/components/components.gyp:printing_common',
[email protected]f757c1a2013-11-07 09:02:36429 '<(DEPTH)/printing/printing.gyp:printing',
430 ],
431 }],
vitalybuka93eea402014-11-05 23:47:15432 ['enable_print_preview==1', {
[email protected]b46e7e92014-07-22 21:49:52433 'sources': [ '<@(chrome_common_service_process_sources)' ],
[email protected]65f81ec2014-06-07 08:55:07434 }],
[email protected]8d1486c62014-04-28 14:18:33435 ['enable_service_discovery==1', {
436 'sources' : [
437 'common/local_discovery/service_discovery_client.cc',
438 'common/local_discovery/service_discovery_client.h',
439 ]
440 }],
441 ['enable_mdns==1', {
442 'sources' : [
443 'common/local_discovery/service_discovery_client_impl.cc',
444 'common/local_discovery/service_discovery_client_impl.h',
445 ]
446 }],
[email protected]9f6167c2012-03-16 02:28:17447 ['OS=="android"', {
[email protected]81bdab22013-09-02 21:12:52448 'sources!': [
449 'common/badge_util.cc',
[email protected]a56f8322014-07-16 21:13:55450 'common/chrome_version_info_posix.cc',
[email protected]81bdab22013-09-02 21:12:52451 'common/extensions/api/spellcheck/spellcheck_handler.cc',
rdevlin.croninba386052014-10-02 22:33:12452 'common/extensions/manifest_handlers/extension_action_handler.cc',
[email protected]81bdab22013-09-02 21:12:52453 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
[email protected]81bdab22013-09-02 21:12:52454 'common/icon_with_badge_image_source.cc',
[email protected]b46e7e92014-07-22 21:49:52455 'common/media_galleries/metadata_types.h',
[email protected]81bdab22013-09-02 21:12:52456 'common/net/url_util.cc',
[email protected]81bdab22013-09-02 21:12:52457 'common/spellcheck_common.cc',
458 ],
[email protected]b46e7e92014-07-22 21:49:52459 }, {
460 # Non-Android.
461 'sources': [ '<@(chrome_common_importer_sources)' ]
[email protected]9f6167c2012-03-16 02:28:17462 }],
[email protected]93156cec2011-09-12 21:14:44463 ['OS=="win"', {
464 'include_dirs': [
[email protected]27b38d62013-08-14 18:12:11465 '<(DEPTH)/breakpad/src',
[email protected]93156cec2011-09-12 21:14:44466 '<(DEPTH)/third_party/wtl/include',
[email protected]f65fdfc2013-03-05 21:56:04467 ],
[email protected]474a5a32014-07-28 18:23:24468 'dependencies': [
469 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
470 ],
[email protected]ef777a42011-11-25 13:15:43471 }],
[email protected]c1cc0e02013-07-04 12:46:35472 ['enable_mdns == 1', {
473 'sources': [
[email protected]686e985e2013-07-18 22:04:56474 'common/local_discovery/local_discovery_messages.h',
[email protected]c1cc0e02013-07-04 12:46:35475 ]
476 }],
[email protected]b9bbf5532011-11-03 07:35:22477 ['OS=="mac"', {
478 'dependencies': [
[email protected]a023dca2013-12-18 03:58:36479 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
[email protected]b9bbf5532011-11-03 07:35:22480 '../third_party/mach_override/mach_override.gyp:mach_override',
481 ],
482 'include_dirs': [
[email protected]271e88fc2013-05-06 07:48:05483 '<(DEPTH)/breakpad/src',
[email protected]b9bbf5532011-11-03 07:35:22484 ],
[email protected]1f26b9a2012-02-28 00:29:38485 'sources!': [
[email protected]1f26b9a2012-02-28 00:29:38486 'common/chrome_version_info_posix.cc',
487 ],
[email protected]b9bbf5532011-11-03 07:35:22488 }],
[email protected]6ef98b5a2013-05-31 23:58:31489 ['enable_webrtc==0', {
490 'sources!': [
491 'common/media/webrtc_logging_messages.h',
492 ]
493 }],
[email protected]991573e2013-12-16 13:49:20494 ['configuration_policy==1', {
495 'dependencies': [
496 '<(DEPTH)/components/components.gyp:policy',
497 ],
498 }],
[email protected]1e8205e82014-07-08 10:54:24499 ['safe_browsing==1', {
500 'defines': [ 'FULL_SAFE_BROWSING' ],
501 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
502 }],
503 ['safe_browsing==2', {
504 'defines': [ 'MOBILE_SAFE_BROWSING' ],
505 }],
[email protected]b9bbf5532011-11-03 07:35:22506 ],
[email protected]fdaed545c2012-10-20 19:13:04507 'target_conditions': [
508 ['OS == "ios"', {
509 'sources/': [
510 # Pull in specific Mac files for iOS (which have been filtered out
511 # by file name rules).
512 ['include', '^common/chrome_version_info_mac\\.mm$'],
513 ],
514 }],
515 ],
[email protected]b9bbf5532011-11-03 07:35:22516 'export_dependent_settings': [
517 '../base/base.gyp:base',
518 ],
519 },
520 {
[email protected]b46e7e92014-07-22 21:49:52521 # GN version: //chrome/common:version
[email protected]b9bbf5532011-11-03 07:35:22522 'target_name': 'common_version',
523 'type': 'none',
scottmg2e4625362014-10-07 02:09:46524 'direct_dependent_settings': {
525 'include_dirs': [
526 '<(SHARED_INTERMEDIATE_DIR)',
527 ],
528 },
529 # Because generate_version generates a header, we must set the
530 # hard_dependency flag.
531 'hard_dependency': 1,
532 'actions': [
533 {
534 'action_name': 'generate_version',
535 'variables': {
536 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
537 'version_py_path': '<(DEPTH)/build/util/version.py',
538 'version_path': 'VERSION',
539 'template_input_path': 'common/chrome_version_info_values.h.version',
[email protected]b9bbf5532011-11-03 07:35:22540 },
scottmg2e4625362014-10-07 02:09:46541 'conditions': [
542 [ 'branding == "Chrome"', {
[email protected]4641d3c2010-08-26 21:44:13543 'variables': {
scottmg2e4625362014-10-07 02:09:46544 'branding_path':
545 'app/theme/google_chrome/BRANDING',
[email protected]4641d3c2010-08-26 21:44:13546 },
scottmg2e4625362014-10-07 02:09:46547 }, { # else branding!="Chrome"
548 'variables': {
549 'branding_path':
550 'app/theme/chromium/BRANDING',
551 },
552 }],
[email protected]4641d3c2010-08-26 21:44:13553 ],
scottmg2e4625362014-10-07 02:09:46554 'inputs': [
555 '<(template_input_path)',
556 '<(version_path)',
557 '<(branding_path)',
558 '<(lastchange_path)',
559 ],
560 'outputs': [
561 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_values.h',
562 ],
563 'action': [
564 'python',
565 '<(version_py_path)',
566 '-f', '<(version_path)',
567 '-f', '<(branding_path)',
568 '-f', '<(lastchange_path)',
569 '<(template_input_path)',
570 '<@(_outputs)',
571 ],
572 'message': 'Generating version information',
573 },
[email protected]dd363682009-12-28 20:30:46574 ],
575 },
[email protected]3c3065d2010-05-06 21:59:55576 {
[email protected]b46e7e92014-07-22 21:49:52577 # GN version: //chrome/common/net
[email protected]3c3065d2010-05-06 21:59:55578 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53579 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55580 'sources': [
[email protected]06305962012-05-09 22:34:36581 'common/net/net_resource_provider.cc',
582 'common/net/net_resource_provider.h',
[email protected]06305962012-05-09 22:34:36583 'common/net/url_util.cc',
584 'common/net/url_util.h',
[email protected]b1c2a5542010-10-08 12:44:40585 'common/net/x509_certificate_model.cc',
586 'common/net/x509_certificate_model_nss.cc',
587 'common/net/x509_certificate_model_openssl.cc',
588 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55589 ],
590 'dependencies': [
[email protected]37794d02011-11-30 18:24:29591 '<(DEPTH)/base/base.gyp:base',
592 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
593 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
gunschedf5a932014-11-18 00:52:03594 '<(DEPTH)/components/components.gyp:dns_prefetch_common',
hashimoto9b160e22014-10-15 03:56:53595 '<(DEPTH)/components/components.gyp:error_page_common',
[email protected]37794d02011-11-30 18:24:29596 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]37794d02011-11-30 18:24:29597 '<(DEPTH)/net/net.gyp:net_resources',
598 '<(DEPTH)/net/net.gyp:net',
599 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
600 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
dcheng112adc892014-11-20 07:16:49601 '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
[email protected]3c3065d2010-05-06 21:59:55602 ],
[email protected]b1c2a5542010-10-08 12:44:40603 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04604 ['OS != "ios"', {
605 'dependencies': [
606 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
607 ],
608 }, { # OS == ios
609 'sources!': [
610 'common/net/net_resource_provider.cc',
611 'common/net/x509_certificate_model.cc',
612 ],
613 }],
614 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30615 'dependencies': [
616 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40617 ],
618 },
[email protected]af221ff2012-04-03 05:22:39619 ],
[email protected]fdaed545c2012-10-20 19:13:04620 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
[email protected]b1c2a5542010-10-08 12:44:40621 'sources!': [
622 'common/net/x509_certificate_model_nss.cc',
623 'common/net/x509_certificate_model_openssl.cc',
624 ],
625 },
626 ],
[email protected]af221ff2012-04-03 05:22:39627 ['OS == "android"', {
628 'dependencies': [
[email protected]edfd0f42014-07-22 18:20:37629 '../third_party/boringssl/boringssl.gyp:boringssl',
[email protected]af221ff2012-04-03 05:22:39630 ],
[email protected]df2e196e2014-02-05 19:56:25631 'sources!': [
632 'common/net/x509_certificate_model.cc',
[email protected]b455eefa2014-05-26 04:02:31633 'common/net/x509_certificate_model_openssl.cc',
[email protected]df2e196e2014-02-05 19:56:25634 ],
635 }],
[email protected]b1c2a5542010-10-08 12:44:40636 ['use_openssl==1', {
637 'sources!': [
638 'common/net/x509_certificate_model_nss.cc',
639 ],
[email protected]9a81cb52014-08-12 02:56:54640 'dependencies': [
641 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
642 ],
[email protected]b1c2a5542010-10-08 12:44:40643 },
644 { # else !use_openssl: remove the unneeded files
645 'sources!': [
646 'common/net/x509_certificate_model_openssl.cc',
647 ],
648 },
649 ],
[email protected]b1d2c742013-01-21 18:04:52650 ['OS=="win"', {
651 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
652 'msvs_disabled_warnings': [4267, ],
653 },
654 ],
[email protected]129d11452012-03-01 01:56:56655 ],
[email protected]3c3065d2010-05-06 21:59:55656 },
[email protected]133139772011-04-14 22:14:13657 {
[email protected]1c20dd62011-08-19 21:54:33658 # Protobuf compiler / generator for the safebrowsing client
659 # model proto and the client-side detection (csd) request
660 # protocol buffer.
[email protected]77ce8022014-06-16 19:29:56661
662 # GN version: //chrome/common/safe_browsing:proto
[email protected]cae64fe2011-06-17 17:54:50663 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33664 'type': 'static_library',
665 'sources': [
666 'common/safe_browsing/client_model.proto',
[email protected]8e289f0b2013-12-17 17:49:07667 'common/safe_browsing/crx_info.proto',
[email protected]1c20dd62011-08-19 21:54:33668 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50669 ],
[email protected]1c20dd62011-08-19 21:54:33670 'variables': {
671 'proto_in_dir': 'common/safe_browsing',
672 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50673 },
[email protected]1c20dd62011-08-19 21:54:33674 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13675 },
[email protected]dd363682009-12-28 20:30:46676 ],
[email protected]dd363682009-12-28 20:30:46677}