blob: 2d8dfdde610c215463fb43dc0c2e009929082535 [file] [log] [blame]
[email protected]3a80ea332012-01-09 19:53:291# Copyright (c) 2012 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]dd363682009-12-28 20:30:466 'targets': [
7 {
8 'target_name': 'common',
[email protected]5a547332011-05-19 23:18:539 'type': 'static_library',
[email protected]dd363682009-12-28 20:30:4610 'variables': {
11 'chrome_common_target': 1,
[email protected]1cd90f72011-11-21 18:02:4412 # TODO(thakis): Turn this on. Blocked on g_log_function_mapping in
13 # ipc_message_macros.h. http://crbug.com/101600
14 #'enable_wexit_time_destructors': 1,
[email protected]dd363682009-12-28 20:30:4615 },
[email protected]93156cec2011-09-12 21:14:4416 'include_dirs': [
17 '..',
[email protected]b50368b2012-02-18 00:02:1318 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
[email protected]93156cec2011-09-12 21:14:4419 ],
[email protected]dd363682009-12-28 20:30:4620 'direct_dependent_settings': {
21 'include_dirs': [
22 '..',
23 ],
24 },
25 'dependencies': [
26 # TODO(gregoryd): chrome_resources and chrome_strings could be
27 # shared with the 64-bit target, but it does not work due to a gyp
28 # issue.
[email protected]dd363682009-12-28 20:30:4629 'common_constants',
[email protected]3c3065d2010-05-06 21:59:5530 'common_net',
[email protected]b9bbf5532011-11-03 07:35:2231 'common_version',
[email protected]7ae45d0502012-01-31 00:29:2632 'metrics_proto',
[email protected]37794d02011-11-30 18:24:2933 '<(DEPTH)/base/base.gyp:base',
34 '<(DEPTH)/base/base.gyp:base_i18n',
35 '<(DEPTH)/base/base.gyp:base_static',
36 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
37 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
38 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
39 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
40 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
[email protected]ae33d322012-03-19 22:24:3541 '<(DEPTH)/chrome/common/extensions/api/api.gyp:api',
[email protected]37794d02011-11-30 18:24:2942 '<(DEPTH)/content/content.gyp:content_common',
43 '<(DEPTH)/ipc/ipc.gyp:ipc',
44 '<(DEPTH)/net/net.gyp:net',
45 '<(DEPTH)/printing/printing.gyp:printing',
46 '<(DEPTH)/skia/skia.gyp:skia',
[email protected]b50368b2012-02-18 00:02:1347 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
[email protected]37794d02011-11-30 18:24:2948 '<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2',
49 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
50 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
51 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
52 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
53 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
54 '<(DEPTH)/ui/ui.gyp:ui_resources',
55 '<(DEPTH)/ui/ui.gyp:ui_resources_standard',
56 '<(DEPTH)/webkit/support/webkit_support.gyp:glue',
[email protected]dd363682009-12-28 20:30:4657 ],
58 'sources': [
[email protected]4a6d74152011-09-26 20:42:3059 'common/all_messages.h',
[email protected]93156cec2011-09-12 21:14:4460 'common/attrition_experiments.h',
61 'common/auto_start_linux.cc',
62 'common/auto_start_linux.h',
63 'common/autofill_messages.h',
[email protected]cdb8bc282010-11-22 19:23:0664 'common/automation_constants.cc',
65 'common/automation_constants.h',
[email protected]c54ab2332011-12-05 21:05:4266 'common/automation_id.cc',
67 'common/automation_id.h',
[email protected]cdb8bc282010-11-22 19:23:0668 'common/automation_messages.cc',
69 'common/automation_messages.h',
70 'common/automation_messages_internal.h',
71 'common/badge_util.cc',
72 'common/badge_util.h',
[email protected]23bb71f2011-04-21 22:22:1073 'common/bzip2_error_handler.cc',
[email protected]93156cec2011-09-12 21:14:4474 'common/child_process_logging.h',
[email protected]93156cec2011-09-12 21:14:4475 'common/child_process_logging_mac.mm',
[email protected]1f26b9a2012-02-28 00:29:3876 'common/child_process_logging_posix.cc',
[email protected]93156cec2011-09-12 21:14:4477 'common/child_process_logging_win.cc',
[email protected]50e52cd2011-03-10 00:57:2978 'common/chrome_content_client.cc',
79 'common/chrome_content_client.h',
[email protected]93156cec2011-09-12 21:14:4480 'common/chrome_notification_types.h',
[email protected]c530c852011-10-24 18:18:3481 'common/chrome_result_codes.h',
[email protected]dbd825842011-11-25 20:55:2482 'common/chrome_sandbox_type_mac.h',
[email protected]19a5c7442011-10-21 20:00:4183 'common/chrome_utility_messages.h',
[email protected]93156cec2011-09-12 21:14:4484 'common/chrome_version_info.cc',
[email protected]3a12f882011-12-14 06:39:2585 'common/chrome_version_info_chromeos.cc',
[email protected]1f26b9a2012-02-28 00:29:3886 'common/chrome_version_info_posix.cc',
[email protected]93156cec2011-09-12 21:14:4487 'common/chrome_version_info_mac.mm',
88 'common/chrome_version_info_win.cc',
89 'common/chrome_version_info.h',
[email protected]13aec6c42011-10-27 21:22:0890 'common/cloud_print/cloud_print_class_mac.h',
91 'common/cloud_print/cloud_print_class_mac.mm',
[email protected]b106ca52012-03-13 06:08:4692 'common/cloud_print/cloud_print_helpers.cc',
93 'common/cloud_print/cloud_print_helpers.h',
[email protected]de119cf22011-05-11 20:41:3594 'common/cloud_print/cloud_print_proxy_info.cc',
95 'common/cloud_print/cloud_print_proxy_info.h',
[email protected]fffaf972011-03-24 01:34:3596 'common/common_message_generator.cc',
97 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:0398 'common/common_param_traits.cc',
99 'common/common_param_traits.h',
[email protected]93156cec2011-09-12 21:14:44100 'common/content_settings.cc',
101 'common/content_settings.h',
102 'common/content_settings_helper.cc',
103 'common/content_settings_helper.h',
[email protected]1d03fa32011-09-21 08:19:27104 'common/content_settings_pattern.cc',
105 'common/content_settings_pattern.h',
106 'common/content_settings_pattern_parser.cc',
107 'common/content_settings_pattern_parser.h',
[email protected]93156cec2011-09-12 21:14:44108 'common/content_settings_types.h',
[email protected]083917c82011-07-13 00:34:35109 'common/custom_handlers/protocol_handler.cc',
110 'common/custom_handlers/protocol_handler.h',
[email protected]ee0be772011-12-02 08:02:10111 'common/extensions/csp_validator.cc',
112 'common/extensions/csp_validator.h',
[email protected]4df8ef12012-05-18 05:29:39113 'common/extensions/event_filter.cc',
114 'common/extensions/event_filter.h',
115 'common/extensions/event_filtering_info.cc',
116 'common/extensions/event_filtering_info.h',
117 'common/extensions/event_matcher.cc',
118 'common/extensions/event_matcher.h',
[email protected]dd363682009-12-28 20:30:46119 'common/extensions/extension.cc',
120 'common/extensions/extension.h',
[email protected]7c927b62010-02-24 09:54:13121 'common/extensions/extension_action.cc',
122 'common/extensions/extension_action.h',
[email protected]3fc5f6a2012-05-04 14:23:59123 'common/extensions/extension_commands.cc',
124 'common/extensions/extension_commands.h',
[email protected]dd363682009-12-28 20:30:46125 'common/extensions/extension_constants.cc',
126 'common/extensions/extension_constants.h',
[email protected]dd363682009-12-28 20:30:46127 'common/extensions/extension_error_utils.cc',
128 'common/extensions/extension_error_utils.h',
[email protected]7c927b62010-02-24 09:54:13129 'common/extensions/extension_file_util.cc',
130 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48131 'common/extensions/extension_icon_set.cc',
132 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46133 'common/extensions/extension_l10n_util.cc',
134 'common/extensions/extension_l10n_util.h',
[email protected]8a58f9a2010-05-18 18:38:09135 'common/extensions/extension_localization_peer.cc',
136 'common/extensions/extension_localization_peer.h',
[email protected]a52c0e92012-03-23 06:02:24137 'common/extensions/extension_manifest_constants.cc',
138 'common/extensions/extension_manifest_constants.h',
[email protected]dd363682009-12-28 20:30:46139 'common/extensions/extension_message_bundle.cc',
140 'common/extensions/extension_message_bundle.h',
[email protected]44c49c92011-03-28 16:17:23141 'common/extensions/extension_messages.cc',
142 'common/extensions/extension_messages.h',
[email protected]0d3e4a22011-06-23 19:02:52143 'common/extensions/extension_permission_set.cc',
144 'common/extensions/extension_permission_set.h',
[email protected]808d1512011-12-14 16:29:59145 'common/extensions/extension_process_policy.cc',
146 'common/extensions/extension_process_policy.h',
[email protected]dd363682009-12-28 20:30:46147 'common/extensions/extension_resource.cc',
148 'common/extensions/extension_resource.h',
[email protected]ec7db282011-01-29 01:11:36149 'common/extensions/extension_set.cc',
150 'common/extensions/extension_set.h',
[email protected]adcf0f02012-05-02 20:24:50151 'common/extensions/extension_switch_utils.cc',
152 'common/extensions/extension_switch_utils.h',
[email protected]dd363682009-12-28 20:30:46153 'common/extensions/extension_unpacker.cc',
154 'common/extensions/extension_unpacker.h',
[email protected]9cd8a1a2012-02-15 02:52:47155 'common/extensions/feature.cc',
156 'common/extensions/feature.h',
[email protected]5bc248a2012-04-04 23:38:11157 'common/extensions/feature_provider.h',
[email protected]b6b805e92011-04-16 09:24:14158 'common/extensions/file_browser_handler.cc',
[email protected]3381f172011-05-25 00:20:42159 'common/extensions/file_browser_handler.h',
[email protected]953620b2011-12-04 00:55:32160 'common/extensions/manifest.cc',
161 'common/extensions/manifest.h',
[email protected]5bc248a2012-04-04 23:38:11162 'common/extensions/manifest_feature.cc',
163 'common/extensions/manifest_feature.h',
[email protected]63f1a9e2012-05-09 12:51:00164 'common/extensions/matcher/substring_set_matcher.cc',
165 'common/extensions/matcher/substring_set_matcher.h',
166 'common/extensions/matcher/url_matcher.cc',
167 'common/extensions/matcher/url_matcher.h',
168 'common/extensions/matcher/url_matcher_constants.cc',
169 'common/extensions/matcher/url_matcher_constants.h',
170 'common/extensions/matcher/url_matcher_factory.cc',
171 'common/extensions/matcher/url_matcher_factory.h',
172 'common/extensions/matcher/url_matcher_helpers.cc',
173 'common/extensions/matcher/url_matcher_helpers.h',
[email protected]5bc248a2012-04-04 23:38:11174 'common/extensions/permission_feature.cc',
175 'common/extensions/permission_feature.h',
[email protected]ae655e4e2012-03-16 21:47:55176 'common/extensions/simple_feature_provider.cc',
177 'common/extensions/simple_feature_provider.h',
[email protected]dd363682009-12-28 20:30:46178 'common/extensions/update_manifest.cc',
179 'common/extensions/update_manifest.h',
180 'common/extensions/url_pattern.cc',
181 'common/extensions/url_pattern.h',
[email protected]cced75a2011-05-20 08:31:12182 'common/extensions/url_pattern_set.cc',
183 'common/extensions/url_pattern_set.h',
[email protected]dd363682009-12-28 20:30:46184 'common/extensions/user_script.cc',
185 'common/extensions/user_script.h',
[email protected]83820d42011-11-12 22:03:11186 'common/extensions/api/extension_api.cc',
187 'common/extensions/api/extension_api.h',
[email protected]93156cec2011-09-12 21:14:44188 'common/external_ipc_fuzzer.h',
189 'common/external_ipc_fuzzer.cc',
[email protected]ae4efe42011-04-18 21:28:05190 'common/favicon_url.cc',
191 'common/favicon_url.h',
[email protected]93156cec2011-09-12 21:14:44192 'common/guid.cc',
193 'common/guid.h',
194 'common/guid_posix.cc',
195 'common/guid_win.cc',
196 'common/icon_messages.h',
[email protected]6658ca82010-05-20 18:20:29197 'common/important_file_writer.cc',
198 'common/important_file_writer.h',
[email protected]93156cec2011-09-12 21:14:44199 'common/instant_types.h',
[email protected]ea587b02010-05-21 15:01:35200 'common/json_pref_store.cc',
201 'common/json_pref_store.h',
[email protected]639e6712010-11-11 22:21:43202 'common/json_schema_validator.cc',
203 'common/json_schema_validator.h',
[email protected]dd363682009-12-28 20:30:46204 'common/jstemplate_builder.cc',
205 'common/jstemplate_builder.h',
[email protected]93156cec2011-09-12 21:14:44206 'common/logging_chrome.cc',
207 'common/logging_chrome.h',
[email protected]46821242011-08-19 13:59:59208 'common/mac/app_mode_common.h',
209 'common/mac/app_mode_common.mm',
[email protected]00ecec52011-08-19 20:01:24210 'common/mac/cfbundle_blocker.h',
211 'common/mac/cfbundle_blocker.mm',
[email protected]46821242011-08-19 13:59:59212 'common/mac/launchd.h',
213 'common/mac/launchd.mm',
[email protected]d02437b2011-09-06 17:25:15214 'common/mac/objc_method_swizzle.h',
215 'common/mac/objc_method_swizzle.mm',
216 'common/mac/objc_zombie.h',
217 'common/mac/objc_zombie.mm',
[email protected]4cb3c1fc2012-04-05 07:23:48218 'common/metrics/experiments_helper.cc',
219 'common/metrics/experiments_helper.h',
[email protected]e182be02012-01-27 02:35:44220 'common/metrics/histogram_sender.cc',
221 'common/metrics/histogram_sender.h',
222 'common/metrics/metrics_log_base.cc',
223 'common/metrics/metrics_log_base.h',
[email protected]2e4cd1a2012-01-12 08:51:03224 'common/metrics/metrics_log_manager.cc',
225 'common/metrics/metrics_log_manager.h',
[email protected]e182be02012-01-27 02:35:44226 'common/metrics/metrics_service_base.cc',
227 'common/metrics/metrics_service_base.h',
[email protected]93156cec2011-09-12 21:14:44228 'common/multi_process_lock.h',
229 'common/multi_process_lock_linux.cc',
230 'common/multi_process_lock_mac.cc',
231 'common/multi_process_lock_win.cc',
232 'common/nacl_cmd_line.cc',
233 'common/nacl_cmd_line.h',
234 'common/nacl_messages.cc',
235 'common/nacl_messages.h',
[email protected]00d99542012-04-17 22:48:02236 'common/nacl_types.cc',
[email protected]93156cec2011-09-12 21:14:44237 'common/nacl_types.h',
[email protected]9b4f6082012-04-24 01:43:07238 'common/pepper_flash.cc',
239 'common/pepper_flash.h',
[email protected]f2d1f612010-12-09 15:10:17240 'common/persistent_pref_store.h',
[email protected]0f1afed2010-12-15 17:22:28241 'common/pref_store.cc',
[email protected]ce1850e92010-10-15 08:40:58242 'common/pref_store.h',
[email protected]b4bd67a2011-08-22 19:04:09243 'common/print_messages.cc',
[email protected]1375e3ab2011-03-24 17:07:22244 'common/print_messages.h',
[email protected]93156cec2011-09-12 21:14:44245 'common/profiling.cc',
246 'common/profiling.h',
[email protected]93156cec2011-09-12 21:14:44247 'common/ref_counted_util.h',
[email protected]7a4de7a62010-08-17 18:38:24248 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46249 'common/render_messages.h',
[email protected]93156cec2011-09-12 21:14:44250 'common/safe_browsing/safebrowsing_messages.h',
[email protected]c08e7932011-03-29 04:08:14251 'common/search_provider.h',
[email protected]38fe1962010-07-31 07:57:00252 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24253 'common/service_process_util.cc',
254 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36255 'common/service_process_util_linux.cc',
256 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04257 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36258 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04259 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46260 'common/spellcheck_common.cc',
261 'common/spellcheck_common.h',
[email protected]3e267192011-03-25 01:55:45262 'common/spellcheck_messages.h',
[email protected]7ed49c22012-02-17 02:14:53263 'common/spellcheck_result.h',
[email protected]e917a282011-10-27 14:35:38264 'common/string_ordinal.cc',
265 'common/string_ordinal.h',
[email protected]93156cec2011-09-12 21:14:44266 'common/switch_utils.cc',
267 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46268 'common/thumbnail_score.cc',
269 'common/thumbnail_score.h',
[email protected]93156cec2011-09-12 21:14:44270 'common/time_format.cc',
271 'common/time_format.h',
[email protected]dd363682009-12-28 20:30:46272 'common/url_constants.cc',
273 'common/url_constants.h',
[email protected]14afc012011-12-01 01:04:39274 'common/chrome_view_type.cc',
275 'common/chrome_view_type.h',
[email protected]dd363682009-12-28 20:30:46276 'common/visitedlink_common.cc',
277 'common/visitedlink_common.h',
[email protected]38789d82010-11-17 06:03:44278 'common/web_apps.cc',
279 'common/web_apps.h',
[email protected]cdb8bc282010-11-22 19:23:06280 'common/web_resource/web_resource_unpacker.cc',
281 'common/web_resource/web_resource_unpacker.h',
[email protected]dd363682009-12-28 20:30:46282 'common/worker_thread_ticker.cc',
283 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46284 'common/zip.cc', # Requires zlib directly.
285 'common/zip.h',
[email protected]79b2024f2011-11-09 19:32:12286 'common/zip_internal.cc',
287 'common/zip_internal.h',
[email protected]198e77822011-11-11 18:50:03288 'common/zip_reader.cc',
289 'common/zip_reader.h',
[email protected]dd363682009-12-28 20:30:46290 ],
291 'conditions': [
[email protected]9f6167c2012-03-16 02:28:17292 ['OS=="android"', {
293 'sources/': [
294 ['exclude', '^common/service_'],
295 ],
296 }],
[email protected]93156cec2011-09-12 21:14:44297 ['OS=="win"', {
298 'include_dirs': [
299 '<(DEPTH)/third_party/wtl/include',
[email protected]ef777a42011-11-25 13:15:43300 ]
301 }],
[email protected]cb5e5072011-05-19 21:49:41302 ['toolkit_uses_gtk == 1', {
[email protected]dd363682009-12-28 20:30:46303 'dependencies': [
304 '../build/linux/system.gyp:gtk',
305 ],
306 'export_dependent_settings': [
307 '../third_party/sqlite/sqlite.gyp:sqlite',
308 ],
309 'link_settings': {
310 'libraries': [
311 '-lX11',
312 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54313 '-lXss',
[email protected]dd363682009-12-28 20:30:46314 '-lXext',
315 ],
316 },
[email protected]0ce34852011-09-23 20:00:51317 }],
[email protected]b9bbf5532011-11-03 07:35:22318 ['OS=="linux" and selinux==1', {
319 'dependencies': [
320 '../build/linux/system.gyp:selinux',
[email protected]4641d3c2010-08-26 21:44:13321 ],
[email protected]b9bbf5532011-11-03 07:35:22322 }],
[email protected]3a12f882011-12-14 06:39:25323 ['chromeos==0', {
324 'sources!': [
325 'common/chrome_version_info_chromeos.cc',
326 ],
[email protected]129d11452012-03-01 01:56:56327 }, { # chromeos==1
[email protected]3a12f882011-12-14 06:39:25328 'sources!': [
329 'common/chrome_version_info_linux.cc',
330 ],
331 }],
[email protected]b9bbf5532011-11-03 07:35:22332 ['OS=="mac"', {
333 'dependencies': [
334 '../third_party/mach_override/mach_override.gyp:mach_override',
335 ],
336 'include_dirs': [
337 '../third_party/GTM',
338 ],
[email protected]1f26b9a2012-02-28 00:29:38339 'sources!': [
340 'common/child_process_logging_posix.cc',
341 'common/chrome_version_info_posix.cc',
342 ],
[email protected]b9bbf5532011-11-03 07:35:22343 }],
344 ['remoting==1', {
345 'dependencies': [
346 '../remoting/remoting.gyp:remoting_client_plugin',
347 ],
348 }],
349 ],
350 'export_dependent_settings': [
351 '../base/base.gyp:base',
[email protected]8a59a082012-03-07 02:27:30352 'metrics_proto',
[email protected]b9bbf5532011-11-03 07:35:22353 ],
354 },
355 {
356 'target_name': 'common_version',
357 'type': 'none',
358 'conditions': [
359 ['os_posix == 1 and OS != "mac"', {
360 'direct_dependent_settings': {
361 'include_dirs': [
362 '<(SHARED_INTERMEDIATE_DIR)',
363 ],
364 },
[email protected]79440c52010-08-27 22:53:02365 # Because posix_version generates a header, we must set the
366 # hard_dependency flag.
367 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13368 'actions': [
369 {
370 'action_name': 'posix_version',
371 'variables': {
372 'lastchange_path':
[email protected]9046a112012-01-31 20:45:25373 '<(DEPTH)/build/util/LASTCHANGE',
[email protected]4641d3c2010-08-26 21:44:13374 'version_py_path': 'tools/build/version.py',
375 'version_path': 'VERSION',
376 'template_input_path': 'common/chrome_version_info_posix.h.version',
377 },
378 'conditions': [
379 [ 'branding == "Chrome"', {
380 'variables': {
381 'branding_path':
382 'app/theme/google_chrome/BRANDING',
383 },
384 }, { # else branding!="Chrome"
385 'variables': {
386 'branding_path':
387 'app/theme/chromium/BRANDING',
388 },
389 }],
390 ],
391 'inputs': [
392 '<(template_input_path)',
393 '<(version_path)',
394 '<(branding_path)',
395 '<(lastchange_path)',
396 ],
397 'outputs': [
398 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
399 ],
400 'action': [
401 'python',
402 '<(version_py_path)',
403 '-f', '<(version_path)',
404 '-f', '<(branding_path)',
405 '-f', '<(lastchange_path)',
406 '<(template_input_path)',
407 '<@(_outputs)',
408 ],
409 'message': 'Generating version information',
410 },
411 ],
412 }],
[email protected]dd363682009-12-28 20:30:46413 ],
414 },
[email protected]3c3065d2010-05-06 21:59:55415 {
416 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53417 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55418 'sources': [
[email protected]d2f05d02011-01-27 18:51:01419 'common/net/gaia/gaia_auth_consumer.cc',
[email protected]a0e77042010-07-01 22:28:23420 'common/net/gaia/gaia_auth_consumer.h',
[email protected]1d8fe712010-11-10 22:47:26421 'common/net/gaia/gaia_auth_fetcher.cc',
422 'common/net/gaia/gaia_auth_fetcher.h',
[email protected]f3d01742010-05-07 02:53:55423 'common/net/gaia/gaia_authenticator.cc',
424 'common/net/gaia/gaia_authenticator.h',
[email protected]8fbfe662011-03-22 00:02:19425 'common/net/gaia/gaia_oauth_client.cc',
426 'common/net/gaia/gaia_oauth_client.h',
[email protected]63411a012011-06-15 19:14:24427 'common/net/gaia/gaia_urls.cc',
428 'common/net/gaia/gaia_urls.h',
[email protected]2b85b67a2011-02-10 23:41:40429 'common/net/gaia/google_service_auth_error.cc',
[email protected]99074c52010-08-19 18:44:19430 'common/net/gaia/google_service_auth_error.h',
[email protected]69c14c302011-06-19 23:40:35431 'common/net/gaia/oauth_request_signer.cc',
432 'common/net/gaia/oauth_request_signer.h',
[email protected]dda6d0d2011-11-24 02:49:46433 'common/net/gaia/oauth2_access_token_consumer.h',
434 'common/net/gaia/oauth2_access_token_fetcher.cc',
435 'common/net/gaia/oauth2_access_token_fetcher.h',
[email protected]944867f2012-03-30 22:20:55436 'common/net/gaia/oauth2_api_call_flow.cc',
437 'common/net/gaia/oauth2_api_call_flow.h',
[email protected]271398a2012-03-01 21:26:18438 'common/net/gaia/oauth2_mint_token_consumer.h',
439 'common/net/gaia/oauth2_mint_token_fetcher.cc',
440 'common/net/gaia/oauth2_mint_token_fetcher.h',
[email protected]f6c42592012-03-03 08:38:20441 'common/net/gaia/oauth2_mint_token_flow.cc',
442 'common/net/gaia/oauth2_mint_token_flow.h',
[email protected]992f31d2011-12-06 06:40:40443 'common/net/gaia/oauth2_revocation_consumer.h',
444 'common/net/gaia/oauth2_revocation_fetcher.cc',
445 'common/net/gaia/oauth2_revocation_fetcher.h',
[email protected]06305962012-05-09 22:34:36446 'common/net/net_resource_provider.cc',
447 'common/net/net_resource_provider.h',
448 'common/net/predictor_common.h',
449 'common/net/url_util.cc',
450 'common/net/url_util.h',
[email protected]b1c2a5542010-10-08 12:44:40451 'common/net/x509_certificate_model.cc',
452 'common/net/x509_certificate_model_nss.cc',
453 'common/net/x509_certificate_model_openssl.cc',
454 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55455 ],
456 'dependencies': [
[email protected]37794d02011-11-30 18:24:29457 '<(DEPTH)/base/base.gyp:base',
458 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
459 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
460 '<(DEPTH)/crypto/crypto.gyp:crypto',
461 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
462 '<(DEPTH)/net/net.gyp:net_resources',
463 '<(DEPTH)/net/net.gyp:net',
464 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
465 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55466 ],
[email protected]b1c2a5542010-10-08 12:44:40467 'conditions': [
[email protected]607eee02012-01-27 07:20:53468 ['os_posix == 1 and OS != "mac" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30469 'dependencies': [
470 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40471 ],
472 },
[email protected]af221ff2012-04-03 05:22:39473 ],
474 ['os_posix != 1 or OS == "mac"', {
[email protected]b1c2a5542010-10-08 12:44:40475 'sources!': [
476 'common/net/x509_certificate_model_nss.cc',
477 'common/net/x509_certificate_model_openssl.cc',
478 ],
479 },
480 ],
[email protected]af221ff2012-04-03 05:22:39481 ['OS == "android"', {
482 'dependencies': [
[email protected]8e853b142012-05-16 07:40:01483 '../third_party/openssl/openssl.gyp:openssl',
[email protected]af221ff2012-04-03 05:22:39484 ],
485 },
486 ],
[email protected]b1c2a5542010-10-08 12:44:40487 ['use_openssl==1', {
488 'sources!': [
489 'common/net/x509_certificate_model_nss.cc',
490 ],
491 },
492 { # else !use_openssl: remove the unneeded files
493 'sources!': [
494 'common/net/x509_certificate_model_openssl.cc',
495 ],
496 },
497 ],
[email protected]129d11452012-03-01 01:56:56498 ],
[email protected]3c3065d2010-05-06 21:59:55499 },
[email protected]133139772011-04-14 22:14:13500 {
[email protected]1c20dd62011-08-19 21:54:33501 # Protobuf compiler / generator for the safebrowsing client
502 # model proto and the client-side detection (csd) request
503 # protocol buffer.
[email protected]cae64fe2011-06-17 17:54:50504 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33505 'type': 'static_library',
506 'sources': [
507 'common/safe_browsing/client_model.proto',
508 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50509 ],
[email protected]1c20dd62011-08-19 21:54:33510 'variables': {
511 'proto_in_dir': 'common/safe_browsing',
512 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50513 },
[email protected]1c20dd62011-08-19 21:54:33514 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13515 },
[email protected]7ae45d0502012-01-31 00:29:26516 {
517 # Protobuf compiler / generator for UMA (User Metrics Analysis).
518 'target_name': 'metrics_proto',
519 'type': 'static_library',
520 'sources': [
[email protected]f89fdab12012-05-04 23:27:21521 'common/metrics/proto/chrome_experiments.proto',
[email protected]7ae45d0502012-01-31 00:29:26522 'common/metrics/proto/chrome_user_metrics_extension.proto',
523 'common/metrics/proto/histogram_event.proto',
524 'common/metrics/proto/omnibox_event.proto',
[email protected]2a08b1d2012-02-18 00:30:04525 'common/metrics/proto/profiler_event.proto',
[email protected]7ae45d0502012-01-31 00:29:26526 'common/metrics/proto/system_profile.proto',
527 'common/metrics/proto/user_action_event.proto',
528 ],
529 'variables': {
530 'proto_in_dir': 'common/metrics/proto',
531 'proto_out_dir': 'chrome/common/metrics/proto',
532 },
533 'includes': [ '../build/protoc.gypi' ],
534 },
[email protected]dd363682009-12-28 20:30:46535 ],
[email protected]dd363682009-12-28 20:30:46536}