blob: 724bc314e18c5374752587d71d7c379039e137f4 [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/extensions/chrome_extension_messages.h',
55 'common/extensions/chrome_extensions_client.cc',
56 'common/extensions/chrome_extensions_client.h',
[email protected]ddc6a122014-06-27 04:52:3257 'common/extensions/chrome_utility_extensions_messages.h',
[email protected]d92b2322014-06-16 18:07:2558 'common/extensions/command.cc',
59 'common/extensions/command.h',
60 'common/extensions/extension_constants.cc',
61 'common/extensions/extension_constants.h',
[email protected]d92b2322014-06-16 18:07:2562 'common/extensions/extension_process_policy.cc',
63 'common/extensions/extension_process_policy.h',
64 'common/extensions/features/chrome_channel_feature_filter.cc',
65 'common/extensions/features/chrome_channel_feature_filter.h',
66 'common/extensions/features/feature_channel.cc',
67 'common/extensions/features/feature_channel.h',
[email protected]6f584582014-07-09 23:11:1468 'common/extensions/image_writer/image_writer_util_mac.cc',
69 'common/extensions/image_writer/image_writer_util_mac.h',
[email protected]d92b2322014-06-16 18:07:2570 'common/extensions/permissions/chrome_api_permissions.cc',
71 'common/extensions/permissions/chrome_api_permissions.h',
72 'common/extensions/permissions/chrome_permission_message_provider.cc',
73 'common/extensions/permissions/chrome_permission_message_provider.h',
74 'common/extensions/sync_helper.cc',
75 'common/extensions/sync_helper.h',
[email protected]d92b2322014-06-16 18:07:2576 'common/favicon/favicon_url_parser.cc',
77 'common/favicon/favicon_url_parser.h',
78 'common/icon_with_badge_image_source.cc',
79 'common/icon_with_badge_image_source.h',
[email protected]60f751752014-08-11 22:44:2580 'common/ini_parser.cc',
81 'common/ini_parser.h',
[email protected]d92b2322014-06-16 18:07:2582 'common/instant_restricted_id_cache.h',
83 'common/instant_types.cc',
84 'common/instant_types.h',
85 'common/localized_error.cc',
86 'common/localized_error.h',
87 'common/logging_chrome.cc',
88 'common/logging_chrome.h',
89 'common/mac/app_mode_common.h',
90 'common/mac/app_mode_common.mm',
tapted63829f72014-09-24 23:50:5091 'common/mac/app_shim_launch.h',
92 'common/mac/app_shim_messages.h',
[email protected]d92b2322014-06-16 18:07:2593 'common/mac/cfbundle_blocker.h',
94 'common/mac/cfbundle_blocker.mm',
95 'common/mac/launchd.h',
96 'common/mac/launchd.mm',
[email protected]d92b2322014-06-16 18:07:2597 'common/mac/objc_zombie.h',
98 'common/mac/objc_zombie.mm',
99 'common/media/webrtc_logging_messages.h',
100 'common/media/webrtc_logging_message_data.cc',
101 'common/media/webrtc_logging_message_data.h',
102 'common/media_galleries/metadata_types.h',
103 'common/multi_process_lock.h',
104 'common/multi_process_lock_linux.cc',
105 'common/multi_process_lock_mac.cc',
106 'common/multi_process_lock_win.cc',
107 'common/omnibox_focus_state.h',
108 'common/partial_circular_buffer.cc',
109 'common/partial_circular_buffer.h',
[email protected]d92b2322014-06-16 18:07:25110 'common/pref_names_util.cc',
111 'common/pref_names_util.h',
112 'common/prerender_types.h',
113 'common/print_messages.cc',
114 'common/print_messages.h',
115 'common/profiling.cc',
116 'common/profiling.h',
117 'common/ref_counted_util.h',
118 'common/render_messages.cc',
119 'common/render_messages.h',
[email protected]d92b2322014-06-16 18:07:25120 'common/safe_browsing/safebrowsing_messages.h',
[email protected]d92b2322014-06-16 18:07:25121 'common/search_provider.h',
122 'common/search_types.h',
123 'common/search_urls.cc',
124 'common/search_urls.h',
[email protected]d92b2322014-06-16 18:07:25125 'common/spellcheck_common.cc',
126 'common/spellcheck_common.h',
127 'common/spellcheck_marker.h',
128 'common/spellcheck_messages.h',
129 'common/spellcheck_result.h',
130 'common/switch_utils.cc',
131 'common/switch_utils.h',
[email protected]ca190c82014-07-28 17:15:48132 'common/terminate_on_heap_corruption_experiment_win.cc',
133 'common/terminate_on_heap_corruption_experiment_win.h',
[email protected]d92b2322014-06-16 18:07:25134 'common/tts_messages.h',
135 'common/tts_utterance_request.cc',
136 'common/tts_utterance_request.h',
137 'common/url_constants.cc',
138 'common/url_constants.h',
jochen284435c2014-10-02 13:08:23139 'common/v8_breakpad_support_win.cc',
140 'common/v8_breakpad_support_win.h',
[email protected]d92b2322014-06-16 18:07:25141 'common/variations/experiment_labels.cc',
142 'common/variations/experiment_labels.h',
143 'common/variations/uniformity_field_trials.cc',
144 'common/variations/uniformity_field_trials.h',
145 'common/variations/variations_util.cc',
146 'common/variations/variations_util.h',
147 'common/web_application_info.cc',
148 'common/web_application_info.h',
149 'common/worker_thread_ticker.cc',
150 'common/worker_thread_ticker.h',
151 ],
[email protected]7f2b78ed2014-06-20 04:26:55152 'chrome_common_extensions_sources': [
[email protected]7f2b78ed2014-06-20 04:26:55153 'common/extensions/api/commands/commands_handler.cc',
154 'common/extensions/api/commands/commands_handler.h',
thestige33aa2422014-09-22 22:16:30155 'common/extensions/api/extension_action/action_info.cc',
156 'common/extensions/api/extension_action/action_info.h',
[email protected]7f2b78ed2014-06-20 04:26:55157 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
158 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
thestige33aa2422014-09-22 22:16:30159 'common/extensions/api/i18n/default_locale_handler.cc',
160 'common/extensions/api/i18n/default_locale_handler.h',
161 'common/extensions/api/identity/oauth2_manifest_handler.cc',
162 'common/extensions/api/identity/oauth2_manifest_handler.h',
[email protected]7f2b78ed2014-06-20 04:26:55163 'common/extensions/api/input_ime/input_components_handler.cc',
164 'common/extensions/api/input_ime/input_components_handler.h',
165 'common/extensions/api/notifications/notification_style.cc',
166 'common/extensions/api/notifications/notification_style.h',
167 'common/extensions/api/omnibox/omnibox_handler.cc',
168 'common/extensions/api/omnibox/omnibox_handler.h',
thestige33aa2422014-09-22 22:16:30169 'common/extensions/api/plugins/plugins_handler.cc',
170 'common/extensions/api/plugins/plugins_handler.h',
[email protected]7f2b78ed2014-06-20 04:26:55171 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
172 'common/extensions/api/speech/tts_engine_manifest_handler.h',
173 'common/extensions/api/spellcheck/spellcheck_handler.cc',
174 'common/extensions/api/spellcheck/spellcheck_handler.h',
thestige33aa2422014-09-22 22:16:30175 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
176 'common/extensions/api/storage/storage_schema_manifest_handler.h',
177 'common/extensions/api/supervised_user_private/supervised_user_handler.cc',
178 'common/extensions/api/supervised_user_private/supervised_user_handler.h',
[email protected]7f2b78ed2014-06-20 04:26:55179 'common/extensions/api/system_indicator/system_indicator_handler.cc',
180 'common/extensions/api/system_indicator/system_indicator_handler.h',
181 'common/extensions/api/url_handlers/url_handlers_parser.cc',
182 'common/extensions/api/url_handlers/url_handlers_parser.h',
183 'common/extensions/api/webstore/webstore_api_constants.cc',
184 'common/extensions/api/webstore/webstore_api_constants.h',
thestige33aa2422014-09-22 22:16:30185 'common/extensions/chrome_manifest_handlers.cc',
186 'common/extensions/chrome_manifest_handlers.h',
rockot3b99b8e2014-10-14 21:54:35187 'common/extensions/chrome_manifest_url_handlers.cc',
188 'common/extensions/chrome_manifest_url_handlers.h',
thestige33aa2422014-09-22 22:16:30189 'common/extensions/extension_file_util.cc',
190 'common/extensions/extension_file_util.h',
191 'common/extensions/manifest_handlers/app_isolation_info.cc',
192 'common/extensions/manifest_handlers/app_isolation_info.h',
193 'common/extensions/manifest_handlers/app_launch_info.cc',
194 'common/extensions/manifest_handlers/app_launch_info.h',
195 'common/extensions/manifest_handlers/automation.cc',
196 'common/extensions/manifest_handlers/automation.h',
197 'common/extensions/manifest_handlers/content_scripts_handler.cc',
198 'common/extensions/manifest_handlers/content_scripts_handler.h',
rdevlin.croninba386052014-10-02 22:33:12199 'common/extensions/manifest_handlers/extension_action_handler.cc',
200 'common/extensions/manifest_handlers/extension_action_handler.h',
thestige33aa2422014-09-22 22:16:30201 'common/extensions/manifest_handlers/mime_types_handler.cc',
202 'common/extensions/manifest_handlers/mime_types_handler.h',
203 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
204 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
205 'common/extensions/manifest_handlers/settings_overrides_handler.cc',
206 'common/extensions/manifest_handlers/settings_overrides_handler.h',
thestige33aa2422014-09-22 22:16:30207 'common/extensions/manifest_handlers/theme_handler.cc',
208 'common/extensions/manifest_handlers/theme_handler.h',
209 'common/extensions/manifest_handlers/ui_overrides_handler.cc',
210 'common/extensions/manifest_handlers/ui_overrides_handler.h',
211 'common/extensions/manifest_url_handler.cc',
212 'common/extensions/manifest_url_handler.h',
[email protected]7f2b78ed2014-06-20 04:26:55213 ],
[email protected]1e8205e82014-07-08 10:54:24214 'chrome_common_full_safe_browsing_sources': [
215 'common/safe_browsing/download_protection_util.cc',
216 'common/safe_browsing/download_protection_util.h',
217 'common/safe_browsing/zip_analyzer.cc',
218 'common/safe_browsing/zip_analyzer.h',
219 ],
[email protected]b46e7e92014-07-22 21:49:52220 'chrome_common_importer_sources': [
221 'common/importer/firefox_importer_utils.cc',
222 'common/importer/firefox_importer_utils.h',
223 'common/importer/firefox_importer_utils_linux.cc',
224 'common/importer/firefox_importer_utils_mac.mm',
225 'common/importer/firefox_importer_utils_win.cc',
226 'common/importer/ie_importer_test_registry_overrider_win.cc',
227 'common/importer/ie_importer_test_registry_overrider_win.h',
228 'common/importer/ie_importer_utils_win.cc',
229 'common/importer/ie_importer_utils_win.h',
230 'common/importer/imported_bookmark_entry.cc',
231 'common/importer/imported_bookmark_entry.h',
232 'common/importer/imported_favicon_usage.cc',
233 'common/importer/imported_favicon_usage.h',
n.bansal884eafc2014-09-05 00:36:47234 'common/importer/importer_autofill_form_data_entry.cc',
235 'common/importer/importer_autofill_form_data_entry.h',
[email protected]b46e7e92014-07-22 21:49:52236 'common/importer/importer_bridge.cc',
237 'common/importer/importer_bridge.h',
238 'common/importer/importer_data_types.cc',
239 'common/importer/importer_data_types.h',
240 'common/importer/importer_type.h',
241 'common/importer/importer_url_row.cc',
242 'common/importer/importer_url_row.h',
243 'common/importer/profile_import_process_messages.cc',
244 'common/importer/profile_import_process_messages.h',
tsepez072cd492014-09-17 22:40:34245 'common/importer/profile_import_process_param_traits_macros.h',
[email protected]b46e7e92014-07-22 21:49:52246 'common/importer/safari_importer_utils.h',
247 'common/importer/safari_importer_utils.mm',
248 ],
249 'chrome_common_service_process_sources': [
250 'common/service_messages.h',
251 'common/service_process_util.cc',
252 'common/service_process_util.h',
253 'common/service_process_util_linux.cc',
254 'common/service_process_util_mac.mm',
255 'common/service_process_util_posix.cc',
256 'common/service_process_util_posix.h',
257 'common/service_process_util_win.cc',
258 ],
259 'chrome_common_win_mac_sources': [
260 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
261 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
[email protected]1859d522014-07-25 05:54:02262 'common/extensions/api/networking_private/networking_private_crypto.cc',
[email protected]b46e7e92014-07-22 21:49:52263 'common/extensions/api/networking_private/networking_private_crypto.h',
264 'common/media_galleries/itunes_library.cc',
265 'common/media_galleries/itunes_library.h',
266 'common/media_galleries/picasa_types.cc',
267 'common/media_galleries/picasa_types.h',
268 'common/media_galleries/pmp_constants.h',
269 ],
270 'chrome_common_mac_sources': [
271 'common/media_galleries/iphoto_library.cc',
272 'common/media_galleries/iphoto_library.h',
273 ]
[email protected]d92b2322014-06-16 18:07:25274 },
[email protected]dd363682009-12-28 20:30:46275 'targets': [
276 {
277 'target_name': 'common',
[email protected]5a547332011-05-19 23:18:53278 'type': 'static_library',
[email protected]dd363682009-12-28 20:30:46279 'variables': {
280 'chrome_common_target': 1,
[email protected]4f68ed72012-10-30 05:24:07281 'enable_wexit_time_destructors': 1,
[email protected]dd363682009-12-28 20:30:46282 },
[email protected]93156cec2011-09-12 21:14:44283 'include_dirs': [
284 '..',
[email protected]b50368b2012-02-18 00:02:13285 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
[email protected]93156cec2011-09-12 21:14:44286 ],
[email protected]dd363682009-12-28 20:30:46287 'direct_dependent_settings': {
288 'include_dirs': [
289 '..',
290 ],
291 },
292 'dependencies': [
293 # TODO(gregoryd): chrome_resources and chrome_strings could be
294 # shared with the 64-bit target, but it does not work due to a gyp
295 # issue.
[email protected]3c3065d2010-05-06 21:59:55296 'common_net',
[email protected]b9bbf5532011-11-03 07:35:22297 'common_version',
[email protected]52927222013-03-19 22:38:12298 'installer_util',
[email protected]12d9f6e2014-07-02 20:45:02299 'safe_browsing_proto',
[email protected]37794d02011-11-30 18:24:29300 '<(DEPTH)/base/base.gyp:base',
301 '<(DEPTH)/base/base.gyp:base_i18n',
[email protected]f59f33e2012-11-01 12:05:27302 '<(DEPTH)/base/base.gyp:base_prefs',
[email protected]37794d02011-11-30 18:24:29303 '<(DEPTH)/base/base.gyp:base_static',
[email protected]37794d02011-11-30 18:24:29304 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
305 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
306 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
[email protected]99245a02012-10-09 20:57:49307 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
[email protected]5b38caf2014-04-18 05:32:06308 '<(DEPTH)/components/components.gyp:cloud_devices_common',
[email protected]6c0c9736d2014-07-08 14:17:00309 '<(DEPTH)/components/components.gyp:component_updater',
[email protected]08f71012014-07-25 10:27:54310 '<(DEPTH)/components/components.gyp:content_settings_core_common',
[email protected]fb1397ce2013-08-13 22:55:07311 '<(DEPTH)/components/components.gyp:json_schema',
[email protected]2a172e42014-02-21 04:06:10312 '<(DEPTH)/components/components.gyp:metrics',
[email protected]f522afa2014-01-08 15:36:36313 '<(DEPTH)/components/components.gyp:policy_component_common',
[email protected]eba93c92014-01-07 17:34:17314 '<(DEPTH)/components/components.gyp:translate_core_common',
[email protected]50ae9f12013-08-29 18:03:22315 '<(DEPTH)/components/components.gyp:variations',
[email protected]37794d02011-11-30 18:24:29316 '<(DEPTH)/content/content.gyp:content_common',
[email protected]00c82c92014-03-14 21:32:07317 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]dcedc592014-04-28 19:49:29318 '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
[email protected]99c0125b2014-04-17 05:21:57319 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
[email protected]734732e2014-07-15 01:04:25320 '<(DEPTH)/media/cast/cast.gyp:cast_net',
[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',
342 ],
343 'export_dependent_settings': [
344 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
[email protected]989ae862013-03-13 04:22:58345 ],
[email protected]989ae862013-03-13 04:22:58346 }],
[email protected]c51694f2013-06-25 02:50:24347 ['OS=="win" or OS=="mac"', {
[email protected]b46e7e92014-07-22 21:49:52348 'sources': [ '<@(chrome_common_win_mac_sources)' ],
[email protected]c51694f2013-06-25 02:50:24349 }],
[email protected]1859d522014-07-25 05:54:02350 ['(OS=="win" or OS=="mac") and use_openssl==1', {
351 # networking_private_crypto_openssl.cc depends on boringssl.
352 'dependencies': [
353 '../third_party/boringssl/boringssl.gyp:boringssl',
354 ],
355 }],
[email protected]19fa62bf2013-10-17 17:55:41356 ['OS=="mac"', {
[email protected]b46e7e92014-07-22 21:49:52357 'sources': [ '<@(chrome_common_mac_sources)' ],
[email protected]19fa62bf2013-10-17 17:55:41358 }],
[email protected]fdaed545c2012-10-20 19:13:04359 ['OS != "ios"', {
360 'dependencies': [
[email protected]d04f81912013-06-18 14:52:13361 '<(DEPTH)/components/components.gyp:autofill_core_common',
[email protected]45b53fb2013-12-12 19:28:06362 '<(DEPTH)/components/components.gyp:autofill_content_common',
[email protected]faaa917f2014-02-05 10:43:28363 '<(DEPTH)/components/components.gyp:password_manager_core_common',
[email protected]e08e2f502014-08-22 12:56:50364 '<(DEPTH)/components/components.gyp:password_manager_content_common',
[email protected]63c7f0c2014-03-25 21:12:59365 '<(DEPTH)/components/components.gyp:signin_core_common',
[email protected]381500972014-04-04 05:07:49366 '<(DEPTH)/components/components.gyp:translate_content_common',
[email protected]54ac11b2013-12-04 19:50:37367 '<(DEPTH)/components/components.gyp:visitedlink_common',
[email protected]558878cc82013-11-09 01:25:51368 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
[email protected]fdaed545c2012-10-20 19:13:04369 '<(DEPTH)/ipc/ipc.gyp:ipc',
[email protected]e3a8ebb92014-03-31 01:54:38370 '<(DEPTH)/third_party/re2/re2.gyp:re2',
[email protected]fdaed545c2012-10-20 19:13:04371 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
[email protected]fdaed545c2012-10-20 19:13:04372 ],
373 }, { # OS == ios
374 'sources/': [
[email protected]fdaed545c2012-10-20 19:13:04375 ['exclude', '^common/child_process_'],
376 ['exclude', '^common/chrome_content_client\\.cc$'],
377 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
378 ['exclude', '^common/common_message_generator\\.cc$'],
379 ['exclude', '^common/common_param_traits'],
380 ['exclude', '^common/custom_handlers/'],
381 ['exclude', '^common/extensions/'],
[email protected]fdaed545c2012-10-20 19:13:04382 ['exclude', '^common/logging_chrome\\.'],
[email protected]c5e85fc2014-05-13 22:38:42383 ['exclude', '^common/media_galleries/'],
[email protected]fdaed545c2012-10-20 19:13:04384 ['exclude', '^common/multi_process_'],
[email protected]fdaed545c2012-10-20 19:13:04385 ['exclude', '^common/profiling\\.'],
[email protected]fdaed545c2012-10-20 19:13:04386 ['exclude', '^common/spellcheck_'],
[email protected]1352ca92013-04-30 02:30:27387 ['exclude', '^common/validation_message_'],
[email protected]fdaed545c2012-10-20 19:13:04388 ['exclude', '^common/web_apps\\.'],
389 # TODO(ios): Include files here as they are made to work; once
390 # everything is online, remove everything below here and just
391 # use the exclusions above.
[email protected]b7d1efa62012-11-16 11:22:02392 ['exclude', '\\.(cc|mm)$'],
393 ['include', '_ios\\.(cc|mm)$'],
394 ['include', '(^|/)ios/'],
395 ['include', '^common/chrome_version_info\\.cc$'],
[email protected]d7575c22013-07-11 13:54:22396 ['include', '^common/translate'],
[email protected]b7d1efa62012-11-16 11:22:02397 ['include', '^common/zip'],
[email protected]fdaed545c2012-10-20 19:13:04398 ],
[email protected]271e88fc2013-05-06 07:48:05399 'include_dirs': [
400 '<(DEPTH)/breakpad/src',
401 ],
[email protected]fdaed545c2012-10-20 19:13:04402 }],
[email protected]a56f8322014-07-16 21:13:55403 ['disable_nacl==0', {
404 'dependencies': [
405 '<(DEPTH)/components/nacl.gyp:nacl_common',
[email protected]01167112014-08-05 19:53:20406 '<(DEPTH)/ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_trusted_plugin',
[email protected]a56f8322014-07-16 21:13:55407 ],
[email protected]a56f8322014-07-16 21:13:55408 }],
thestig11b815e92014-08-26 00:32:14409 ['enable_plugins==1', {
410 'dependencies': [
411 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
412 ],
413 'sources': [
414 'common/pepper_flash.cc',
415 'common/pepper_flash.h',
416 'common/pepper_permission_util.cc',
417 'common/pepper_permission_util.h',
418 ],
419 }],
[email protected]65f81ec2014-06-07 08:55:07420 ['enable_printing==0', {
421 'sources!': [
422 'common/print_messages.cc',
423 'common/print_messages.h',
424 ]
425 }, {
[email protected]f757c1a2013-11-07 09:02:36426 'dependencies': [
427 '<(DEPTH)/printing/printing.gyp:printing',
428 ],
429 }],
[email protected]b46e7e92014-07-22 21:49:52430 ['enable_printing==1', {
431 'sources': [ '<@(chrome_common_service_process_sources)' ],
[email protected]65f81ec2014-06-07 08:55:07432 }],
[email protected]8d1486c62014-04-28 14:18:33433 ['enable_service_discovery==1', {
434 'sources' : [
435 'common/local_discovery/service_discovery_client.cc',
436 'common/local_discovery/service_discovery_client.h',
437 ]
438 }],
439 ['enable_mdns==1', {
440 'sources' : [
441 'common/local_discovery/service_discovery_client_impl.cc',
442 'common/local_discovery/service_discovery_client_impl.h',
443 ]
444 }],
[email protected]9f6167c2012-03-16 02:28:17445 ['OS=="android"', {
[email protected]81bdab22013-09-02 21:12:52446 'sources!': [
447 'common/badge_util.cc',
[email protected]a56f8322014-07-16 21:13:55448 'common/chrome_version_info_posix.cc',
[email protected]81bdab22013-09-02 21:12:52449 'common/extensions/api/spellcheck/spellcheck_handler.cc',
rdevlin.croninba386052014-10-02 22:33:12450 'common/extensions/manifest_handlers/extension_action_handler.cc',
[email protected]81bdab22013-09-02 21:12:52451 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
[email protected]81bdab22013-09-02 21:12:52452 'common/icon_with_badge_image_source.cc',
[email protected]b46e7e92014-07-22 21:49:52453 'common/media_galleries/metadata_types.h',
[email protected]81bdab22013-09-02 21:12:52454 'common/net/url_util.cc',
[email protected]81bdab22013-09-02 21:12:52455 'common/spellcheck_common.cc',
456 ],
[email protected]b46e7e92014-07-22 21:49:52457 }, {
458 # Non-Android.
459 'sources': [ '<@(chrome_common_importer_sources)' ]
[email protected]9f6167c2012-03-16 02:28:17460 }],
[email protected]93156cec2011-09-12 21:14:44461 ['OS=="win"', {
462 'include_dirs': [
[email protected]27b38d62013-08-14 18:12:11463 '<(DEPTH)/breakpad/src',
[email protected]93156cec2011-09-12 21:14:44464 '<(DEPTH)/third_party/wtl/include',
[email protected]f65fdfc2013-03-05 21:56:04465 ],
[email protected]474a5a32014-07-28 18:23:24466 'dependencies': [
467 '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc.
468 ],
[email protected]ef777a42011-11-25 13:15:43469 }],
[email protected]c1cc0e02013-07-04 12:46:35470 ['enable_mdns == 1', {
471 'sources': [
[email protected]686e985e2013-07-18 22:04:56472 'common/local_discovery/local_discovery_messages.h',
[email protected]c1cc0e02013-07-04 12:46:35473 ]
474 }],
[email protected]b9bbf5532011-11-03 07:35:22475 ['OS=="mac"', {
476 'dependencies': [
[email protected]a023dca2013-12-18 03:58:36477 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
[email protected]b9bbf5532011-11-03 07:35:22478 '../third_party/mach_override/mach_override.gyp:mach_override',
479 ],
480 'include_dirs': [
[email protected]271e88fc2013-05-06 07:48:05481 '<(DEPTH)/breakpad/src',
[email protected]b9bbf5532011-11-03 07:35:22482 ],
[email protected]1f26b9a2012-02-28 00:29:38483 'sources!': [
[email protected]1f26b9a2012-02-28 00:29:38484 'common/chrome_version_info_posix.cc',
485 ],
[email protected]b9bbf5532011-11-03 07:35:22486 }],
487 ['remoting==1', {
488 'dependencies': [
489 '../remoting/remoting.gyp:remoting_client_plugin',
490 ],
491 }],
[email protected]6ef98b5a2013-05-31 23:58:31492 ['enable_webrtc==0', {
493 'sources!': [
494 'common/media/webrtc_logging_messages.h',
495 ]
496 }],
[email protected]991573e2013-12-16 13:49:20497 ['configuration_policy==1', {
498 'dependencies': [
499 '<(DEPTH)/components/components.gyp:policy',
500 ],
501 }],
[email protected]1e8205e82014-07-08 10:54:24502 ['safe_browsing==1', {
503 'defines': [ 'FULL_SAFE_BROWSING' ],
504 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
505 }],
506 ['safe_browsing==2', {
507 'defines': [ 'MOBILE_SAFE_BROWSING' ],
508 }],
[email protected]df5a2512014-07-11 03:21:17509 ['use_openssl==1', {
510 'sources!': [
511 'common/extensions/api/networking_private/networking_private_crypto_nss.cc',
512 ],
513 },
514 { # else !use_openssl
515 'sources!': [
516 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc',
517 ],
518 },
519 ],
[email protected]b9bbf5532011-11-03 07:35:22520 ],
[email protected]fdaed545c2012-10-20 19:13:04521 'target_conditions': [
522 ['OS == "ios"', {
523 'sources/': [
524 # Pull in specific Mac files for iOS (which have been filtered out
525 # by file name rules).
526 ['include', '^common/chrome_version_info_mac\\.mm$'],
527 ],
528 }],
529 ],
[email protected]b9bbf5532011-11-03 07:35:22530 'export_dependent_settings': [
531 '../base/base.gyp:base',
532 ],
533 },
534 {
[email protected]b46e7e92014-07-22 21:49:52535 # GN version: //chrome/common:version
[email protected]b9bbf5532011-11-03 07:35:22536 'target_name': 'common_version',
537 'type': 'none',
scottmg2e4625362014-10-07 02:09:46538 'direct_dependent_settings': {
539 'include_dirs': [
540 '<(SHARED_INTERMEDIATE_DIR)',
541 ],
542 },
543 # Because generate_version generates a header, we must set the
544 # hard_dependency flag.
545 'hard_dependency': 1,
546 'actions': [
547 {
548 'action_name': 'generate_version',
549 'variables': {
550 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
551 'version_py_path': '<(DEPTH)/build/util/version.py',
552 'version_path': 'VERSION',
553 'template_input_path': 'common/chrome_version_info_values.h.version',
[email protected]b9bbf5532011-11-03 07:35:22554 },
scottmg2e4625362014-10-07 02:09:46555 'conditions': [
556 [ 'branding == "Chrome"', {
[email protected]4641d3c2010-08-26 21:44:13557 'variables': {
scottmg2e4625362014-10-07 02:09:46558 'branding_path':
559 'app/theme/google_chrome/BRANDING',
[email protected]4641d3c2010-08-26 21:44:13560 },
scottmg2e4625362014-10-07 02:09:46561 }, { # else branding!="Chrome"
562 'variables': {
563 'branding_path':
564 'app/theme/chromium/BRANDING',
565 },
566 }],
[email protected]4641d3c2010-08-26 21:44:13567 ],
scottmg2e4625362014-10-07 02:09:46568 'inputs': [
569 '<(template_input_path)',
570 '<(version_path)',
571 '<(branding_path)',
572 '<(lastchange_path)',
573 ],
574 'outputs': [
575 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_values.h',
576 ],
577 'action': [
578 'python',
579 '<(version_py_path)',
580 '-f', '<(version_path)',
581 '-f', '<(branding_path)',
582 '-f', '<(lastchange_path)',
583 '<(template_input_path)',
584 '<@(_outputs)',
585 ],
586 'message': 'Generating version information',
587 },
[email protected]dd363682009-12-28 20:30:46588 ],
589 },
[email protected]3c3065d2010-05-06 21:59:55590 {
[email protected]b46e7e92014-07-22 21:49:52591 # GN version: //chrome/common/net
[email protected]3c3065d2010-05-06 21:59:55592 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53593 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55594 'sources': [
[email protected]2ea1efe2013-07-17 05:23:13595 'common/net/net_error_info.cc',
596 'common/net/net_error_info.h',
[email protected]06305962012-05-09 22:34:36597 'common/net/net_resource_provider.cc',
598 'common/net/net_resource_provider.h',
599 'common/net/predictor_common.h',
600 'common/net/url_util.cc',
601 'common/net/url_util.h',
[email protected]b1c2a5542010-10-08 12:44:40602 'common/net/x509_certificate_model.cc',
603 'common/net/x509_certificate_model_nss.cc',
604 'common/net/x509_certificate_model_openssl.cc',
605 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55606 ],
607 'dependencies': [
[email protected]37794d02011-11-30 18:24:29608 '<(DEPTH)/base/base.gyp:base',
609 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
610 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
611 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]37794d02011-11-30 18:24:29612 '<(DEPTH)/net/net.gyp:net_resources',
613 '<(DEPTH)/net/net.gyp:net',
614 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
615 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55616 ],
[email protected]b1c2a5542010-10-08 12:44:40617 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04618 ['OS != "ios"', {
619 'dependencies': [
620 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
621 ],
622 }, { # OS == ios
623 'sources!': [
624 'common/net/net_resource_provider.cc',
625 'common/net/x509_certificate_model.cc',
626 ],
627 }],
628 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30629 'dependencies': [
630 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40631 ],
632 },
[email protected]af221ff2012-04-03 05:22:39633 ],
[email protected]fdaed545c2012-10-20 19:13:04634 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
[email protected]b1c2a5542010-10-08 12:44:40635 'sources!': [
636 'common/net/x509_certificate_model_nss.cc',
637 'common/net/x509_certificate_model_openssl.cc',
638 ],
639 },
640 ],
[email protected]af221ff2012-04-03 05:22:39641 ['OS == "android"', {
642 'dependencies': [
[email protected]edfd0f42014-07-22 18:20:37643 '../third_party/boringssl/boringssl.gyp:boringssl',
[email protected]af221ff2012-04-03 05:22:39644 ],
[email protected]df2e196e2014-02-05 19:56:25645 'sources!': [
646 'common/net/x509_certificate_model.cc',
[email protected]b455eefa2014-05-26 04:02:31647 'common/net/x509_certificate_model_openssl.cc',
[email protected]df2e196e2014-02-05 19:56:25648 ],
649 }],
[email protected]b1c2a5542010-10-08 12:44:40650 ['use_openssl==1', {
651 'sources!': [
652 'common/net/x509_certificate_model_nss.cc',
653 ],
[email protected]9a81cb52014-08-12 02:56:54654 'dependencies': [
655 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
656 ],
[email protected]b1c2a5542010-10-08 12:44:40657 },
658 { # else !use_openssl: remove the unneeded files
659 'sources!': [
660 'common/net/x509_certificate_model_openssl.cc',
661 ],
662 },
663 ],
[email protected]b1d2c742013-01-21 18:04:52664 ['OS=="win"', {
665 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
666 'msvs_disabled_warnings': [4267, ],
667 },
668 ],
[email protected]129d11452012-03-01 01:56:56669 ],
[email protected]3c3065d2010-05-06 21:59:55670 },
[email protected]133139772011-04-14 22:14:13671 {
[email protected]1c20dd62011-08-19 21:54:33672 # Protobuf compiler / generator for the safebrowsing client
673 # model proto and the client-side detection (csd) request
674 # protocol buffer.
[email protected]77ce8022014-06-16 19:29:56675
676 # GN version: //chrome/common/safe_browsing:proto
[email protected]cae64fe2011-06-17 17:54:50677 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33678 'type': 'static_library',
679 'sources': [
680 'common/safe_browsing/client_model.proto',
[email protected]8e289f0b2013-12-17 17:49:07681 'common/safe_browsing/crx_info.proto',
[email protected]1c20dd62011-08-19 21:54:33682 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50683 ],
[email protected]1c20dd62011-08-19 21:54:33684 'variables': {
685 'proto_in_dir': 'common/safe_browsing',
686 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50687 },
[email protected]1c20dd62011-08-19 21:54:33688 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13689 },
[email protected]dd363682009-12-28 20:30:46690 ],
[email protected]dd363682009-12-28 20:30:46691}