blob: 991e8632f1b0ff213eba60a752f09a1d87a85c1c [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]de119cf22011-05-11 20:41:3592 'common/cloud_print/cloud_print_proxy_info.cc',
93 'common/cloud_print/cloud_print_proxy_info.h',
[email protected]ceee7662011-05-12 21:06:0094 'common/common_api.h',
[email protected]fffaf972011-03-24 01:34:3595 'common/common_message_generator.cc',
96 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:0397 'common/common_param_traits.cc',
98 'common/common_param_traits.h',
[email protected]93156cec2011-09-12 21:14:4499 'common/content_settings.cc',
100 'common/content_settings.h',
101 'common/content_settings_helper.cc',
102 'common/content_settings_helper.h',
[email protected]1d03fa32011-09-21 08:19:27103 'common/content_settings_pattern.cc',
104 'common/content_settings_pattern.h',
105 'common/content_settings_pattern_parser.cc',
106 'common/content_settings_pattern_parser.h',
[email protected]93156cec2011-09-12 21:14:44107 'common/content_settings_types.h',
[email protected]083917c82011-07-13 00:34:35108 'common/custom_handlers/protocol_handler.cc',
109 'common/custom_handlers/protocol_handler.h',
[email protected]ee0be772011-12-02 08:02:10110 'common/extensions/csp_validator.cc',
111 'common/extensions/csp_validator.h',
[email protected]dd363682009-12-28 20:30:46112 'common/extensions/extension.cc',
113 'common/extensions/extension.h',
[email protected]7c927b62010-02-24 09:54:13114 'common/extensions/extension_action.cc',
115 'common/extensions/extension_action.h',
[email protected]dd363682009-12-28 20:30:46116 'common/extensions/extension_constants.cc',
117 'common/extensions/extension_constants.h',
[email protected]dd363682009-12-28 20:30:46118 'common/extensions/extension_error_utils.cc',
119 'common/extensions/extension_error_utils.h',
[email protected]7c927b62010-02-24 09:54:13120 'common/extensions/extension_file_util.cc',
121 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48122 'common/extensions/extension_icon_set.cc',
123 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46124 'common/extensions/extension_l10n_util.cc',
125 'common/extensions/extension_l10n_util.h',
[email protected]8a58f9a2010-05-18 18:38:09126 'common/extensions/extension_localization_peer.cc',
127 'common/extensions/extension_localization_peer.h',
[email protected]dd363682009-12-28 20:30:46128 'common/extensions/extension_message_bundle.cc',
129 'common/extensions/extension_message_bundle.h',
[email protected]44c49c92011-03-28 16:17:23130 'common/extensions/extension_messages.cc',
131 'common/extensions/extension_messages.h',
[email protected]0d3e4a22011-06-23 19:02:52132 'common/extensions/extension_permission_set.cc',
133 'common/extensions/extension_permission_set.h',
[email protected]808d1512011-12-14 16:29:59134 'common/extensions/extension_process_policy.cc',
135 'common/extensions/extension_process_policy.h',
[email protected]dd363682009-12-28 20:30:46136 'common/extensions/extension_resource.cc',
137 'common/extensions/extension_resource.h',
[email protected]ec7db282011-01-29 01:11:36138 'common/extensions/extension_set.cc',
139 'common/extensions/extension_set.h',
[email protected]dd363682009-12-28 20:30:46140 'common/extensions/extension_unpacker.cc',
141 'common/extensions/extension_unpacker.h',
[email protected]9cd8a1a2012-02-15 02:52:47142 'common/extensions/feature.cc',
143 'common/extensions/feature.h',
[email protected]b6b805e92011-04-16 09:24:14144 'common/extensions/file_browser_handler.cc',
[email protected]3381f172011-05-25 00:20:42145 'common/extensions/file_browser_handler.h',
[email protected]953620b2011-12-04 00:55:32146 'common/extensions/manifest.cc',
147 'common/extensions/manifest.h',
[email protected]d41e2152012-02-24 04:20:27148 'common/extensions/manifest_feature_provider.cc',
149 'common/extensions/manifest_feature_provider.h',
[email protected]dd363682009-12-28 20:30:46150 'common/extensions/update_manifest.cc',
151 'common/extensions/update_manifest.h',
152 'common/extensions/url_pattern.cc',
153 'common/extensions/url_pattern.h',
[email protected]cced75a2011-05-20 08:31:12154 'common/extensions/url_pattern_set.cc',
155 'common/extensions/url_pattern_set.h',
[email protected]dd363682009-12-28 20:30:46156 'common/extensions/user_script.cc',
157 'common/extensions/user_script.h',
[email protected]83820d42011-11-12 22:03:11158 'common/extensions/api/extension_api.cc',
159 'common/extensions/api/extension_api.h',
[email protected]93156cec2011-09-12 21:14:44160 'common/external_ipc_fuzzer.h',
161 'common/external_ipc_fuzzer.cc',
[email protected]ae4efe42011-04-18 21:28:05162 'common/favicon_url.cc',
163 'common/favicon_url.h',
[email protected]93156cec2011-09-12 21:14:44164 'common/guid.cc',
165 'common/guid.h',
166 'common/guid_posix.cc',
167 'common/guid_win.cc',
168 'common/icon_messages.h',
[email protected]6658ca82010-05-20 18:20:29169 'common/important_file_writer.cc',
170 'common/important_file_writer.h',
[email protected]93156cec2011-09-12 21:14:44171 'common/instant_types.h',
[email protected]ea587b02010-05-21 15:01:35172 'common/json_pref_store.cc',
173 'common/json_pref_store.h',
[email protected]639e6712010-11-11 22:21:43174 'common/json_schema_validator.cc',
175 'common/json_schema_validator.h',
[email protected]dd363682009-12-28 20:30:46176 'common/jstemplate_builder.cc',
177 'common/jstemplate_builder.h',
[email protected]93156cec2011-09-12 21:14:44178 'common/logging_chrome.cc',
179 'common/logging_chrome.h',
[email protected]46821242011-08-19 13:59:59180 'common/mac/app_mode_common.h',
181 'common/mac/app_mode_common.mm',
[email protected]00ecec52011-08-19 20:01:24182 'common/mac/cfbundle_blocker.h',
183 'common/mac/cfbundle_blocker.mm',
[email protected]46821242011-08-19 13:59:59184 'common/mac/launchd.h',
185 'common/mac/launchd.mm',
[email protected]d02437b2011-09-06 17:25:15186 'common/mac/objc_method_swizzle.h',
187 'common/mac/objc_method_swizzle.mm',
188 'common/mac/objc_zombie.h',
189 'common/mac/objc_zombie.mm',
[email protected]e182be02012-01-27 02:35:44190 'common/metrics/histogram_sender.cc',
191 'common/metrics/histogram_sender.h',
192 'common/metrics/metrics_log_base.cc',
193 'common/metrics/metrics_log_base.h',
[email protected]2e4cd1a2012-01-12 08:51:03194 'common/metrics/metrics_log_manager.cc',
195 'common/metrics/metrics_log_manager.h',
[email protected]e182be02012-01-27 02:35:44196 'common/metrics/metrics_service_base.cc',
197 'common/metrics/metrics_service_base.h',
[email protected]93156cec2011-09-12 21:14:44198 'common/multi_process_lock.h',
199 'common/multi_process_lock_linux.cc',
200 'common/multi_process_lock_mac.cc',
201 'common/multi_process_lock_win.cc',
202 'common/nacl_cmd_line.cc',
203 'common/nacl_cmd_line.h',
204 'common/nacl_messages.cc',
205 'common/nacl_messages.h',
206 'common/nacl_types.h',
[email protected]dd363682009-12-28 20:30:46207 'common/libxml_utils.cc',
208 'common/libxml_utils.h',
[email protected]f2d1f612010-12-09 15:10:17209 'common/persistent_pref_store.h',
[email protected]0f1afed2010-12-15 17:22:28210 'common/pref_store.cc',
[email protected]ce1850e92010-10-15 08:40:58211 'common/pref_store.h',
[email protected]b4bd67a2011-08-22 19:04:09212 'common/print_messages.cc',
[email protected]1375e3ab2011-03-24 17:07:22213 'common/print_messages.h',
[email protected]93156cec2011-09-12 21:14:44214 'common/profiling.cc',
215 'common/profiling.h',
[email protected]93156cec2011-09-12 21:14:44216 'common/ref_counted_util.h',
[email protected]7a4de7a62010-08-17 18:38:24217 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46218 'common/render_messages.h',
[email protected]93156cec2011-09-12 21:14:44219 'common/safe_browsing/safebrowsing_messages.h',
[email protected]c08e7932011-03-29 04:08:14220 'common/search_provider.h',
[email protected]38fe1962010-07-31 07:57:00221 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24222 'common/service_process_util.cc',
223 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36224 'common/service_process_util_linux.cc',
225 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04226 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36227 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04228 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46229 'common/spellcheck_common.cc',
230 'common/spellcheck_common.h',
[email protected]3e267192011-03-25 01:55:45231 'common/spellcheck_messages.h',
[email protected]7ed49c22012-02-17 02:14:53232 'common/spellcheck_result.h',
[email protected]e917a282011-10-27 14:35:38233 'common/string_ordinal.cc',
234 'common/string_ordinal.h',
[email protected]93156cec2011-09-12 21:14:44235 'common/switch_utils.cc',
236 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46237 'common/thumbnail_score.cc',
238 'common/thumbnail_score.h',
[email protected]93156cec2011-09-12 21:14:44239 'common/time_format.cc',
240 'common/time_format.h',
[email protected]dd363682009-12-28 20:30:46241 'common/url_constants.cc',
242 'common/url_constants.h',
[email protected]14afc012011-12-01 01:04:39243 'common/chrome_view_type.cc',
244 'common/chrome_view_type.h',
[email protected]dd363682009-12-28 20:30:46245 'common/visitedlink_common.cc',
246 'common/visitedlink_common.h',
[email protected]38789d82010-11-17 06:03:44247 'common/web_apps.cc',
248 'common/web_apps.h',
[email protected]cdb8bc282010-11-22 19:23:06249 'common/web_resource/web_resource_unpacker.cc',
250 'common/web_resource/web_resource_unpacker.h',
[email protected]dd363682009-12-28 20:30:46251 'common/worker_thread_ticker.cc',
252 'common/worker_thread_ticker.h',
[email protected]dd363682009-12-28 20:30:46253 'common/zip.cc', # Requires zlib directly.
254 'common/zip.h',
[email protected]79b2024f2011-11-09 19:32:12255 'common/zip_internal.cc',
256 'common/zip_internal.h',
[email protected]198e77822011-11-11 18:50:03257 'common/zip_reader.cc',
258 'common/zip_reader.h',
[email protected]dd363682009-12-28 20:30:46259 ],
260 'conditions': [
[email protected]93156cec2011-09-12 21:14:44261 ['OS=="win"', {
262 'include_dirs': [
263 '<(DEPTH)/third_party/wtl/include',
[email protected]ef777a42011-11-25 13:15:43264 ]
265 }],
[email protected]cb5e5072011-05-19 21:49:41266 ['toolkit_uses_gtk == 1', {
[email protected]dd363682009-12-28 20:30:46267 'dependencies': [
268 '../build/linux/system.gyp:gtk',
269 ],
270 'export_dependent_settings': [
271 '../third_party/sqlite/sqlite.gyp:sqlite',
272 ],
273 'link_settings': {
274 'libraries': [
275 '-lX11',
276 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54277 '-lXss',
[email protected]dd363682009-12-28 20:30:46278 '-lXext',
279 ],
280 },
[email protected]0ce34852011-09-23 20:00:51281 }],
[email protected]b9bbf5532011-11-03 07:35:22282 ['OS=="linux" and selinux==1', {
283 'dependencies': [
284 '../build/linux/system.gyp:selinux',
[email protected]4641d3c2010-08-26 21:44:13285 ],
[email protected]b9bbf5532011-11-03 07:35:22286 }],
[email protected]3a12f882011-12-14 06:39:25287 ['chromeos==0', {
288 'sources!': [
289 'common/chrome_version_info_chromeos.cc',
290 ],
291 }, {
292 'sources!': [
293 'common/chrome_version_info_linux.cc',
294 ],
295 }],
[email protected]b9bbf5532011-11-03 07:35:22296 ['OS=="mac"', {
297 'dependencies': [
298 '../third_party/mach_override/mach_override.gyp:mach_override',
299 ],
300 'include_dirs': [
301 '../third_party/GTM',
302 ],
[email protected]1f26b9a2012-02-28 00:29:38303 'sources!': [
304 'common/child_process_logging_posix.cc',
305 'common/chrome_version_info_posix.cc',
306 ],
[email protected]b9bbf5532011-11-03 07:35:22307 }],
308 ['remoting==1', {
309 'dependencies': [
310 '../remoting/remoting.gyp:remoting_client_plugin',
311 ],
312 }],
313 ],
314 'export_dependent_settings': [
315 '../base/base.gyp:base',
316 ],
317 },
318 {
319 'target_name': 'common_version',
320 'type': 'none',
321 'conditions': [
322 ['os_posix == 1 and OS != "mac"', {
323 'direct_dependent_settings': {
324 'include_dirs': [
325 '<(SHARED_INTERMEDIATE_DIR)',
326 ],
327 },
[email protected]79440c52010-08-27 22:53:02328 # Because posix_version generates a header, we must set the
329 # hard_dependency flag.
330 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13331 'actions': [
332 {
333 'action_name': 'posix_version',
334 'variables': {
335 'lastchange_path':
[email protected]9046a112012-01-31 20:45:25336 '<(DEPTH)/build/util/LASTCHANGE',
[email protected]4641d3c2010-08-26 21:44:13337 'version_py_path': 'tools/build/version.py',
338 'version_path': 'VERSION',
339 'template_input_path': 'common/chrome_version_info_posix.h.version',
340 },
341 'conditions': [
342 [ 'branding == "Chrome"', {
343 'variables': {
344 'branding_path':
345 'app/theme/google_chrome/BRANDING',
346 },
347 }, { # else branding!="Chrome"
348 'variables': {
349 'branding_path':
350 'app/theme/chromium/BRANDING',
351 },
352 }],
353 ],
354 'inputs': [
355 '<(template_input_path)',
356 '<(version_path)',
357 '<(branding_path)',
358 '<(lastchange_path)',
359 ],
360 'outputs': [
361 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
362 ],
363 'action': [
364 'python',
365 '<(version_py_path)',
366 '-f', '<(version_path)',
367 '-f', '<(branding_path)',
368 '-f', '<(lastchange_path)',
369 '<(template_input_path)',
370 '<@(_outputs)',
371 ],
372 'message': 'Generating version information',
373 },
374 ],
375 }],
[email protected]dd363682009-12-28 20:30:46376 ],
377 },
[email protected]3c3065d2010-05-06 21:59:55378 {
379 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53380 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55381 'sources': [
[email protected]3c3065d2010-05-06 21:59:55382 'common/net/net_resource_provider.cc',
383 'common/net/net_resource_provider.h',
[email protected]3530cd92010-06-27 06:22:01384 'common/net/predictor_common.h',
[email protected]d2f05d02011-01-27 18:51:01385 'common/net/gaia/gaia_auth_consumer.cc',
[email protected]a0e77042010-07-01 22:28:23386 'common/net/gaia/gaia_auth_consumer.h',
[email protected]1d8fe712010-11-10 22:47:26387 'common/net/gaia/gaia_auth_fetcher.cc',
388 'common/net/gaia/gaia_auth_fetcher.h',
[email protected]f3d01742010-05-07 02:53:55389 'common/net/gaia/gaia_authenticator.cc',
390 'common/net/gaia/gaia_authenticator.h',
[email protected]8fbfe662011-03-22 00:02:19391 'common/net/gaia/gaia_oauth_client.cc',
392 'common/net/gaia/gaia_oauth_client.h',
[email protected]63411a012011-06-15 19:14:24393 'common/net/gaia/gaia_urls.cc',
394 'common/net/gaia/gaia_urls.h',
[email protected]2b85b67a2011-02-10 23:41:40395 'common/net/gaia/google_service_auth_error.cc',
[email protected]99074c52010-08-19 18:44:19396 'common/net/gaia/google_service_auth_error.h',
[email protected]69c14c302011-06-19 23:40:35397 'common/net/gaia/oauth_request_signer.cc',
398 'common/net/gaia/oauth_request_signer.h',
[email protected]dda6d0d2011-11-24 02:49:46399 'common/net/gaia/oauth2_access_token_consumer.h',
400 'common/net/gaia/oauth2_access_token_fetcher.cc',
401 'common/net/gaia/oauth2_access_token_fetcher.h',
[email protected]992f31d2011-12-06 06:40:40402 'common/net/gaia/oauth2_revocation_consumer.h',
403 'common/net/gaia/oauth2_revocation_fetcher.cc',
404 'common/net/gaia/oauth2_revocation_fetcher.h',
[email protected]b1c2a5542010-10-08 12:44:40405 'common/net/x509_certificate_model.cc',
406 'common/net/x509_certificate_model_nss.cc',
407 'common/net/x509_certificate_model_openssl.cc',
408 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55409 ],
410 'dependencies': [
[email protected]37794d02011-11-30 18:24:29411 '<(DEPTH)/base/base.gyp:base',
412 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
413 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
414 '<(DEPTH)/crypto/crypto.gyp:crypto',
415 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
416 '<(DEPTH)/net/net.gyp:net_resources',
417 '<(DEPTH)/net/net.gyp:net',
418 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
419 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55420 ],
[email protected]b1c2a5542010-10-08 12:44:40421 'conditions': [
[email protected]607eee02012-01-27 07:20:53422 ['os_posix == 1 and OS != "mac" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30423 'dependencies': [
424 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40425 ],
426 },
427 { # else: OS is not in the above list
428 'sources!': [
429 'common/net/x509_certificate_model_nss.cc',
430 'common/net/x509_certificate_model_openssl.cc',
431 ],
432 },
433 ],
434 ['use_openssl==1', {
435 'sources!': [
436 'common/net/x509_certificate_model_nss.cc',
437 ],
438 },
439 { # else !use_openssl: remove the unneeded files
440 'sources!': [
441 'common/net/x509_certificate_model_openssl.cc',
442 ],
443 },
444 ],
445 ],
[email protected]3c3065d2010-05-06 21:59:55446 },
[email protected]133139772011-04-14 22:14:13447 {
[email protected]1c20dd62011-08-19 21:54:33448 # Protobuf compiler / generator for the safebrowsing client
449 # model proto and the client-side detection (csd) request
450 # protocol buffer.
[email protected]cae64fe2011-06-17 17:54:50451 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33452 'type': 'static_library',
453 'sources': [
454 'common/safe_browsing/client_model.proto',
455 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50456 ],
[email protected]1c20dd62011-08-19 21:54:33457 'variables': {
458 'proto_in_dir': 'common/safe_browsing',
459 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50460 },
[email protected]1c20dd62011-08-19 21:54:33461 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13462 },
[email protected]7ae45d0502012-01-31 00:29:26463 {
464 # Protobuf compiler / generator for UMA (User Metrics Analysis).
465 'target_name': 'metrics_proto',
466 'type': 'static_library',
467 'sources': [
468 'common/metrics/proto/chrome_user_metrics_extension.proto',
469 'common/metrics/proto/histogram_event.proto',
470 'common/metrics/proto/omnibox_event.proto',
[email protected]2a08b1d2012-02-18 00:30:04471 'common/metrics/proto/profiler_event.proto',
[email protected]7ae45d0502012-01-31 00:29:26472 'common/metrics/proto/system_profile.proto',
473 'common/metrics/proto/user_action_event.proto',
474 ],
475 'variables': {
476 'proto_in_dir': 'common/metrics/proto',
477 'proto_out_dir': 'chrome/common/metrics/proto',
478 },
479 'includes': [ '../build/protoc.gypi' ],
480 },
[email protected]dd363682009-12-28 20:30:46481 ],
[email protected]dd363682009-12-28 20:30:46482}