blob: a6117b58db69a3907be4ff0153b2b5a7c8e56b17 [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]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]4f68ed72012-10-30 05:24:0712 'enable_wexit_time_destructors': 1,
[email protected]dd363682009-12-28 20:30:4613 },
[email protected]93156cec2011-09-12 21:14:4414 'include_dirs': [
15 '..',
[email protected]b50368b2012-02-18 00:02:1316 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc.
[email protected]93156cec2011-09-12 21:14:4417 ],
[email protected]dd363682009-12-28 20:30:4618 'direct_dependent_settings': {
19 'include_dirs': [
20 '..',
21 ],
22 },
23 'dependencies': [
24 # TODO(gregoryd): chrome_resources and chrome_strings could be
25 # shared with the 64-bit target, but it does not work due to a gyp
26 # issue.
[email protected]35c0f982013-07-24 07:16:3927 '../third_party/cld/cld.gyp:cld',
[email protected]3c3065d2010-05-06 21:59:5528 'common_net',
[email protected]b9bbf5532011-11-03 07:35:2229 'common_version',
[email protected]52927222013-03-19 22:38:1230 'installer_util',
[email protected]7ae45d0502012-01-31 00:29:2631 'metrics_proto',
[email protected]37794d02011-11-30 18:24:2932 '<(DEPTH)/base/base.gyp:base',
33 '<(DEPTH)/base/base.gyp:base_i18n',
[email protected]f59f33e2012-11-01 12:05:2734 '<(DEPTH)/base/base.gyp:base_prefs',
[email protected]37794d02011-11-30 18:24:2935 '<(DEPTH)/base/base.gyp:base_static',
[email protected]37794d02011-11-30 18:24:2936 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
37 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
38 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
[email protected]99245a02012-10-09 20:57:4939 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
[email protected]fb1397ce2013-08-13 22:55:0740 '<(DEPTH)/components/components.gyp:json_schema',
[email protected]183be4e2013-08-14 14:41:1041 '<(DEPTH)/components/components.gyp:policy_component',
[email protected]1f371fa2013-01-23 00:35:1442 '<(DEPTH)/components/components.gyp:visitedlink_common',
[email protected]37794d02011-11-30 18:24:2943 '<(DEPTH)/content/content.gyp:content_common',
[email protected]37794d02011-11-30 18:24:2944 '<(DEPTH)/net/net.gyp:net',
[email protected]37794d02011-11-30 18:24:2945 '<(DEPTH)/skia/skia.gyp:skia',
[email protected]37794d02011-11-30 18:24:2946 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
47 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
48 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
[email protected]20f999b52012-08-24 22:32:5949 '<(DEPTH)/third_party/mt19937ar/mt19937ar.gyp:mt19937ar',
[email protected]37794d02011-11-30 18:24:2950 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
[email protected]720ceda2013-08-22 19:14:3751 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
[email protected]37794d02011-11-30 18:24:2952 '<(DEPTH)/ui/ui.gyp:ui_resources',
[email protected]002cc08f2013-06-03 05:40:2953 '<(DEPTH)/url/url.gyp:url_lib',
[email protected]fa02deb2013-05-31 22:31:4754 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
[email protected]dd363682009-12-28 20:30:4655 ],
56 'sources': [
[email protected]4bbdf9e2013-05-31 02:09:3857 '../apps/app_shim/app_shim_launch.h',
[email protected]acd2121c2013-03-18 05:54:5058 '../apps/app_shim/app_shim_messages.h',
[email protected]993da5e2013-03-23 21:25:1659 '../extensions/common/crx_file.cc',
60 '../extensions/common/crx_file.h',
[email protected]d5cc8692013-02-01 01:51:3661 '../extensions/common/draggable_region.cc',
62 '../extensions/common/draggable_region.h',
[email protected]e9f541a2012-11-19 21:52:3163 '../extensions/common/error_utils.cc',
64 '../extensions/common/error_utils.h',
[email protected]4b3e1922013-02-12 04:45:5865 '../extensions/common/event_filter.cc',
66 '../extensions/common/event_filter.h',
67 '../extensions/common/event_filtering_info.cc',
68 '../extensions/common/event_filtering_info.h',
69 '../extensions/common/event_matcher.cc',
70 '../extensions/common/event_matcher.h',
[email protected]32efb042013-03-29 00:23:2171 '../extensions/common/extension_paths.cc',
72 '../extensions/common/extension_paths.h',
[email protected]993da5e2013-03-23 21:25:1673 '../extensions/common/extension_resource.cc',
74 '../extensions/common/extension_resource.h',
[email protected]ad8b4ba2013-08-09 19:52:4475 '../extensions/common/extensions_client.cc',
76 '../extensions/common/extensions_client.h',
77 '../extensions/common/features/feature_provider.cc',
78 '../extensions/common/features/feature_provider.h',
[email protected]993da5e2013-03-23 21:25:1679 '../extensions/common/id_util.cc',
80 '../extensions/common/id_util.h',
[email protected]1d5e58b2013-01-31 08:41:4081 '../extensions/common/install_warning.cc',
[email protected]4a10006a2013-05-17 23:18:3582 '../extensions/common/install_warning.h',
[email protected]6bf90612013-08-15 00:36:2783 '../extensions/common/manifest_constants.cc',
84 '../extensions/common/manifest_constants.h',
[email protected]d32024d2013-02-04 23:15:1185 '../extensions/common/matcher/regex_set_matcher.cc',
86 '../extensions/common/matcher/regex_set_matcher.h',
87 '../extensions/common/matcher/string_pattern.cc',
88 '../extensions/common/matcher/string_pattern.h',
89 '../extensions/common/matcher/substring_set_matcher.cc',
90 '../extensions/common/matcher/substring_set_matcher.h',
91 '../extensions/common/matcher/url_matcher.cc',
92 '../extensions/common/matcher/url_matcher.h',
93 '../extensions/common/matcher/url_matcher_constants.cc',
94 '../extensions/common/matcher/url_matcher_constants.h',
95 '../extensions/common/matcher/url_matcher_factory.cc',
96 '../extensions/common/matcher/url_matcher_factory.h',
97 '../extensions/common/matcher/url_matcher_helpers.cc',
98 '../extensions/common/matcher/url_matcher_helpers.h',
[email protected]4a10006a2013-05-17 23:18:3599 '../extensions/common/one_shot_event.cc',
100 '../extensions/common/one_shot_event.h',
[email protected]ad8b4ba2013-08-09 19:52:44101 '../extensions/common/permissions/permissions_provider.h',
[email protected]49d9b142013-07-19 08:50:27102 '../extensions/common/switches.cc',
103 '../extensions/common/switches.h',
[email protected]885c0e92012-11-13 20:27:42104 '../extensions/common/url_pattern.cc',
105 '../extensions/common/url_pattern.h',
[email protected]e9f541a2012-11-19 21:52:31106 '../extensions/common/url_pattern_set.cc',
107 '../extensions/common/url_pattern_set.h',
[email protected]49d9b142013-07-19 08:50:27108 '../extensions/common/user_script.cc',
109 '../extensions/common/user_script.h',
[email protected]cb2edf22013-04-01 20:25:23110 '../extensions/common/view_type.cc',
111 '../extensions/common/view_type.h',
[email protected]4a6d74152011-09-26 20:42:30112 'common/all_messages.h',
[email protected]93156cec2011-09-12 21:14:44113 'common/attrition_experiments.h',
114 'common/auto_start_linux.cc',
115 'common/auto_start_linux.h',
[email protected]b7f64d742013-05-21 04:04:04116 'common/autocomplete_match_type.cc',
117 'common/autocomplete_match_type.h',
[email protected]cdb8bc282010-11-22 19:23:06118 'common/automation_constants.cc',
119 'common/automation_constants.h',
[email protected]c54ab2332011-12-05 21:05:42120 'common/automation_id.cc',
121 'common/automation_id.h',
[email protected]cdb8bc282010-11-22 19:23:06122 'common/automation_messages.cc',
123 'common/automation_messages.h',
124 'common/automation_messages_internal.h',
125 'common/badge_util.cc',
126 'common/badge_util.h',
[email protected]62867b02012-11-03 07:21:03127 'common/cancelable_task_tracker.cc',
128 'common/cancelable_task_tracker.h',
[email protected]93156cec2011-09-12 21:14:44129 'common/child_process_logging.h',
[email protected]93156cec2011-09-12 21:14:44130 'common/child_process_logging_mac.mm',
[email protected]1f26b9a2012-02-28 00:29:38131 'common/child_process_logging_posix.cc',
[email protected]93156cec2011-09-12 21:14:44132 'common/child_process_logging_win.cc',
[email protected]50e52cd2011-03-10 00:57:29133 'common/chrome_content_client.cc',
134 'common/chrome_content_client.h',
[email protected]18e78c582013-05-22 22:40:55135 'common/chrome_content_client_constants.cc',
[email protected]b7d1efa62012-11-16 11:22:02136 'common/chrome_content_client_ios.mm',
[email protected]c530c852011-10-24 18:18:34137 'common/chrome_result_codes.h',
[email protected]19a5c7442011-10-21 20:00:41138 'common/chrome_utility_messages.h',
[email protected]93156cec2011-09-12 21:14:44139 'common/chrome_version_info.cc',
[email protected]281288d2012-11-09 03:03:23140 'common/chrome_version_info_android.cc',
[email protected]3a12f882011-12-14 06:39:25141 'common/chrome_version_info_chromeos.cc',
[email protected]1f26b9a2012-02-28 00:29:38142 'common/chrome_version_info_posix.cc',
[email protected]93156cec2011-09-12 21:14:44143 'common/chrome_version_info_mac.mm',
144 'common/chrome_version_info_win.cc',
145 'common/chrome_version_info.h',
[email protected]13aec6c42011-10-27 21:22:08146 'common/cloud_print/cloud_print_class_mac.h',
147 'common/cloud_print/cloud_print_class_mac.mm',
[email protected]3eadbf22012-12-03 08:34:46148 'common/cloud_print/cloud_print_constants.cc',
149 'common/cloud_print/cloud_print_constants.h',
[email protected]b106ca52012-03-13 06:08:46150 'common/cloud_print/cloud_print_helpers.cc',
151 'common/cloud_print/cloud_print_helpers.h',
[email protected]de119cf22011-05-11 20:41:35152 'common/cloud_print/cloud_print_proxy_info.cc',
153 'common/cloud_print/cloud_print_proxy_info.h',
[email protected]fffaf972011-03-24 01:34:35154 'common/common_message_generator.cc',
155 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:03156 'common/common_param_traits.cc',
157 'common/common_param_traits.h',
[email protected]af049dd2012-06-26 01:01:42158 'common/common_param_traits_macros.h',
[email protected]3c71576ce2013-07-23 02:00:01159 'common/content_restriction.h',
[email protected]93156cec2011-09-12 21:14:44160 'common/content_settings.cc',
161 'common/content_settings.h',
162 'common/content_settings_helper.cc',
163 'common/content_settings_helper.h',
[email protected]1d03fa32011-09-21 08:19:27164 'common/content_settings_pattern.cc',
165 'common/content_settings_pattern.h',
166 'common/content_settings_pattern_parser.cc',
167 'common/content_settings_pattern_parser.h',
[email protected]93156cec2011-09-12 21:14:44168 'common/content_settings_types.h',
[email protected]50cdead2013-01-03 18:36:33169 'common/crash_keys.cc',
170 'common/crash_keys.h',
[email protected]083917c82011-07-13 00:34:35171 'common/custom_handlers/protocol_handler.cc',
172 'common/custom_handlers/protocol_handler.h',
[email protected]29699c22012-10-03 23:57:39173 'common/descriptors_android.h',
[email protected]fe69aa12013-02-01 03:37:27174 'common/dump_without_crashing.cc',
175 'common/dump_without_crashing.h',
[email protected]b76c288a2013-01-24 02:30:34176 'common/extensions/api/commands/commands_handler.cc',
177 'common/extensions/api/commands/commands_handler.h',
[email protected]23b3c0a2013-01-16 23:36:36178 'common/extensions/api/extension_action/action_info.cc',
179 'common/extensions/api/extension_action/action_info.h',
[email protected]f9655482013-02-13 09:22:51180 'common/extensions/api/extension_action/browser_action_handler.cc',
181 'common/extensions/api/extension_action/browser_action_handler.h',
182 'common/extensions/api/extension_action/page_action_handler.cc',
183 'common/extensions/api/extension_action/page_action_handler.h',
184 'common/extensions/api/extension_action/script_badge_handler.cc',
185 'common/extensions/api/extension_action/script_badge_handler.h',
[email protected]d356c982012-12-12 19:32:55186 'common/extensions/api/extension_api.cc',
187 'common/extensions/api/extension_api.h',
188 'common/extensions/api/extension_api_stub.cc',
[email protected]a31c3982013-07-13 04:33:31189 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
190 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
[email protected]06492ed2013-03-24 22:13:14191 'common/extensions/api/file_handlers/file_handlers_parser.cc',
192 'common/extensions/api/file_handlers/file_handlers_parser.h',
[email protected]0273969d2013-01-30 22:16:31193 'common/extensions/api/i18n/default_locale_handler.cc',
194 'common/extensions/api/i18n/default_locale_handler.h',
[email protected]29e0c4e72013-02-01 04:42:56195 'common/extensions/api/identity/oauth2_manifest_handler.cc',
196 'common/extensions/api/identity/oauth2_manifest_handler.h',
[email protected]4af65592013-01-04 21:06:19197 'common/extensions/api/input_ime/input_components_handler.cc',
198 'common/extensions/api/input_ime/input_components_handler.h',
[email protected]09a8631eb2013-03-27 22:52:44199 'common/extensions/api/managed_mode_private/managed_mode_handler.cc',
200 'common/extensions/api/managed_mode_private/managed_mode_handler.h',
[email protected]a31c3982013-07-13 04:33:31201 'common/extensions/api/media_galleries_private/media_galleries_handler.h',
202 'common/extensions/api/media_galleries_private/media_galleries_handler.cc',
[email protected]d356c982012-12-12 19:32:55203 'common/extensions/api/omnibox/omnibox_handler.cc',
204 'common/extensions/api/omnibox/omnibox_handler.h',
[email protected]098fa7a2013-03-08 22:11:17205 'common/extensions/api/plugins/plugins_handler.cc',
206 'common/extensions/api/plugins/plugins_handler.h',
[email protected]692a8062013-01-10 04:14:42207 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
208 'common/extensions/api/speech/tts_engine_manifest_handler.h',
[email protected]76628452013-04-26 04:39:32209 'common/extensions/api/spellcheck/spellcheck_handler.cc',
210 'common/extensions/api/spellcheck/spellcheck_handler.h',
[email protected]a31c3982013-07-13 04:33:31211 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
212 'common/extensions/api/storage/storage_schema_manifest_handler.h',
[email protected]4e786932013-03-25 19:21:04213 'common/extensions/api/system_indicator/system_indicator_handler.cc',
214 'common/extensions/api/system_indicator/system_indicator_handler.h',
[email protected]9367eabc2013-03-01 01:29:29215 'common/extensions/background_info.cc',
216 'common/extensions/background_info.h',
[email protected]ad8b4ba2013-08-09 19:52:44217 'common/extensions/chrome_extensions_client.cc',
218 'common/extensions/chrome_extensions_client.h',
[email protected]d592b1bd2013-05-06 06:40:47219 'common/extensions/chrome_manifest_handlers.cc',
220 'common/extensions/chrome_manifest_handlers.h',
[email protected]65907942012-05-22 19:59:47221 'common/extensions/command.cc',
222 'common/extensions/command.h',
[email protected]f1d88d92013-02-16 01:54:47223 'common/extensions/csp_handler.cc',
224 'common/extensions/csp_handler.h',
[email protected]ee0be772011-12-02 08:02:10225 'common/extensions/csp_validator.cc',
226 'common/extensions/csp_validator.h',
[email protected]d15e8a02013-05-30 03:24:26227 'common/extensions/dom_action_types.h',
[email protected]dd363682009-12-28 20:30:46228 'common/extensions/extension.cc',
229 'common/extensions/extension.h',
230 'common/extensions/extension_constants.cc',
231 'common/extensions/extension_constants.h',
[email protected]7c927b62010-02-24 09:54:13232 'common/extensions/extension_file_util.cc',
233 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48234 'common/extensions/extension_icon_set.cc',
235 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46236 'common/extensions/extension_l10n_util.cc',
237 'common/extensions/extension_l10n_util.h',
[email protected]a52c0e92012-03-23 06:02:24238 'common/extensions/extension_manifest_constants.cc',
239 'common/extensions/extension_manifest_constants.h',
[email protected]44c49c92011-03-28 16:17:23240 'common/extensions/extension_messages.cc',
241 'common/extensions/extension_messages.h',
[email protected]808d1512011-12-14 16:29:59242 'common/extensions/extension_process_policy.cc',
243 'common/extensions/extension_process_policy.h',
[email protected]ec7db282011-01-29 01:11:36244 'common/extensions/extension_set.cc',
245 'common/extensions/extension_set.h',
[email protected]ee837d32012-10-02 22:25:49246 'common/extensions/feature_switch.cc',
247 'common/extensions/feature_switch.h',
[email protected]4770acb2013-03-28 12:40:24248 'common/extensions/features/api_feature.cc',
249 'common/extensions/features/api_feature.h',
[email protected]4b927fe2012-12-15 20:30:45250 'common/extensions/features/base_feature_provider.cc',
251 'common/extensions/features/base_feature_provider.h',
252 'common/extensions/features/complex_feature.cc',
253 'common/extensions/features/complex_feature.h',
[email protected]5115ccc2012-06-11 19:47:07254 'common/extensions/features/feature.cc',
255 'common/extensions/features/feature.h',
[email protected]15d4d2d2013-08-09 06:49:03256 'common/extensions/features/feature_channel.cc',
257 'common/extensions/features/feature_channel.h',
[email protected]5115ccc2012-06-11 19:47:07258 'common/extensions/features/manifest_feature.cc',
259 'common/extensions/features/manifest_feature.h',
260 'common/extensions/features/permission_feature.cc',
261 'common/extensions/features/permission_feature.h',
[email protected]4b927fe2012-12-15 20:30:45262 'common/extensions/features/simple_feature.cc',
263 'common/extensions/features/simple_feature.h',
[email protected]06492ed2013-03-24 22:13:14264 'common/extensions/incognito_handler.cc',
265 'common/extensions/incognito_handler.h',
[email protected]953620b2011-12-04 00:55:32266 'common/extensions/manifest.cc',
267 'common/extensions/manifest.h',
[email protected]d356c982012-12-12 19:32:55268 'common/extensions/manifest_handler.cc',
269 'common/extensions/manifest_handler.h',
[email protected]23b3c0a2013-01-16 23:36:36270 'common/extensions/manifest_handler_helpers.cc',
271 'common/extensions/manifest_handler_helpers.h',
[email protected]561e33d52013-04-03 06:58:43272 'common/extensions/manifest_handlers/app_isolation_info.cc',
273 'common/extensions/manifest_handlers/app_isolation_info.h',
[email protected]6b414c232013-06-05 07:53:34274 'common/extensions/manifest_handlers/app_launch_info.cc',
275 'common/extensions/manifest_handlers/app_launch_info.h',
[email protected]334ec0a2013-03-24 01:36:16276 'common/extensions/manifest_handlers/content_scripts_handler.cc',
277 'common/extensions/manifest_handlers/content_scripts_handler.h',
[email protected]5c259802013-04-24 09:27:05278 'common/extensions/manifest_handlers/externally_connectable.cc',
279 'common/extensions/manifest_handlers/externally_connectable.h',
[email protected]abe720c02013-04-12 04:00:10280 'common/extensions/manifest_handlers/icons_handler.cc',
281 'common/extensions/manifest_handlers/icons_handler.h',
[email protected]7152d4dd2013-03-29 06:06:41282 'common/extensions/manifest_handlers/kiosk_enabled_info.cc',
283 'common/extensions/manifest_handlers/kiosk_enabled_info.h',
[email protected]28707cdc2013-07-18 21:38:08284 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
285 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
[email protected]31622542013-05-30 19:42:30286 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
287 'common/extensions/manifest_handlers/nacl_modules_handler.h',
[email protected]da80bdf2013-03-28 23:27:21288 'common/extensions/manifest_handlers/offline_enabled_info.cc',
289 'common/extensions/manifest_handlers/offline_enabled_info.h',
[email protected]d5a8df32013-03-26 07:20:41290 'common/extensions/manifest_handlers/requirements_handler.cc',
291 'common/extensions/manifest_handlers/requirements_handler.h',
[email protected]2702b79f2013-03-27 08:44:33292 'common/extensions/manifest_handlers/sandboxed_page_info.cc',
293 'common/extensions/manifest_handlers/sandboxed_page_info.h',
[email protected]b56d3c72013-04-30 01:04:35294 'common/extensions/manifest_handlers/shared_module_info.cc',
295 'common/extensions/manifest_handlers/shared_module_info.h',
[email protected]72b49d42013-04-19 12:47:31296 'common/extensions/manifest_handlers/theme_handler.cc',
297 'common/extensions/manifest_handlers/theme_handler.h',
[email protected]a405f6d2013-01-11 11:50:13298 'common/extensions/manifest_url_handler.cc',
299 'common/extensions/manifest_url_handler.h',
[email protected]40404bc2012-07-25 17:40:49300 'common/extensions/message_bundle.cc',
301 'common/extensions/message_bundle.h',
[email protected]92549352013-03-12 07:55:57302 'common/extensions/mime_types_handler.cc',
303 'common/extensions/mime_types_handler.h',
[email protected]c2e66e12012-06-27 06:27:06304 'common/extensions/permissions/api_permission.cc',
305 'common/extensions/permissions/api_permission.h',
[email protected]1d8b79a2012-08-16 20:22:54306 'common/extensions/permissions/api_permission_set.cc',
307 'common/extensions/permissions/api_permission_set.h',
[email protected]14ed8dc2013-07-02 03:02:09308 'common/extensions/permissions/bluetooth_permission.cc',
309 'common/extensions/permissions/bluetooth_permission.h',
310 'common/extensions/permissions/bluetooth_permission_data.cc',
311 'common/extensions/permissions/bluetooth_permission_data.h',
[email protected]e676f8f2013-04-04 09:04:37312 'common/extensions/permissions/chrome_api_permissions.cc',
313 'common/extensions/permissions/chrome_api_permissions.h',
[email protected]abf91a62013-07-09 08:03:04314 'common/extensions/permissions/chrome_scheme_hosts.cc',
315 'common/extensions/permissions/chrome_scheme_hosts.h',
[email protected]398d77b2013-01-17 01:31:06316 'common/extensions/permissions/media_galleries_permission.cc',
317 'common/extensions/permissions/media_galleries_permission.h',
318 'common/extensions/permissions/media_galleries_permission_data.cc',
319 'common/extensions/permissions/media_galleries_permission_data.h',
[email protected]c2e66e12012-06-27 06:27:06320 'common/extensions/permissions/permission_message.cc',
321 'common/extensions/permissions/permission_message.h',
322 'common/extensions/permissions/permission_set.cc',
323 'common/extensions/permissions/permission_set.h',
[email protected]2cb5e302013-05-09 05:00:06324 'common/extensions/permissions/permissions_data.cc',
325 'common/extensions/permissions/permissions_data.h',
[email protected]c2e66e12012-06-27 06:27:06326 'common/extensions/permissions/permissions_info.cc',
327 'common/extensions/permissions/permissions_info.h',
[email protected]f3cc80632012-12-06 19:30:25328 'common/extensions/permissions/set_disjunction_permission.h',
[email protected]1d8b79a2012-08-16 20:22:54329 'common/extensions/permissions/socket_permission.cc',
330 'common/extensions/permissions/socket_permission.h',
331 'common/extensions/permissions/socket_permission_data.cc',
332 'common/extensions/permissions/socket_permission_data.h',
[email protected]ad46f222012-12-11 07:18:15333 'common/extensions/permissions/usb_device_permission.cc',
334 'common/extensions/permissions/usb_device_permission.h',
335 'common/extensions/permissions/usb_device_permission_data.cc',
336 'common/extensions/permissions/usb_device_permission_data.h',
[email protected]8f3bcbd2013-06-05 08:42:40337 'common/extensions/sync_helper.cc',
338 'common/extensions/sync_helper.h',
[email protected]dd363682009-12-28 20:30:46339 'common/extensions/update_manifest.cc',
340 'common/extensions/update_manifest.h',
[email protected]d9e559d2012-07-05 01:04:57341 'common/extensions/value_counter.cc',
342 'common/extensions/value_counter.h',
[email protected]d4e96fa2013-01-16 21:12:54343 'common/extensions/web_accessible_resources_handler.cc',
344 'common/extensions/web_accessible_resources_handler.h',
[email protected]93156cec2011-09-12 21:14:44345 'common/external_ipc_fuzzer.cc',
[email protected]b7fa4992013-07-03 00:32:13346 'common/external_ipc_fuzzer.h',
[email protected]78dfe382013-07-17 18:05:42347 'common/favicon/favicon_types.cc',
348 'common/favicon/favicon_types.h',
349 'common/favicon/favicon_url_parser.cc',
350 'common/favicon/favicon_url_parser.h',
[email protected]6ae45eb2012-11-29 23:27:28351 'common/icon_with_badge_image_source.cc',
352 'common/icon_with_badge_image_source.h',
[email protected]946b4ee02013-07-16 21:57:52353 'common/importer/firefox_importer_utils.cc',
354 'common/importer/firefox_importer_utils.h',
355 'common/importer/firefox_importer_utils_linux.cc',
356 'common/importer/firefox_importer_utils_mac.mm',
357 'common/importer/firefox_importer_utils_win.cc',
358 'common/importer/ie_importer_test_registry_overrider_win.cc',
359 'common/importer/ie_importer_test_registry_overrider_win.h',
360 'common/importer/ie_importer_utils_win.cc',
361 'common/importer/ie_importer_utils_win.h',
[email protected]b7fa4992013-07-03 00:32:13362 'common/importer/imported_bookmark_entry.cc',
363 'common/importer/imported_bookmark_entry.h',
364 'common/importer/imported_favicon_usage.cc',
365 'common/importer/imported_favicon_usage.h',
[email protected]946b4ee02013-07-16 21:57:52366 'common/importer/importer_bridge.cc',
367 'common/importer/importer_bridge.h',
[email protected]b7fa4992013-07-03 00:32:13368 'common/importer/importer_data_types.cc',
369 'common/importer/importer_data_types.h',
370 'common/importer/importer_type.h',
[email protected]3eb29c1c2013-06-29 00:07:14371 'common/importer/importer_url_row.cc',
372 'common/importer/importer_url_row.h',
[email protected]b7fa4992013-07-03 00:32:13373 'common/importer/profile_import_process_messages.cc',
374 'common/importer/profile_import_process_messages.h',
[email protected]b5be8662013-07-17 00:20:43375 'common/importer/safari_importer_utils.h',
376 'common/importer/safari_importer_utils.mm',
[email protected]8b169b4b2013-03-23 18:24:46377 'common/instant_restricted_id_cache.h',
[email protected]0e7cb682012-08-15 04:04:38378 'common/instant_types.cc',
[email protected]93156cec2011-09-12 21:14:44379 'common/instant_types.h',
[email protected]499512b2012-08-08 19:27:49380 'common/localized_error.cc',
381 'common/localized_error.h',
[email protected]93156cec2011-09-12 21:14:44382 'common/logging_chrome.cc',
383 'common/logging_chrome.h',
[email protected]46821242011-08-19 13:59:59384 'common/mac/app_mode_common.h',
385 'common/mac/app_mode_common.mm',
[email protected]00ecec52011-08-19 20:01:24386 'common/mac/cfbundle_blocker.h',
387 'common/mac/cfbundle_blocker.mm',
[email protected]46821242011-08-19 13:59:59388 'common/mac/launchd.h',
389 'common/mac/launchd.mm',
[email protected]d9b6d572012-10-22 16:41:19390 'common/mac/nscoder_util.h',
391 'common/mac/nscoder_util.mm',
[email protected]d02437b2011-09-06 17:25:15392 'common/mac/objc_method_swizzle.h',
393 'common/mac/objc_method_swizzle.mm',
394 'common/mac/objc_zombie.h',
395 'common/mac/objc_zombie.mm',
[email protected]6ef98b5a2013-05-31 23:58:31396 'common/media/webrtc_logging_messages.h',
[email protected]c277e2b2013-08-02 15:41:08397 'common/metrics/caching_permuted_entropy_provider.cc',
398 'common/metrics/caching_permuted_entropy_provider.h',
[email protected]20f999b52012-08-24 22:32:59399 'common/metrics/entropy_provider.cc',
400 'common/metrics/entropy_provider.h',
[email protected]e182be02012-01-27 02:35:44401 'common/metrics/metrics_log_base.cc',
402 'common/metrics/metrics_log_base.h',
[email protected]2e4cd1a2012-01-12 08:51:03403 'common/metrics/metrics_log_manager.cc',
404 'common/metrics/metrics_log_manager.h',
[email protected]e182be02012-01-27 02:35:44405 'common/metrics/metrics_service_base.cc',
406 'common/metrics/metrics_service_base.h',
[email protected]bca34942012-09-05 18:23:25407 'common/metrics/metrics_util.cc',
408 'common/metrics/metrics_util.h',
[email protected]e90c7562013-02-27 20:22:18409 'common/metrics/variations/uniformity_field_trials.cc',
410 'common/metrics/variations/uniformity_field_trials.h',
[email protected]7e797792013-08-05 18:24:40411 'common/metrics/variations/variations_associated_data.cc',
412 'common/metrics/variations/variations_associated_data.h',
[email protected]cf265dc02012-08-15 01:01:16413 'common/metrics/variations/variations_util.cc',
414 'common/metrics/variations/variations_util.h',
[email protected]93156cec2011-09-12 21:14:44415 'common/multi_process_lock.h',
416 'common/multi_process_lock_linux.cc',
417 'common/multi_process_lock_mac.cc',
418 'common/multi_process_lock_win.cc',
[email protected]48c1ebd2013-04-27 02:22:27419 'common/omaha_query_params/omaha_query_params.cc',
420 'common/omaha_query_params/omaha_query_params.h',
[email protected]ca98bd32013-04-09 05:16:05421 'common/omnibox_focus_state.h',
[email protected]6ef98b5a2013-05-31 23:58:31422 'common/partial_circular_buffer.cc',
423 'common/partial_circular_buffer.h',
[email protected]9b4f6082012-04-24 01:43:07424 'common/pepper_flash.cc',
425 'common/pepper_flash.h',
[email protected]9d450492013-06-13 23:08:37426 'common/pepper_permission_util.cc',
427 'common/pepper_permission_util.h',
[email protected]be85e7d2012-10-31 08:34:20428 'common/pref_names_util.cc',
429 'common/pref_names_util.h',
[email protected]b4bd67a2011-08-22 19:04:09430 'common/print_messages.cc',
[email protected]1375e3ab2011-03-24 17:07:22431 'common/print_messages.h',
[email protected]93156cec2011-09-12 21:14:44432 'common/profiling.cc',
433 'common/profiling.h',
[email protected]93156cec2011-09-12 21:14:44434 'common/ref_counted_util.h',
[email protected]7a4de7a62010-08-17 18:38:24435 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46436 'common/render_messages.h',
[email protected]f6fd9042013-02-14 18:43:58437 'common/safe_browsing/download_protection_util.cc',
438 'common/safe_browsing/download_protection_util.h',
[email protected]93156cec2011-09-12 21:14:44439 'common/safe_browsing/safebrowsing_messages.h',
[email protected]f6fd9042013-02-14 18:43:58440 'common/safe_browsing/zip_analyzer.cc',
441 'common/safe_browsing/zip_analyzer.h',
[email protected]c08e7932011-03-29 04:08:14442 'common/search_provider.h',
[email protected]c3917742012-11-21 01:51:14443 'common/search_types.h',
[email protected]38fe1962010-07-31 07:57:00444 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24445 'common/service_process_util.cc',
446 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36447 'common/service_process_util_linux.cc',
448 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04449 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36450 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04451 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46452 'common/spellcheck_common.cc',
453 'common/spellcheck_common.h',
[email protected]f6add48e2013-05-14 00:58:07454 'common/spellcheck_marker.h',
[email protected]3e267192011-03-25 01:55:45455 'common/spellcheck_messages.h',
[email protected]7ed49c22012-02-17 02:14:53456 'common/spellcheck_result.h',
[email protected]b5febf72012-07-29 18:10:09457 'common/startup_metric_utils.cc',
458 'common/startup_metric_utils.h',
[email protected]93156cec2011-09-12 21:14:44459 'common/switch_utils.cc',
460 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46461 'common/thumbnail_score.cc',
462 'common/thumbnail_score.h',
[email protected]b2ed9c672013-06-06 23:34:00463 'common/translate/language_detection_details.cc',
464 'common/translate/language_detection_details.h',
[email protected]d7575c22013-07-11 13:54:22465 'common/translate/language_detection_util.cc',
466 'common/translate/language_detection_util.h',
467 'common/translate/translate_common_metrics.cc',
468 'common/translate/translate_common_metrics.h',
[email protected]1fb417f22013-06-10 11:28:06469 'common/translate/translate_errors.h',
470 'common/translate/translate_util.cc',
471 'common/translate/translate_util.h',
[email protected]7a06d282013-05-03 04:39:33472 'common/tts_messages.h',
473 'common/tts_utterance_request.cc',
474 'common/tts_utterance_request.h',
[email protected]dd363682009-12-28 20:30:46475 'common/url_constants.cc',
476 'common/url_constants.h',
[email protected]1352ca92013-04-30 02:30:27477 'common/validation_message_messages.h',
[email protected]93f50462013-05-10 04:40:40478 'common/web_application_info.cc',
479 'common/web_application_info.h',
[email protected]dd363682009-12-28 20:30:46480 'common/worker_thread_ticker.cc',
481 'common/worker_thread_ticker.h',
[email protected]512b5bd2013-07-23 20:24:00482 '../components/nacl/common/nacl_host_messages.h',
[email protected]d5d383252013-07-04 14:44:32483 '../components/nacl/common/nacl_process_type.h',
[email protected]2ed42062013-07-22 18:13:57484 '../components/nacl/common/nacl_sandbox_type_mac.h',
[email protected]512b5bd2013-07-23 20:24:00485 '../components/nacl/common/pnacl_types.cc',
486 '../components/nacl/common/pnacl_types.h',
[email protected]dd363682009-12-28 20:30:46487 ],
488 'conditions': [
[email protected]989ae862013-03-13 04:22:58489 ['enable_extensions==1', {
490 'sources!': [
491 'common/extensions/api/extension_api_stub.cc',
492 ],
493 'dependencies': [
[email protected]1ff64292013-07-18 20:37:15494 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
[email protected]e3a9ccfc2013-06-03 00:22:30495 '../device/usb/usb.gyp:device_usb',
[email protected]989ae862013-03-13 04:22:58496 ],
497 }, { # enable_extensions == 0
498 'sources/': [
499 ['exclude', '^common/extensions/api/'],
500 ['include', 'common/extensions/api/extension_api_stub.cc'],
501 ['include', 'common/extensions/api/extension_action/action_info.cc'],
502 ['include', 'common/extensions/api/extension_action/action_info.h'],
503 ['include', 'common/extensions/api/extension_action/browser_action_handler.cc'],
504 ['include', 'common/extensions/api/extension_action/browser_action_handler.h'],
505 ['include', 'common/extensions/api/extension_action/page_action_handler.cc'],
506 ['include', 'common/extensions/api/extension_action/page_action_handler.h'],
[email protected]989ae862013-03-13 04:22:58507 ['include', 'common/extensions/api/i18n/default_locale_handler.cc'],
508 ['include', 'common/extensions/api/i18n/default_locale_handler.h'],
509 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'],
510 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'],
[email protected]09a8631eb2013-03-27 22:52:44511 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.cc'],
512 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.h'],
[email protected]d02e3542013-07-15 12:27:25513 ['include', 'common/extensions/api/plugins/plugins_handler.cc'],
514 ['include', 'common/extensions/api/plugins/plugins_handler.h'],
515 ['include', 'common/extensions/api/spellcheck/spellcheck_handler.cc'],
516 ['include', 'common/extensions/api/spellcheck/spellcheck_handler.h'],
517 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.cc'],
518 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.h'],
[email protected]989ae862013-03-13 04:22:58519 ],
520 }],
[email protected]c51694f2013-06-25 02:50:24521 ['OS=="win" or OS=="mac"', {
522 'sources': [
[email protected]580ce3d62013-07-31 05:28:48523 'common/media_galleries/itunes_library.cc',
524 'common/media_galleries/itunes_library.h',
525 'common/media_galleries/itunes_xml_utils.cc',
526 'common/media_galleries/itunes_xml_utils.h',
[email protected]62116d02013-06-26 04:32:00527 'common/media_galleries/picasa_types.cc',
528 'common/media_galleries/picasa_types.h',
529 'common/media_galleries/pmp_constants.h',
[email protected]c51694f2013-06-25 02:50:24530 ],
531 }],
[email protected]fdaed545c2012-10-20 19:13:04532 ['OS != "ios"', {
533 'dependencies': [
534 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
535 '<(DEPTH)/chrome/common/extensions/api/api.gyp:api',
[email protected]d04f81912013-06-18 14:52:13536 '<(DEPTH)/components/components.gyp:autofill_core_common',
[email protected]0acf1d42013-07-22 14:54:58537 '<(DEPTH)/components/nacl_common.gyp:nacl_common',
[email protected]fdaed545c2012-10-20 19:13:04538 '<(DEPTH)/ipc/ipc.gyp:ipc',
539 '<(DEPTH)/printing/printing.gyp:printing',
540 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
541 '<(DEPTH)/third_party/re2/re2.gyp:re2',
542 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
[email protected]fdaed545c2012-10-20 19:13:04543 ],
544 }, { # OS == ios
545 'sources/': [
[email protected]fdaed545c2012-10-20 19:13:04546 ['exclude', '^common/child_process_'],
547 ['exclude', '^common/chrome_content_client\\.cc$'],
548 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
549 ['exclude', '^common/common_message_generator\\.cc$'],
550 ['exclude', '^common/common_param_traits'],
551 ['exclude', '^common/custom_handlers/'],
552 ['exclude', '^common/extensions/'],
553 ['exclude', '^common/external_ipc_fuzzer\\.'],
554 ['exclude', '^common/logging_chrome\\.'],
555 ['exclude', '^common/multi_process_'],
556 ['exclude', '^common/nacl_'],
557 ['exclude', '^common/pepper_flash\\.'],
558 ['exclude', '^common/profiling\\.'],
559 ['exclude', '^common/service_process_util_'],
560 ['exclude', '^common/spellcheck_'],
[email protected]1352ca92013-04-30 02:30:27561 ['exclude', '^common/validation_message_'],
[email protected]fdaed545c2012-10-20 19:13:04562 ['exclude', '^common/web_apps\\.'],
563 # TODO(ios): Include files here as they are made to work; once
564 # everything is online, remove everything below here and just
565 # use the exclusions above.
[email protected]b7d1efa62012-11-16 11:22:02566 ['exclude', '\\.(cc|mm)$'],
567 ['include', '_ios\\.(cc|mm)$'],
568 ['include', '(^|/)ios/'],
569 ['include', '^common/chrome_version_info\\.cc$'],
[email protected]d7575c22013-07-11 13:54:22570 ['include', '^common/translate'],
[email protected]b7d1efa62012-11-16 11:22:02571 ['include', '^common/zip'],
[email protected]fdaed545c2012-10-20 19:13:04572 ],
[email protected]271e88fc2013-05-06 07:48:05573 'include_dirs': [
574 '<(DEPTH)/breakpad/src',
575 ],
[email protected]fdaed545c2012-10-20 19:13:04576 }],
[email protected]e389c472013-07-24 02:49:58577 ['OS!="ios" and chrome_multiple_dll!=1', {
578 'dependencies': [
579 '<(DEPTH)/webkit/support/webkit_support.gyp:glue',
580 ],
581 }],
[email protected]9f6167c2012-03-16 02:28:17582 ['OS=="android"', {
583 'sources/': [
[email protected]281288d2012-11-09 03:03:23584 ['exclude', '^common/chrome_version_info_posix.cc'],
[email protected]9f6167c2012-03-16 02:28:17585 ['exclude', '^common/service_'],
586 ],
[email protected]ccd90f02012-11-01 19:52:15587 'dependencies!': [
588 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
589 ],
[email protected]9f6167c2012-03-16 02:28:17590 }],
[email protected]93156cec2011-09-12 21:14:44591 ['OS=="win"', {
592 'include_dirs': [
[email protected]27b38d62013-08-14 18:12:11593 '<(DEPTH)/breakpad/src',
[email protected]93156cec2011-09-12 21:14:44594 '<(DEPTH)/third_party/wtl/include',
[email protected]f65fdfc2013-03-05 21:56:04595 ],
[email protected]ef777a42011-11-25 13:15:43596 }],
[email protected]c1cc0e02013-07-04 12:46:35597 ['enable_mdns == 1', {
598 'sources': [
[email protected]686e985e2013-07-18 22:04:56599 'common/local_discovery/local_discovery_messages.h',
[email protected]c1cc0e02013-07-04 12:46:35600 'common/local_discovery/service_discovery_client.cc',
601 'common/local_discovery/service_discovery_client.h',
602 ]
603 }],
[email protected]cb5e5072011-05-19 21:49:41604 ['toolkit_uses_gtk == 1', {
[email protected]dd363682009-12-28 20:30:46605 'dependencies': [
606 '../build/linux/system.gyp:gtk',
607 ],
608 'export_dependent_settings': [
609 '../third_party/sqlite/sqlite.gyp:sqlite',
610 ],
611 'link_settings': {
612 'libraries': [
613 '-lX11',
614 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54615 '-lXss',
[email protected]dd363682009-12-28 20:30:46616 '-lXext',
617 ],
618 },
[email protected]0ce34852011-09-23 20:00:51619 }],
[email protected]89886fa32012-10-08 23:46:33620 ['chromeos==1', {
[email protected]3a12f882011-12-14 06:39:25621 'sources!': [
622 'common/chrome_version_info_linux.cc',
623 ],
624 }],
[email protected]b9bbf5532011-11-03 07:35:22625 ['OS=="mac"', {
626 'dependencies': [
627 '../third_party/mach_override/mach_override.gyp:mach_override',
628 ],
629 'include_dirs': [
[email protected]271e88fc2013-05-06 07:48:05630 '<(DEPTH)/breakpad/src',
[email protected]b9bbf5532011-11-03 07:35:22631 '../third_party/GTM',
632 ],
[email protected]1f26b9a2012-02-28 00:29:38633 'sources!': [
634 'common/child_process_logging_posix.cc',
635 'common/chrome_version_info_posix.cc',
636 ],
[email protected]b9bbf5532011-11-03 07:35:22637 }],
638 ['remoting==1', {
639 'dependencies': [
640 '../remoting/remoting.gyp:remoting_client_plugin',
641 ],
642 }],
[email protected]098dff8a2013-01-23 20:54:49643 ['enable_automation==0', {
644 'sources/': [
645 ['exclude', '^common/automation_']
[email protected]edf48d42013-03-07 05:44:43646 ]
[email protected]90b54ed2013-01-28 10:38:42647 }],
648 ['use_system_nspr==1', {
649 'dependencies': [
650 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr',
651 ],
652 }],
[email protected]6ef98b5a2013-05-31 23:58:31653 ['enable_webrtc==0', {
654 'sources!': [
655 'common/media/webrtc_logging_messages.h',
656 ]
657 }],
[email protected]1e54c1c2013-08-12 17:16:05658 ['enable_printing==0', {
659 'sources!': [
660 'common/print_messages.cc',
661 'common/print_messages.h',
662 ]
663 }],
[email protected]b9bbf5532011-11-03 07:35:22664 ],
[email protected]fdaed545c2012-10-20 19:13:04665 'target_conditions': [
666 ['OS == "ios"', {
667 'sources/': [
668 # Pull in specific Mac files for iOS (which have been filtered out
669 # by file name rules).
670 ['include', '^common/chrome_version_info_mac\\.mm$'],
[email protected]b7d1efa62012-11-16 11:22:02671 ['include', '^common/mac/nscoder_util\\.'],
[email protected]fdaed545c2012-10-20 19:13:04672 ],
673 }],
674 ],
[email protected]b9bbf5532011-11-03 07:35:22675 'export_dependent_settings': [
676 '../base/base.gyp:base',
[email protected]8a59a082012-03-07 02:27:30677 'metrics_proto',
[email protected]b9bbf5532011-11-03 07:35:22678 ],
679 },
680 {
681 'target_name': 'common_version',
682 'type': 'none',
683 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04684 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
[email protected]b9bbf5532011-11-03 07:35:22685 'direct_dependent_settings': {
686 'include_dirs': [
687 '<(SHARED_INTERMEDIATE_DIR)',
688 ],
689 },
[email protected]79440c52010-08-27 22:53:02690 # Because posix_version generates a header, we must set the
691 # hard_dependency flag.
692 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13693 'actions': [
694 {
695 'action_name': 'posix_version',
696 'variables': {
697 'lastchange_path':
[email protected]9046a112012-01-31 20:45:25698 '<(DEPTH)/build/util/LASTCHANGE',
[email protected]4641d3c2010-08-26 21:44:13699 'version_py_path': 'tools/build/version.py',
700 'version_path': 'VERSION',
701 'template_input_path': 'common/chrome_version_info_posix.h.version',
702 },
703 'conditions': [
704 [ 'branding == "Chrome"', {
705 'variables': {
706 'branding_path':
707 'app/theme/google_chrome/BRANDING',
708 },
709 }, { # else branding!="Chrome"
710 'variables': {
711 'branding_path':
712 'app/theme/chromium/BRANDING',
713 },
714 }],
715 ],
716 'inputs': [
717 '<(template_input_path)',
718 '<(version_path)',
719 '<(branding_path)',
720 '<(lastchange_path)',
721 ],
722 'outputs': [
723 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
724 ],
725 'action': [
726 'python',
727 '<(version_py_path)',
728 '-f', '<(version_path)',
729 '-f', '<(branding_path)',
730 '-f', '<(lastchange_path)',
731 '<(template_input_path)',
732 '<@(_outputs)',
733 ],
734 'message': 'Generating version information',
735 },
736 ],
737 }],
[email protected]dd363682009-12-28 20:30:46738 ],
739 },
[email protected]3c3065d2010-05-06 21:59:55740 {
741 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53742 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55743 'sources': [
[email protected]2ea1efe2013-07-17 05:23:13744 'common/net/net_error_info.cc',
745 'common/net/net_error_info.h',
[email protected]06305962012-05-09 22:34:36746 'common/net/net_resource_provider.cc',
747 'common/net/net_resource_provider.h',
748 'common/net/predictor_common.h',
[email protected]4f3b4462013-07-27 19:20:18749 'common/net/url_fixer_upper.cc',
750 'common/net/url_fixer_upper.h',
[email protected]06305962012-05-09 22:34:36751 'common/net/url_util.cc',
752 'common/net/url_util.h',
[email protected]b1c2a5542010-10-08 12:44:40753 'common/net/x509_certificate_model.cc',
754 'common/net/x509_certificate_model_nss.cc',
755 'common/net/x509_certificate_model_openssl.cc',
756 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55757 ],
758 'dependencies': [
[email protected]37794d02011-11-30 18:24:29759 '<(DEPTH)/base/base.gyp:base',
760 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
761 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
762 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]37794d02011-11-30 18:24:29763 '<(DEPTH)/net/net.gyp:net_resources',
764 '<(DEPTH)/net/net.gyp:net',
765 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
766 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55767 ],
[email protected]b1c2a5542010-10-08 12:44:40768 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04769 ['OS != "ios"', {
770 'dependencies': [
771 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
772 ],
773 }, { # OS == ios
774 'sources!': [
775 'common/net/net_resource_provider.cc',
776 'common/net/x509_certificate_model.cc',
777 ],
778 }],
779 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30780 'dependencies': [
781 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40782 ],
783 },
[email protected]af221ff2012-04-03 05:22:39784 ],
[email protected]fdaed545c2012-10-20 19:13:04785 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
[email protected]b1c2a5542010-10-08 12:44:40786 'sources!': [
787 'common/net/x509_certificate_model_nss.cc',
788 'common/net/x509_certificate_model_openssl.cc',
789 ],
790 },
791 ],
[email protected]af221ff2012-04-03 05:22:39792 ['OS == "android"', {
793 'dependencies': [
[email protected]8e853b142012-05-16 07:40:01794 '../third_party/openssl/openssl.gyp:openssl',
[email protected]af221ff2012-04-03 05:22:39795 ],
796 },
797 ],
[email protected]b1c2a5542010-10-08 12:44:40798 ['use_openssl==1', {
799 'sources!': [
800 'common/net/x509_certificate_model_nss.cc',
801 ],
802 },
803 { # else !use_openssl: remove the unneeded files
804 'sources!': [
805 'common/net/x509_certificate_model_openssl.cc',
806 ],
807 },
808 ],
[email protected]b1d2c742013-01-21 18:04:52809 ['OS=="win"', {
810 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
811 'msvs_disabled_warnings': [4267, ],
812 },
813 ],
[email protected]129d11452012-03-01 01:56:56814 ],
[email protected]3c3065d2010-05-06 21:59:55815 },
[email protected]133139772011-04-14 22:14:13816 {
[email protected]1c20dd62011-08-19 21:54:33817 # Protobuf compiler / generator for the safebrowsing client
818 # model proto and the client-side detection (csd) request
819 # protocol buffer.
[email protected]cae64fe2011-06-17 17:54:50820 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33821 'type': 'static_library',
822 'sources': [
823 'common/safe_browsing/client_model.proto',
824 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50825 ],
[email protected]1c20dd62011-08-19 21:54:33826 'variables': {
827 'proto_in_dir': 'common/safe_browsing',
828 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50829 },
[email protected]1c20dd62011-08-19 21:54:33830 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13831 },
[email protected]7ae45d0502012-01-31 00:29:26832 {
833 # Protobuf compiler / generator for UMA (User Metrics Analysis).
834 'target_name': 'metrics_proto',
835 'type': 'static_library',
836 'sources': [
[email protected]f89fdab12012-05-04 23:27:21837 'common/metrics/proto/chrome_experiments.proto',
[email protected]7ae45d0502012-01-31 00:29:26838 'common/metrics/proto/chrome_user_metrics_extension.proto',
839 'common/metrics/proto/histogram_event.proto',
840 'common/metrics/proto/omnibox_event.proto',
[email protected]f65859e2013-02-04 20:00:25841 'common/metrics/proto/perf_data.proto',
[email protected]9d7c4a82013-05-07 12:10:49842 'common/metrics/proto/permuted_entropy_cache.proto',
[email protected]2a08b1d2012-02-18 00:30:04843 'common/metrics/proto/profiler_event.proto',
[email protected]7ae45d0502012-01-31 00:29:26844 'common/metrics/proto/system_profile.proto',
845 'common/metrics/proto/user_action_event.proto',
846 ],
847 'variables': {
848 'proto_in_dir': 'common/metrics/proto',
849 'proto_out_dir': 'chrome/common/metrics/proto',
850 },
851 'includes': [ '../build/protoc.gypi' ],
852 },
[email protected]dd363682009-12-28 20:30:46853 ],
[email protected]dd363682009-12-28 20:30:46854}