blob: 50b7e6ba9291a2f21a3f0c134beab7b1683dfb7b [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',
41 '<(DEPTH)/content/content.gyp:content_common',
42 '<(DEPTH)/ipc/ipc.gyp:ipc',
43 '<(DEPTH)/net/net.gyp:net',
44 '<(DEPTH)/printing/printing.gyp:printing',
45 '<(DEPTH)/skia/skia.gyp:skia',
[email protected]b50368b2012-02-18 00:02:1346 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
[email protected]37794d02011-11-30 18:24:2947 '<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2',
48 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
49 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
50 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
51 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
52 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
53 '<(DEPTH)/ui/ui.gyp:ui_resources',
54 '<(DEPTH)/ui/ui.gyp:ui_resources_standard',
55 '<(DEPTH)/webkit/support/webkit_support.gyp:glue',
[email protected]dd363682009-12-28 20:30:4656 ],
57 'sources': [
[email protected]4a6d74152011-09-26 20:42:3058 'common/all_messages.h',
[email protected]93156cec2011-09-12 21:14:4459 'common/attrition_experiments.h',
60 'common/auto_start_linux.cc',
61 'common/auto_start_linux.h',
62 'common/autofill_messages.h',
[email protected]cdb8bc282010-11-22 19:23:0663 'common/automation_constants.cc',
64 'common/automation_constants.h',
[email protected]c54ab2332011-12-05 21:05:4265 'common/automation_id.cc',
66 'common/automation_id.h',
[email protected]cdb8bc282010-11-22 19:23:0667 'common/automation_messages.cc',
68 'common/automation_messages.h',
69 'common/automation_messages_internal.h',
70 'common/badge_util.cc',
71 'common/badge_util.h',
[email protected]23bb71f2011-04-21 22:22:1072 'common/bzip2_error_handler.cc',
[email protected]93156cec2011-09-12 21:14:4473 'common/child_process_logging.h',
[email protected]93156cec2011-09-12 21:14:4474 'common/child_process_logging_mac.mm',
[email protected]1f26b9a2012-02-28 00:29:3875 'common/child_process_logging_posix.cc',
[email protected]93156cec2011-09-12 21:14:4476 'common/child_process_logging_win.cc',
[email protected]50e52cd2011-03-10 00:57:2977 'common/chrome_content_client.cc',
78 'common/chrome_content_client.h',
[email protected]93156cec2011-09-12 21:14:4479 'common/chrome_notification_types.h',
[email protected]208d3b72011-08-31 22:35:1380 'common/chrome_plugin_messages.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]ceee7662011-05-12 21:06:0096 'common/common_api.h',
[email protected]fffaf972011-03-24 01:34:3597 'common/common_message_generator.cc',
98 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:0399 'common/common_param_traits.cc',
100 'common/common_param_traits.h',
[email protected]93156cec2011-09-12 21:14:44101 'common/content_settings.cc',
102 'common/content_settings.h',
103 'common/content_settings_helper.cc',
104 'common/content_settings_helper.h',
[email protected]1d03fa32011-09-21 08:19:27105 'common/content_settings_pattern.cc',
106 'common/content_settings_pattern.h',
107 'common/content_settings_pattern_parser.cc',
108 'common/content_settings_pattern_parser.h',
[email protected]93156cec2011-09-12 21:14:44109 'common/content_settings_types.h',
[email protected]083917c82011-07-13 00:34:35110 'common/custom_handlers/protocol_handler.cc',
111 'common/custom_handlers/protocol_handler.h',
[email protected]ee0be772011-12-02 08:02:10112 'common/extensions/csp_validator.cc',
113 'common/extensions/csp_validator.h',
[email protected]dd363682009-12-28 20:30:46114 'common/extensions/extension.cc',
115 'common/extensions/extension.h',
[email protected]7c927b62010-02-24 09:54:13116 'common/extensions/extension_action.cc',
117 'common/extensions/extension_action.h',
[email protected]dd363682009-12-28 20:30:46118 'common/extensions/extension_constants.cc',
119 'common/extensions/extension_constants.h',
[email protected]dd363682009-12-28 20:30:46120 'common/extensions/extension_error_utils.cc',
121 'common/extensions/extension_error_utils.h',
[email protected]7c927b62010-02-24 09:54:13122 'common/extensions/extension_file_util.cc',
123 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48124 'common/extensions/extension_icon_set.cc',
125 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46126 'common/extensions/extension_l10n_util.cc',
127 'common/extensions/extension_l10n_util.h',
[email protected]8a58f9a2010-05-18 18:38:09128 'common/extensions/extension_localization_peer.cc',
129 'common/extensions/extension_localization_peer.h',
[email protected]dd363682009-12-28 20:30:46130 'common/extensions/extension_message_bundle.cc',
131 'common/extensions/extension_message_bundle.h',
[email protected]44c49c92011-03-28 16:17:23132 'common/extensions/extension_messages.cc',
133 'common/extensions/extension_messages.h',
[email protected]0d3e4a22011-06-23 19:02:52134 'common/extensions/extension_permission_set.cc',
135 'common/extensions/extension_permission_set.h',
[email protected]808d1512011-12-14 16:29:59136 'common/extensions/extension_process_policy.cc',
137 'common/extensions/extension_process_policy.h',
[email protected]dd363682009-12-28 20:30:46138 'common/extensions/extension_resource.cc',
139 'common/extensions/extension_resource.h',
[email protected]ec7db282011-01-29 01:11:36140 'common/extensions/extension_set.cc',
141 'common/extensions/extension_set.h',
[email protected]dd363682009-12-28 20:30:46142 'common/extensions/extension_unpacker.cc',
143 'common/extensions/extension_unpacker.h',
[email protected]9cd8a1a2012-02-15 02:52:47144 'common/extensions/feature.cc',
145 'common/extensions/feature.h',
[email protected]b6b805e92011-04-16 09:24:14146 'common/extensions/file_browser_handler.cc',
[email protected]3381f172011-05-25 00:20:42147 'common/extensions/file_browser_handler.h',
[email protected]953620b2011-12-04 00:55:32148 'common/extensions/manifest.cc',
149 'common/extensions/manifest.h',
[email protected]d41e2152012-02-24 04:20:27150 'common/extensions/manifest_feature_provider.cc',
151 'common/extensions/manifest_feature_provider.h',
[email protected]dd363682009-12-28 20:30:46152 'common/extensions/update_manifest.cc',
153 'common/extensions/update_manifest.h',
154 'common/extensions/url_pattern.cc',
155 'common/extensions/url_pattern.h',
[email protected]cced75a2011-05-20 08:31:12156 'common/extensions/url_pattern_set.cc',
157 'common/extensions/url_pattern_set.h',
[email protected]dd363682009-12-28 20:30:46158 'common/extensions/user_script.cc',
159 'common/extensions/user_script.h',
[email protected]83820d42011-11-12 22:03:11160 'common/extensions/api/extension_api.cc',
161 'common/extensions/api/extension_api.h',
[email protected]93156cec2011-09-12 21:14:44162 'common/external_ipc_fuzzer.h',
163 'common/external_ipc_fuzzer.cc',
[email protected]ae4efe42011-04-18 21:28:05164 'common/favicon_url.cc',
165 'common/favicon_url.h',
[email protected]93156cec2011-09-12 21:14:44166 'common/guid.cc',
167 'common/guid.h',
168 'common/guid_posix.cc',
169 'common/guid_win.cc',
170 'common/icon_messages.h',
[email protected]6658ca82010-05-20 18:20:29171 'common/important_file_writer.cc',
172 'common/important_file_writer.h',
[email protected]93156cec2011-09-12 21:14:44173 'common/instant_types.h',
[email protected]ea587b02010-05-21 15:01:35174 'common/json_pref_store.cc',
175 'common/json_pref_store.h',
[email protected]639e6712010-11-11 22:21:43176 'common/json_schema_validator.cc',
177 'common/json_schema_validator.h',
[email protected]dd363682009-12-28 20:30:46178 'common/jstemplate_builder.cc',
179 'common/jstemplate_builder.h',
[email protected]93156cec2011-09-12 21:14:44180 'common/logging_chrome.cc',
181 'common/logging_chrome.h',
[email protected]46821242011-08-19 13:59:59182 'common/mac/app_mode_common.h',
183 'common/mac/app_mode_common.mm',
[email protected]00ecec52011-08-19 20:01:24184 'common/mac/cfbundle_blocker.h',
185 'common/mac/cfbundle_blocker.mm',
[email protected]46821242011-08-19 13:59:59186 'common/mac/launchd.h',
187 'common/mac/launchd.mm',
[email protected]d02437b2011-09-06 17:25:15188 'common/mac/objc_method_swizzle.h',
189 'common/mac/objc_method_swizzle.mm',
190 'common/mac/objc_zombie.h',
191 'common/mac/objc_zombie.mm',
[email protected]e182be02012-01-27 02:35:44192 'common/metrics/histogram_sender.cc',
193 'common/metrics/histogram_sender.h',
194 'common/metrics/metrics_log_base.cc',
195 'common/metrics/metrics_log_base.h',
[email protected]2e4cd1a2012-01-12 08:51:03196 'common/metrics/metrics_log_manager.cc',
197 'common/metrics/metrics_log_manager.h',
[email protected]e182be02012-01-27 02:35:44198 'common/metrics/metrics_service_base.cc',
199 'common/metrics/metrics_service_base.h',
[email protected]93156cec2011-09-12 21:14:44200 'common/multi_process_lock.h',
201 'common/multi_process_lock_linux.cc',
202 'common/multi_process_lock_mac.cc',
203 'common/multi_process_lock_win.cc',
204 'common/nacl_cmd_line.cc',
205 'common/nacl_cmd_line.h',
206 'common/nacl_messages.cc',
207 'common/nacl_messages.h',
208 'common/nacl_types.h',
[email protected]dd363682009-12-28 20:30:46209 'common/libxml_utils.cc',
210 'common/libxml_utils.h',
[email protected]f2d1f612010-12-09 15:10:17211 'common/persistent_pref_store.h',
[email protected]0f1afed2010-12-15 17:22:28212 'common/pref_store.cc',
[email protected]ce1850e92010-10-15 08:40:58213 'common/pref_store.h',
[email protected]b4bd67a2011-08-22 19:04:09214 'common/print_messages.cc',
[email protected]1375e3ab2011-03-24 17:07:22215 'common/print_messages.h',
[email protected]93156cec2011-09-12 21:14:44216 'common/profiling.cc',
217 'common/profiling.h',
[email protected]93156cec2011-09-12 21:14:44218 'common/ref_counted_util.h',
[email protected]7a4de7a62010-08-17 18:38:24219 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46220 'common/render_messages.h',
[email protected]93156cec2011-09-12 21:14:44221 'common/safe_browsing/safebrowsing_messages.h',
[email protected]c08e7932011-03-29 04:08:14222 'common/search_provider.h',
[email protected]38fe1962010-07-31 07:57:00223 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24224 'common/service_process_util.cc',
225 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36226 'common/service_process_util_linux.cc',
227 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04228 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36229 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04230 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46231 'common/spellcheck_common.cc',
232 'common/spellcheck_common.h',
[email protected]3e267192011-03-25 01:55:45233 'common/spellcheck_messages.h',
[email protected]7ed49c22012-02-17 02:14:53234 'common/spellcheck_result.h',
[email protected]e917a282011-10-27 14:35:38235 'common/string_ordinal.cc',
236 'common/string_ordinal.h',
[email protected]93156cec2011-09-12 21:14:44237 'common/switch_utils.cc',
238 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46239 'common/thumbnail_score.cc',
240 'common/thumbnail_score.h',
[email protected]93156cec2011-09-12 21:14:44241 'common/time_format.cc',
242 'common/time_format.h',
[email protected]dd363682009-12-28 20:30:46243 'common/url_constants.cc',
244 'common/url_constants.h',
[email protected]14afc012011-12-01 01:04:39245 'common/chrome_view_type.cc',
246 'common/chrome_view_type.h',
[email protected]dd363682009-12-28 20:30:46247 'common/visitedlink_common.cc',
248 'common/visitedlink_common.h',
[email protected]38789d82010-11-17 06:03:44249 'common/web_apps.cc',
250 'common/web_apps.h',
[email protected]cdb8bc282010-11-22 19:23:06251 'common/web_resource/web_resource_unpacker.cc',
252 'common/web_resource/web_resource_unpacker.h',
[email protected]dd363682009-12-28 20:30:46253 'common/worker_thread_ticker.cc',
254 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46255 'common/zip.cc', # Requires zlib directly.
256 'common/zip.h',
[email protected]79b2024f2011-11-09 19:32:12257 'common/zip_internal.cc',
258 'common/zip_internal.h',
[email protected]198e77822011-11-11 18:50:03259 'common/zip_reader.cc',
260 'common/zip_reader.h',
[email protected]dd363682009-12-28 20:30:46261 ],
262 'conditions': [
[email protected]9f6167c2012-03-16 02:28:17263 ['OS=="android"', {
264 'sources/': [
265 ['exclude', '^common/service_'],
266 ],
267 }],
[email protected]93156cec2011-09-12 21:14:44268 ['OS=="win"', {
269 'include_dirs': [
270 '<(DEPTH)/third_party/wtl/include',
[email protected]ef777a42011-11-25 13:15:43271 ]
272 }],
[email protected]cb5e5072011-05-19 21:49:41273 ['toolkit_uses_gtk == 1', {
[email protected]dd363682009-12-28 20:30:46274 'dependencies': [
275 '../build/linux/system.gyp:gtk',
276 ],
277 'export_dependent_settings': [
278 '../third_party/sqlite/sqlite.gyp:sqlite',
279 ],
280 'link_settings': {
281 'libraries': [
282 '-lX11',
283 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54284 '-lXss',
[email protected]dd363682009-12-28 20:30:46285 '-lXext',
286 ],
287 },
[email protected]0ce34852011-09-23 20:00:51288 }],
[email protected]b9bbf5532011-11-03 07:35:22289 ['OS=="linux" and selinux==1', {
290 'dependencies': [
291 '../build/linux/system.gyp:selinux',
[email protected]4641d3c2010-08-26 21:44:13292 ],
[email protected]b9bbf5532011-11-03 07:35:22293 }],
[email protected]3a12f882011-12-14 06:39:25294 ['chromeos==0', {
295 'sources!': [
296 'common/chrome_version_info_chromeos.cc',
297 ],
[email protected]129d11452012-03-01 01:56:56298 }, { # chromeos==1
[email protected]3a12f882011-12-14 06:39:25299 'sources!': [
300 'common/chrome_version_info_linux.cc',
301 ],
302 }],
[email protected]b9bbf5532011-11-03 07:35:22303 ['OS=="mac"', {
304 'dependencies': [
305 '../third_party/mach_override/mach_override.gyp:mach_override',
306 ],
307 'include_dirs': [
308 '../third_party/GTM',
309 ],
[email protected]1f26b9a2012-02-28 00:29:38310 'sources!': [
311 'common/child_process_logging_posix.cc',
312 'common/chrome_version_info_posix.cc',
313 ],
[email protected]b9bbf5532011-11-03 07:35:22314 }],
315 ['remoting==1', {
316 'dependencies': [
317 '../remoting/remoting.gyp:remoting_client_plugin',
318 ],
319 }],
320 ],
321 'export_dependent_settings': [
322 '../base/base.gyp:base',
[email protected]8a59a082012-03-07 02:27:30323 'metrics_proto',
[email protected]b9bbf5532011-11-03 07:35:22324 ],
325 },
326 {
327 'target_name': 'common_version',
328 'type': 'none',
329 'conditions': [
330 ['os_posix == 1 and OS != "mac"', {
331 'direct_dependent_settings': {
332 'include_dirs': [
333 '<(SHARED_INTERMEDIATE_DIR)',
334 ],
335 },
[email protected]79440c52010-08-27 22:53:02336 # Because posix_version generates a header, we must set the
337 # hard_dependency flag.
338 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13339 'actions': [
340 {
341 'action_name': 'posix_version',
342 'variables': {
343 'lastchange_path':
[email protected]9046a112012-01-31 20:45:25344 '<(DEPTH)/build/util/LASTCHANGE',
[email protected]4641d3c2010-08-26 21:44:13345 'version_py_path': 'tools/build/version.py',
346 'version_path': 'VERSION',
347 'template_input_path': 'common/chrome_version_info_posix.h.version',
348 },
349 'conditions': [
350 [ 'branding == "Chrome"', {
351 'variables': {
352 'branding_path':
353 'app/theme/google_chrome/BRANDING',
354 },
355 }, { # else branding!="Chrome"
356 'variables': {
357 'branding_path':
358 'app/theme/chromium/BRANDING',
359 },
360 }],
361 ],
362 'inputs': [
363 '<(template_input_path)',
364 '<(version_path)',
365 '<(branding_path)',
366 '<(lastchange_path)',
367 ],
368 'outputs': [
369 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
370 ],
371 'action': [
372 'python',
373 '<(version_py_path)',
374 '-f', '<(version_path)',
375 '-f', '<(branding_path)',
376 '-f', '<(lastchange_path)',
377 '<(template_input_path)',
378 '<@(_outputs)',
379 ],
380 'message': 'Generating version information',
381 },
382 ],
383 }],
[email protected]dd363682009-12-28 20:30:46384 ],
385 },
[email protected]3c3065d2010-05-06 21:59:55386 {
387 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53388 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55389 'sources': [
[email protected]3c3065d2010-05-06 21:59:55390 'common/net/net_resource_provider.cc',
391 'common/net/net_resource_provider.h',
[email protected]3530cd92010-06-27 06:22:01392 'common/net/predictor_common.h',
[email protected]d2f05d02011-01-27 18:51:01393 'common/net/gaia/gaia_auth_consumer.cc',
[email protected]a0e77042010-07-01 22:28:23394 'common/net/gaia/gaia_auth_consumer.h',
[email protected]1d8fe712010-11-10 22:47:26395 'common/net/gaia/gaia_auth_fetcher.cc',
396 'common/net/gaia/gaia_auth_fetcher.h',
[email protected]f3d01742010-05-07 02:53:55397 'common/net/gaia/gaia_authenticator.cc',
398 'common/net/gaia/gaia_authenticator.h',
[email protected]8fbfe662011-03-22 00:02:19399 'common/net/gaia/gaia_oauth_client.cc',
400 'common/net/gaia/gaia_oauth_client.h',
[email protected]63411a012011-06-15 19:14:24401 'common/net/gaia/gaia_urls.cc',
402 'common/net/gaia/gaia_urls.h',
[email protected]2b85b67a2011-02-10 23:41:40403 'common/net/gaia/google_service_auth_error.cc',
[email protected]99074c52010-08-19 18:44:19404 'common/net/gaia/google_service_auth_error.h',
[email protected]69c14c302011-06-19 23:40:35405 'common/net/gaia/oauth_request_signer.cc',
406 'common/net/gaia/oauth_request_signer.h',
[email protected]dda6d0d2011-11-24 02:49:46407 'common/net/gaia/oauth2_access_token_consumer.h',
408 'common/net/gaia/oauth2_access_token_fetcher.cc',
409 'common/net/gaia/oauth2_access_token_fetcher.h',
[email protected]271398a2012-03-01 21:26:18410 'common/net/gaia/oauth2_mint_token_consumer.h',
411 'common/net/gaia/oauth2_mint_token_fetcher.cc',
412 'common/net/gaia/oauth2_mint_token_fetcher.h',
[email protected]f6c42592012-03-03 08:38:20413 'common/net/gaia/oauth2_mint_token_flow.cc',
414 'common/net/gaia/oauth2_mint_token_flow.h',
[email protected]992f31d2011-12-06 06:40:40415 'common/net/gaia/oauth2_revocation_consumer.h',
416 'common/net/gaia/oauth2_revocation_fetcher.cc',
417 'common/net/gaia/oauth2_revocation_fetcher.h',
[email protected]b1c2a5542010-10-08 12:44:40418 'common/net/x509_certificate_model.cc',
419 'common/net/x509_certificate_model_nss.cc',
420 'common/net/x509_certificate_model_openssl.cc',
421 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55422 ],
423 'dependencies': [
[email protected]37794d02011-11-30 18:24:29424 '<(DEPTH)/base/base.gyp:base',
425 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
426 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
427 '<(DEPTH)/crypto/crypto.gyp:crypto',
428 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
429 '<(DEPTH)/net/net.gyp:net_resources',
430 '<(DEPTH)/net/net.gyp:net',
431 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
432 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55433 ],
[email protected]b1c2a5542010-10-08 12:44:40434 'conditions': [
[email protected]607eee02012-01-27 07:20:53435 ['os_posix == 1 and OS != "mac" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30436 'dependencies': [
437 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40438 ],
439 },
440 { # else: OS is not in the above list
441 'sources!': [
442 'common/net/x509_certificate_model_nss.cc',
443 'common/net/x509_certificate_model_openssl.cc',
444 ],
445 },
446 ],
447 ['use_openssl==1', {
448 'sources!': [
449 'common/net/x509_certificate_model_nss.cc',
450 ],
451 },
452 { # else !use_openssl: remove the unneeded files
453 'sources!': [
454 'common/net/x509_certificate_model_openssl.cc',
455 ],
456 },
457 ],
[email protected]129d11452012-03-01 01:56:56458 ],
[email protected]3c3065d2010-05-06 21:59:55459 },
[email protected]133139772011-04-14 22:14:13460 {
[email protected]1c20dd62011-08-19 21:54:33461 # Protobuf compiler / generator for the safebrowsing client
462 # model proto and the client-side detection (csd) request
463 # protocol buffer.
[email protected]cae64fe2011-06-17 17:54:50464 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33465 'type': 'static_library',
466 'sources': [
467 'common/safe_browsing/client_model.proto',
468 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50469 ],
[email protected]1c20dd62011-08-19 21:54:33470 'variables': {
471 'proto_in_dir': 'common/safe_browsing',
472 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50473 },
[email protected]1c20dd62011-08-19 21:54:33474 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13475 },
[email protected]7ae45d0502012-01-31 00:29:26476 {
477 # Protobuf compiler / generator for UMA (User Metrics Analysis).
478 'target_name': 'metrics_proto',
479 'type': 'static_library',
480 'sources': [
481 'common/metrics/proto/chrome_user_metrics_extension.proto',
482 'common/metrics/proto/histogram_event.proto',
483 'common/metrics/proto/omnibox_event.proto',
[email protected]2a08b1d2012-02-18 00:30:04484 'common/metrics/proto/profiler_event.proto',
[email protected]7ae45d0502012-01-31 00:29:26485 'common/metrics/proto/system_profile.proto',
486 'common/metrics/proto/user_action_event.proto',
487 ],
488 'variables': {
489 'proto_in_dir': 'common/metrics/proto',
490 'proto_out_dir': 'chrome/common/metrics/proto',
491 },
492 'includes': [ '../build/protoc.gypi' ],
493 },
[email protected]dd363682009-12-28 20:30:46494 ],
[email protected]dd363682009-12-28 20:30:46495}