blob: c0ef0f382f5c68df821d564deafd0fe0dab6be1d [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]3c3065d2010-05-06 21:59:5527 'common_net',
[email protected]b9bbf5532011-11-03 07:35:2228 'common_version',
[email protected]52927222013-03-19 22:38:1229 'installer_util',
[email protected]7ae45d0502012-01-31 00:29:2630 'metrics_proto',
[email protected]37794d02011-11-30 18:24:2931 '<(DEPTH)/base/base.gyp:base',
32 '<(DEPTH)/base/base.gyp:base_i18n',
[email protected]f59f33e2012-11-01 12:05:2733 '<(DEPTH)/base/base.gyp:base_prefs',
[email protected]37794d02011-11-30 18:24:2934 '<(DEPTH)/base/base.gyp:base_static',
[email protected]37794d02011-11-30 18:24:2935 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
36 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
37 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources',
[email protected]99245a02012-10-09 20:57:4938 '<(DEPTH)/chrome/common_constants.gyp:common_constants',
[email protected]fb1397ce2013-08-13 22:55:0739 '<(DEPTH)/components/components.gyp:json_schema',
[email protected]183be4e2013-08-14 14:41:1040 '<(DEPTH)/components/components.gyp:policy_component',
[email protected]50ae9f12013-08-29 18:03:2241 '<(DEPTH)/components/components.gyp:variations',
[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',
49 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
[email protected]720ceda2013-08-22 19:14:3750 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip',
[email protected]37794d02011-11-30 18:24:2951 '<(DEPTH)/ui/ui.gyp:ui_resources',
[email protected]002cc08f2013-06-03 05:40:2952 '<(DEPTH)/url/url.gyp:url_lib',
[email protected]fa02deb2013-05-31 22:31:4753 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
[email protected]dd363682009-12-28 20:30:4654 ],
55 'sources': [
[email protected]4bbdf9e2013-05-31 02:09:3856 '../apps/app_shim/app_shim_launch.h',
[email protected]acd2121c2013-03-18 05:54:5057 '../apps/app_shim/app_shim_messages.h',
[email protected]993da5e2013-03-23 21:25:1658 '../extensions/common/crx_file.cc',
59 '../extensions/common/crx_file.h',
[email protected]d5cc8692013-02-01 01:51:3660 '../extensions/common/draggable_region.cc',
61 '../extensions/common/draggable_region.h',
[email protected]e9f541a2012-11-19 21:52:3162 '../extensions/common/error_utils.cc',
63 '../extensions/common/error_utils.h',
[email protected]4b3e1922013-02-12 04:45:5864 '../extensions/common/event_filter.cc',
65 '../extensions/common/event_filter.h',
66 '../extensions/common/event_filtering_info.cc',
67 '../extensions/common/event_filtering_info.h',
68 '../extensions/common/event_matcher.cc',
69 '../extensions/common/event_matcher.h',
[email protected]32efb042013-03-29 00:23:2170 '../extensions/common/extension_paths.cc',
71 '../extensions/common/extension_paths.h',
[email protected]993da5e2013-03-23 21:25:1672 '../extensions/common/extension_resource.cc',
73 '../extensions/common/extension_resource.h',
[email protected]88b50b62013-09-01 23:05:0674 '../extensions/common/extension_urls.cc',
75 '../extensions/common/extension_urls.h',
[email protected]ad8b4ba2013-08-09 19:52:4476 '../extensions/common/extensions_client.cc',
77 '../extensions/common/extensions_client.h',
[email protected]d42c11152013-08-22 19:36:3278 '../extensions/common/features/feature.cc',
79 '../extensions/common/features/feature.h',
[email protected]ad8b4ba2013-08-09 19:52:4480 '../extensions/common/features/feature_provider.cc',
81 '../extensions/common/features/feature_provider.h',
[email protected]993da5e2013-03-23 21:25:1682 '../extensions/common/id_util.cc',
83 '../extensions/common/id_util.h',
[email protected]1d5e58b2013-01-31 08:41:4084 '../extensions/common/install_warning.cc',
[email protected]4a10006a2013-05-17 23:18:3585 '../extensions/common/install_warning.h',
[email protected]d42c11152013-08-22 19:36:3286 '../extensions/common/manifest.cc',
87 '../extensions/common/manifest.h',
[email protected]6bf90612013-08-15 00:36:2788 '../extensions/common/manifest_constants.cc',
89 '../extensions/common/manifest_constants.h',
[email protected]d32024d2013-02-04 23:15:1190 '../extensions/common/matcher/regex_set_matcher.cc',
91 '../extensions/common/matcher/regex_set_matcher.h',
92 '../extensions/common/matcher/string_pattern.cc',
93 '../extensions/common/matcher/string_pattern.h',
94 '../extensions/common/matcher/substring_set_matcher.cc',
95 '../extensions/common/matcher/substring_set_matcher.h',
96 '../extensions/common/matcher/url_matcher.cc',
97 '../extensions/common/matcher/url_matcher.h',
98 '../extensions/common/matcher/url_matcher_constants.cc',
99 '../extensions/common/matcher/url_matcher_constants.h',
100 '../extensions/common/matcher/url_matcher_factory.cc',
101 '../extensions/common/matcher/url_matcher_factory.h',
102 '../extensions/common/matcher/url_matcher_helpers.cc',
103 '../extensions/common/matcher/url_matcher_helpers.h',
[email protected]4a10006a2013-05-17 23:18:35104 '../extensions/common/one_shot_event.cc',
105 '../extensions/common/one_shot_event.h',
[email protected]ad8b4ba2013-08-09 19:52:44106 '../extensions/common/permissions/permissions_provider.h',
[email protected]88b50b62013-09-01 23:05:06107 '../extensions/common/stack_frame.cc',
108 '../extensions/common/stack_frame.h',
[email protected]49d9b142013-07-19 08:50:27109 '../extensions/common/switches.cc',
110 '../extensions/common/switches.h',
[email protected]885c0e92012-11-13 20:27:42111 '../extensions/common/url_pattern.cc',
112 '../extensions/common/url_pattern.h',
[email protected]e9f541a2012-11-19 21:52:31113 '../extensions/common/url_pattern_set.cc',
114 '../extensions/common/url_pattern_set.h',
[email protected]49d9b142013-07-19 08:50:27115 '../extensions/common/user_script.cc',
116 '../extensions/common/user_script.h',
[email protected]cb2edf22013-04-01 20:25:23117 '../extensions/common/view_type.cc',
118 '../extensions/common/view_type.h',
[email protected]4a6d74152011-09-26 20:42:30119 'common/all_messages.h',
[email protected]93156cec2011-09-12 21:14:44120 'common/attrition_experiments.h',
121 'common/auto_start_linux.cc',
122 'common/auto_start_linux.h',
[email protected]b7f64d742013-05-21 04:04:04123 'common/autocomplete_match_type.cc',
124 'common/autocomplete_match_type.h',
[email protected]cdb8bc282010-11-22 19:23:06125 'common/automation_constants.cc',
126 'common/automation_constants.h',
[email protected]c54ab2332011-12-05 21:05:42127 'common/automation_id.cc',
128 'common/automation_id.h',
[email protected]cdb8bc282010-11-22 19:23:06129 'common/automation_messages.cc',
130 'common/automation_messages.h',
131 'common/automation_messages_internal.h',
132 'common/badge_util.cc',
133 'common/badge_util.h',
[email protected]62867b02012-11-03 07:21:03134 'common/cancelable_task_tracker.cc',
135 'common/cancelable_task_tracker.h',
[email protected]93156cec2011-09-12 21:14:44136 'common/child_process_logging.h',
[email protected]93156cec2011-09-12 21:14:44137 'common/child_process_logging_mac.mm',
[email protected]1f26b9a2012-02-28 00:29:38138 'common/child_process_logging_posix.cc',
[email protected]93156cec2011-09-12 21:14:44139 'common/child_process_logging_win.cc',
[email protected]50e52cd2011-03-10 00:57:29140 'common/chrome_content_client.cc',
141 'common/chrome_content_client.h',
[email protected]18e78c582013-05-22 22:40:55142 'common/chrome_content_client_constants.cc',
[email protected]b7d1efa62012-11-16 11:22:02143 'common/chrome_content_client_ios.mm',
[email protected]c530c852011-10-24 18:18:34144 'common/chrome_result_codes.h',
[email protected]19a5c7442011-10-21 20:00:41145 'common/chrome_utility_messages.h',
[email protected]93156cec2011-09-12 21:14:44146 'common/chrome_version_info.cc',
[email protected]281288d2012-11-09 03:03:23147 'common/chrome_version_info_android.cc',
[email protected]3a12f882011-12-14 06:39:25148 'common/chrome_version_info_chromeos.cc',
[email protected]1f26b9a2012-02-28 00:29:38149 'common/chrome_version_info_posix.cc',
[email protected]93156cec2011-09-12 21:14:44150 'common/chrome_version_info_mac.mm',
151 'common/chrome_version_info_win.cc',
152 'common/chrome_version_info.h',
[email protected]13aec6c42011-10-27 21:22:08153 'common/cloud_print/cloud_print_class_mac.h',
154 'common/cloud_print/cloud_print_class_mac.mm',
[email protected]3eadbf22012-12-03 08:34:46155 'common/cloud_print/cloud_print_constants.cc',
156 'common/cloud_print/cloud_print_constants.h',
[email protected]b106ca52012-03-13 06:08:46157 'common/cloud_print/cloud_print_helpers.cc',
158 'common/cloud_print/cloud_print_helpers.h',
[email protected]de119cf22011-05-11 20:41:35159 'common/cloud_print/cloud_print_proxy_info.cc',
160 'common/cloud_print/cloud_print_proxy_info.h',
[email protected]fffaf972011-03-24 01:34:35161 'common/common_message_generator.cc',
162 'common/common_message_generator.h',
[email protected]79d68c62011-04-15 21:07:03163 'common/common_param_traits.cc',
164 'common/common_param_traits.h',
[email protected]af049dd2012-06-26 01:01:42165 'common/common_param_traits_macros.h',
[email protected]3c71576ce2013-07-23 02:00:01166 'common/content_restriction.h',
[email protected]93156cec2011-09-12 21:14:44167 'common/content_settings.cc',
168 'common/content_settings.h',
169 'common/content_settings_helper.cc',
170 'common/content_settings_helper.h',
[email protected]1d03fa32011-09-21 08:19:27171 'common/content_settings_pattern.cc',
172 'common/content_settings_pattern.h',
173 'common/content_settings_pattern_parser.cc',
174 'common/content_settings_pattern_parser.h',
[email protected]93156cec2011-09-12 21:14:44175 'common/content_settings_types.h',
[email protected]50cdead2013-01-03 18:36:33176 'common/crash_keys.cc',
177 'common/crash_keys.h',
[email protected]083917c82011-07-13 00:34:35178 'common/custom_handlers/protocol_handler.cc',
179 'common/custom_handlers/protocol_handler.h',
[email protected]29699c22012-10-03 23:57:39180 'common/descriptors_android.h',
[email protected]fe69aa12013-02-01 03:37:27181 'common/dump_without_crashing.cc',
182 'common/dump_without_crashing.h',
[email protected]2b12c322013-09-19 06:53:56183 'common/encrypted_media_messages_android.cc',
184 'common/encrypted_media_messages_android.h',
[email protected]b76c288a2013-01-24 02:30:34185 'common/extensions/api/commands/commands_handler.cc',
186 'common/extensions/api/commands/commands_handler.h',
[email protected]23b3c0a2013-01-16 23:36:36187 'common/extensions/api/extension_action/action_info.cc',
188 'common/extensions/api/extension_action/action_info.h',
[email protected]f9655482013-02-13 09:22:51189 'common/extensions/api/extension_action/browser_action_handler.cc',
190 'common/extensions/api/extension_action/browser_action_handler.h',
191 'common/extensions/api/extension_action/page_action_handler.cc',
192 'common/extensions/api/extension_action/page_action_handler.h',
193 'common/extensions/api/extension_action/script_badge_handler.cc',
194 'common/extensions/api/extension_action/script_badge_handler.h',
[email protected]d356c982012-12-12 19:32:55195 'common/extensions/api/extension_api.cc',
196 'common/extensions/api/extension_api.h',
197 'common/extensions/api/extension_api_stub.cc',
[email protected]a31c3982013-07-13 04:33:31198 'common/extensions/api/file_browser_handlers/file_browser_handler.cc',
199 'common/extensions/api/file_browser_handlers/file_browser_handler.h',
[email protected]06492ed2013-03-24 22:13:14200 'common/extensions/api/file_handlers/file_handlers_parser.cc',
201 'common/extensions/api/file_handlers/file_handlers_parser.h',
[email protected]0273969d2013-01-30 22:16:31202 'common/extensions/api/i18n/default_locale_handler.cc',
203 'common/extensions/api/i18n/default_locale_handler.h',
[email protected]29e0c4e72013-02-01 04:42:56204 'common/extensions/api/identity/oauth2_manifest_handler.cc',
205 'common/extensions/api/identity/oauth2_manifest_handler.h',
[email protected]4af65592013-01-04 21:06:19206 'common/extensions/api/input_ime/input_components_handler.cc',
207 'common/extensions/api/input_ime/input_components_handler.h',
[email protected]09a8631eb2013-03-27 22:52:44208 'common/extensions/api/managed_mode_private/managed_mode_handler.cc',
209 'common/extensions/api/managed_mode_private/managed_mode_handler.h',
[email protected]a31c3982013-07-13 04:33:31210 'common/extensions/api/media_galleries_private/media_galleries_handler.h',
211 'common/extensions/api/media_galleries_private/media_galleries_handler.cc',
[email protected]d356c982012-12-12 19:32:55212 'common/extensions/api/omnibox/omnibox_handler.cc',
213 'common/extensions/api/omnibox/omnibox_handler.h',
[email protected]098fa7a2013-03-08 22:11:17214 'common/extensions/api/plugins/plugins_handler.cc',
215 'common/extensions/api/plugins/plugins_handler.h',
[email protected]692a8062013-01-10 04:14:42216 'common/extensions/api/speech/tts_engine_manifest_handler.cc',
217 'common/extensions/api/speech/tts_engine_manifest_handler.h',
[email protected]76628452013-04-26 04:39:32218 'common/extensions/api/spellcheck/spellcheck_handler.cc',
219 'common/extensions/api/spellcheck/spellcheck_handler.h',
[email protected]a31c3982013-07-13 04:33:31220 'common/extensions/api/storage/storage_schema_manifest_handler.cc',
221 'common/extensions/api/storage/storage_schema_manifest_handler.h',
[email protected]4e786932013-03-25 19:21:04222 'common/extensions/api/system_indicator/system_indicator_handler.cc',
223 'common/extensions/api/system_indicator/system_indicator_handler.h',
[email protected]43197ea22013-09-10 15:31:56224 'common/extensions/api/url_handlers/url_handlers_parser.cc',
225 'common/extensions/api/url_handlers/url_handlers_parser.h',
[email protected]9367eabc2013-03-01 01:29:29226 'common/extensions/background_info.cc',
227 'common/extensions/background_info.h',
[email protected]ad8b4ba2013-08-09 19:52:44228 'common/extensions/chrome_extensions_client.cc',
229 'common/extensions/chrome_extensions_client.h',
[email protected]d592b1bd2013-05-06 06:40:47230 'common/extensions/chrome_manifest_handlers.cc',
231 'common/extensions/chrome_manifest_handlers.h',
[email protected]65907942012-05-22 19:59:47232 'common/extensions/command.cc',
233 'common/extensions/command.h',
[email protected]f1d88d92013-02-16 01:54:47234 'common/extensions/csp_handler.cc',
235 'common/extensions/csp_handler.h',
[email protected]ee0be772011-12-02 08:02:10236 'common/extensions/csp_validator.cc',
237 'common/extensions/csp_validator.h',
[email protected]d15e8a02013-05-30 03:24:26238 'common/extensions/dom_action_types.h',
[email protected]dd363682009-12-28 20:30:46239 'common/extensions/extension.cc',
240 'common/extensions/extension.h',
241 'common/extensions/extension_constants.cc',
242 'common/extensions/extension_constants.h',
[email protected]7c927b62010-02-24 09:54:13243 'common/extensions/extension_file_util.cc',
244 'common/extensions/extension_file_util.h',
[email protected]807871f2010-09-16 01:04:48245 'common/extensions/extension_icon_set.cc',
246 'common/extensions/extension_icon_set.h',
[email protected]dd363682009-12-28 20:30:46247 'common/extensions/extension_l10n_util.cc',
248 'common/extensions/extension_l10n_util.h',
[email protected]44c49c92011-03-28 16:17:23249 'common/extensions/extension_messages.cc',
250 'common/extensions/extension_messages.h',
[email protected]808d1512011-12-14 16:29:59251 'common/extensions/extension_process_policy.cc',
252 'common/extensions/extension_process_policy.h',
[email protected]ec7db282011-01-29 01:11:36253 'common/extensions/extension_set.cc',
254 'common/extensions/extension_set.h',
[email protected]ee837d32012-10-02 22:25:49255 'common/extensions/feature_switch.cc',
256 'common/extensions/feature_switch.h',
[email protected]4770acb2013-03-28 12:40:24257 'common/extensions/features/api_feature.cc',
258 'common/extensions/features/api_feature.h',
[email protected]4b927fe2012-12-15 20:30:45259 'common/extensions/features/base_feature_provider.cc',
260 'common/extensions/features/base_feature_provider.h',
261 'common/extensions/features/complex_feature.cc',
262 'common/extensions/features/complex_feature.h',
[email protected]15d4d2d2013-08-09 06:49:03263 'common/extensions/features/feature_channel.cc',
264 'common/extensions/features/feature_channel.h',
[email protected]5115ccc2012-06-11 19:47:07265 'common/extensions/features/manifest_feature.cc',
266 'common/extensions/features/manifest_feature.h',
267 'common/extensions/features/permission_feature.cc',
268 'common/extensions/features/permission_feature.h',
[email protected]4b927fe2012-12-15 20:30:45269 'common/extensions/features/simple_feature.cc',
270 'common/extensions/features/simple_feature.h',
[email protected]06492ed2013-03-24 22:13:14271 'common/extensions/incognito_handler.cc',
272 'common/extensions/incognito_handler.h',
[email protected]d356c982012-12-12 19:32:55273 'common/extensions/manifest_handler.cc',
274 'common/extensions/manifest_handler.h',
[email protected]23b3c0a2013-01-16 23:36:36275 'common/extensions/manifest_handler_helpers.cc',
276 'common/extensions/manifest_handler_helpers.h',
[email protected]561e33d52013-04-03 06:58:43277 'common/extensions/manifest_handlers/app_isolation_info.cc',
278 'common/extensions/manifest_handlers/app_isolation_info.h',
[email protected]6b414c232013-06-05 07:53:34279 'common/extensions/manifest_handlers/app_launch_info.cc',
280 'common/extensions/manifest_handlers/app_launch_info.h',
[email protected]334ec0a2013-03-24 01:36:16281 'common/extensions/manifest_handlers/content_scripts_handler.cc',
282 'common/extensions/manifest_handlers/content_scripts_handler.h',
[email protected]5c259802013-04-24 09:27:05283 'common/extensions/manifest_handlers/externally_connectable.cc',
284 'common/extensions/manifest_handlers/externally_connectable.h',
[email protected]abe720c02013-04-12 04:00:10285 'common/extensions/manifest_handlers/icons_handler.cc',
286 'common/extensions/manifest_handlers/icons_handler.h',
[email protected]7152d4dd2013-03-29 06:06:41287 'common/extensions/manifest_handlers/kiosk_enabled_info.cc',
288 'common/extensions/manifest_handlers/kiosk_enabled_info.h',
[email protected]28707cdc2013-07-18 21:38:08289 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
290 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h',
[email protected]31622542013-05-30 19:42:30291 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
292 'common/extensions/manifest_handlers/nacl_modules_handler.h',
[email protected]da80bdf2013-03-28 23:27:21293 'common/extensions/manifest_handlers/offline_enabled_info.cc',
294 'common/extensions/manifest_handlers/offline_enabled_info.h',
[email protected]d5a8df32013-03-26 07:20:41295 'common/extensions/manifest_handlers/requirements_handler.cc',
296 'common/extensions/manifest_handlers/requirements_handler.h',
[email protected]2702b79f2013-03-27 08:44:33297 'common/extensions/manifest_handlers/sandboxed_page_info.cc',
298 'common/extensions/manifest_handlers/sandboxed_page_info.h',
[email protected]b56d3c72013-04-30 01:04:35299 'common/extensions/manifest_handlers/shared_module_info.cc',
300 'common/extensions/manifest_handlers/shared_module_info.h',
[email protected]72b49d42013-04-19 12:47:31301 'common/extensions/manifest_handlers/theme_handler.cc',
302 'common/extensions/manifest_handlers/theme_handler.h',
[email protected]a405f6d2013-01-11 11:50:13303 'common/extensions/manifest_url_handler.cc',
304 'common/extensions/manifest_url_handler.h',
[email protected]40404bc2012-07-25 17:40:49305 'common/extensions/message_bundle.cc',
306 'common/extensions/message_bundle.h',
[email protected]92549352013-03-12 07:55:57307 'common/extensions/mime_types_handler.cc',
308 'common/extensions/mime_types_handler.h',
[email protected]c2e66e12012-06-27 06:27:06309 'common/extensions/permissions/api_permission.cc',
310 'common/extensions/permissions/api_permission.h',
[email protected]1d8b79a2012-08-16 20:22:54311 'common/extensions/permissions/api_permission_set.cc',
312 'common/extensions/permissions/api_permission_set.h',
[email protected]14ed8dc2013-07-02 03:02:09313 'common/extensions/permissions/bluetooth_permission.cc',
314 'common/extensions/permissions/bluetooth_permission.h',
315 'common/extensions/permissions/bluetooth_permission_data.cc',
316 'common/extensions/permissions/bluetooth_permission_data.h',
[email protected]e676f8f2013-04-04 09:04:37317 'common/extensions/permissions/chrome_api_permissions.cc',
318 'common/extensions/permissions/chrome_api_permissions.h',
[email protected]abf91a62013-07-09 08:03:04319 'common/extensions/permissions/chrome_scheme_hosts.cc',
320 'common/extensions/permissions/chrome_scheme_hosts.h',
[email protected]398d77b2013-01-17 01:31:06321 'common/extensions/permissions/media_galleries_permission.cc',
322 'common/extensions/permissions/media_galleries_permission.h',
323 'common/extensions/permissions/media_galleries_permission_data.cc',
324 'common/extensions/permissions/media_galleries_permission_data.h',
[email protected]c2e66e12012-06-27 06:27:06325 'common/extensions/permissions/permission_message.cc',
326 'common/extensions/permissions/permission_message.h',
327 'common/extensions/permissions/permission_set.cc',
328 'common/extensions/permissions/permission_set.h',
[email protected]2cb5e302013-05-09 05:00:06329 'common/extensions/permissions/permissions_data.cc',
330 'common/extensions/permissions/permissions_data.h',
[email protected]c2e66e12012-06-27 06:27:06331 'common/extensions/permissions/permissions_info.cc',
332 'common/extensions/permissions/permissions_info.h',
[email protected]f3cc80632012-12-06 19:30:25333 'common/extensions/permissions/set_disjunction_permission.h',
[email protected]1d8b79a2012-08-16 20:22:54334 'common/extensions/permissions/socket_permission.cc',
335 'common/extensions/permissions/socket_permission.h',
336 'common/extensions/permissions/socket_permission_data.cc',
337 'common/extensions/permissions/socket_permission_data.h',
[email protected]ad46f222012-12-11 07:18:15338 'common/extensions/permissions/usb_device_permission.cc',
339 'common/extensions/permissions/usb_device_permission.h',
340 'common/extensions/permissions/usb_device_permission_data.cc',
341 'common/extensions/permissions/usb_device_permission_data.h',
[email protected]8f3bcbd2013-06-05 08:42:40342 'common/extensions/sync_helper.cc',
343 'common/extensions/sync_helper.h',
[email protected]dd363682009-12-28 20:30:46344 'common/extensions/update_manifest.cc',
345 'common/extensions/update_manifest.h',
[email protected]d9e559d2012-07-05 01:04:57346 'common/extensions/value_counter.cc',
347 'common/extensions/value_counter.h',
[email protected]d4e96fa2013-01-16 21:12:54348 'common/extensions/web_accessible_resources_handler.cc',
349 'common/extensions/web_accessible_resources_handler.h',
[email protected]93156cec2011-09-12 21:14:44350 'common/external_ipc_fuzzer.cc',
[email protected]b7fa4992013-07-03 00:32:13351 'common/external_ipc_fuzzer.h',
[email protected]78dfe382013-07-17 18:05:42352 'common/favicon/favicon_types.cc',
353 'common/favicon/favicon_types.h',
354 'common/favicon/favicon_url_parser.cc',
355 'common/favicon/favicon_url_parser.h',
[email protected]6ae45eb2012-11-29 23:27:28356 'common/icon_with_badge_image_source.cc',
357 'common/icon_with_badge_image_source.h',
[email protected]946b4ee02013-07-16 21:57:52358 'common/importer/firefox_importer_utils.cc',
359 'common/importer/firefox_importer_utils.h',
360 'common/importer/firefox_importer_utils_linux.cc',
361 'common/importer/firefox_importer_utils_mac.mm',
362 'common/importer/firefox_importer_utils_win.cc',
363 'common/importer/ie_importer_test_registry_overrider_win.cc',
364 'common/importer/ie_importer_test_registry_overrider_win.h',
365 'common/importer/ie_importer_utils_win.cc',
366 'common/importer/ie_importer_utils_win.h',
[email protected]b7fa4992013-07-03 00:32:13367 'common/importer/imported_bookmark_entry.cc',
368 'common/importer/imported_bookmark_entry.h',
369 'common/importer/imported_favicon_usage.cc',
370 'common/importer/imported_favicon_usage.h',
[email protected]946b4ee02013-07-16 21:57:52371 'common/importer/importer_bridge.cc',
372 'common/importer/importer_bridge.h',
[email protected]b7fa4992013-07-03 00:32:13373 'common/importer/importer_data_types.cc',
374 'common/importer/importer_data_types.h',
375 'common/importer/importer_type.h',
[email protected]3eb29c1c2013-06-29 00:07:14376 'common/importer/importer_url_row.cc',
377 'common/importer/importer_url_row.h',
[email protected]b7fa4992013-07-03 00:32:13378 'common/importer/profile_import_process_messages.cc',
379 'common/importer/profile_import_process_messages.h',
[email protected]b5be8662013-07-17 00:20:43380 'common/importer/safari_importer_utils.h',
381 'common/importer/safari_importer_utils.mm',
[email protected]8b169b4b2013-03-23 18:24:46382 'common/instant_restricted_id_cache.h',
[email protected]0e7cb682012-08-15 04:04:38383 'common/instant_types.cc',
[email protected]93156cec2011-09-12 21:14:44384 'common/instant_types.h',
[email protected]499512b2012-08-08 19:27:49385 'common/localized_error.cc',
386 'common/localized_error.h',
[email protected]93156cec2011-09-12 21:14:44387 'common/logging_chrome.cc',
388 'common/logging_chrome.h',
[email protected]46821242011-08-19 13:59:59389 'common/mac/app_mode_common.h',
390 'common/mac/app_mode_common.mm',
[email protected]00ecec52011-08-19 20:01:24391 'common/mac/cfbundle_blocker.h',
392 'common/mac/cfbundle_blocker.mm',
[email protected]46821242011-08-19 13:59:59393 'common/mac/launchd.h',
394 'common/mac/launchd.mm',
[email protected]d9b6d572012-10-22 16:41:19395 'common/mac/nscoder_util.h',
396 'common/mac/nscoder_util.mm',
[email protected]d02437b2011-09-06 17:25:15397 'common/mac/objc_method_swizzle.h',
398 'common/mac/objc_method_swizzle.mm',
399 'common/mac/objc_zombie.h',
400 'common/mac/objc_zombie.mm',
[email protected]6ef98b5a2013-05-31 23:58:31401 'common/media/webrtc_logging_messages.h',
[email protected]c277e2b2013-08-02 15:41:08402 'common/metrics/caching_permuted_entropy_provider.cc',
403 'common/metrics/caching_permuted_entropy_provider.h',
[email protected]e182be02012-01-27 02:35:44404 'common/metrics/metrics_log_base.cc',
405 'common/metrics/metrics_log_base.h',
[email protected]2e4cd1a2012-01-12 08:51:03406 'common/metrics/metrics_log_manager.cc',
407 'common/metrics/metrics_log_manager.h',
[email protected]e182be02012-01-27 02:35:44408 'common/metrics/metrics_service_base.cc',
409 'common/metrics/metrics_service_base.h',
[email protected]e90c7562013-02-27 20:22:18410 'common/metrics/variations/uniformity_field_trials.cc',
411 'common/metrics/variations/uniformity_field_trials.h',
[email protected]cf265dc02012-08-15 01:01:16412 'common/metrics/variations/variations_util.cc',
413 'common/metrics/variations/variations_util.h',
[email protected]93156cec2011-09-12 21:14:44414 'common/multi_process_lock.h',
415 'common/multi_process_lock_linux.cc',
416 'common/multi_process_lock_mac.cc',
417 'common/multi_process_lock_win.cc',
[email protected]48c1ebd2013-04-27 02:22:27418 'common/omaha_query_params/omaha_query_params.cc',
419 'common/omaha_query_params/omaha_query_params.h',
[email protected]ca98bd32013-04-09 05:16:05420 'common/omnibox_focus_state.h',
[email protected]6ef98b5a2013-05-31 23:58:31421 'common/partial_circular_buffer.cc',
422 'common/partial_circular_buffer.h',
[email protected]9b4f6082012-04-24 01:43:07423 'common/pepper_flash.cc',
424 'common/pepper_flash.h',
[email protected]9d450492013-06-13 23:08:37425 'common/pepper_permission_util.cc',
426 'common/pepper_permission_util.h',
[email protected]be85e7d2012-10-31 08:34:20427 'common/pref_names_util.cc',
428 'common/pref_names_util.h',
[email protected]b4bd67a2011-08-22 19:04:09429 'common/print_messages.cc',
[email protected]1375e3ab2011-03-24 17:07:22430 'common/print_messages.h',
[email protected]93156cec2011-09-12 21:14:44431 'common/profiling.cc',
432 'common/profiling.h',
[email protected]93156cec2011-09-12 21:14:44433 'common/ref_counted_util.h',
[email protected]7a4de7a62010-08-17 18:38:24434 'common/render_messages.cc',
[email protected]dd363682009-12-28 20:30:46435 'common/render_messages.h',
[email protected]f6fd9042013-02-14 18:43:58436 'common/safe_browsing/download_protection_util.cc',
437 'common/safe_browsing/download_protection_util.h',
[email protected]93156cec2011-09-12 21:14:44438 'common/safe_browsing/safebrowsing_messages.h',
[email protected]f6fd9042013-02-14 18:43:58439 'common/safe_browsing/zip_analyzer.cc',
440 'common/safe_browsing/zip_analyzer.h',
[email protected]c08e7932011-03-29 04:08:14441 'common/search_provider.h',
[email protected]c3917742012-11-21 01:51:14442 'common/search_types.h',
[email protected]38fe1962010-07-31 07:57:00443 'common/service_messages.h',
[email protected]7a4de7a62010-08-17 18:38:24444 'common/service_process_util.cc',
445 'common/service_process_util.h',
[email protected]56f0f262011-02-24 17:14:36446 'common/service_process_util_linux.cc',
447 'common/service_process_util_mac.mm',
[email protected]146354942010-10-13 20:27:04448 'common/service_process_util_posix.cc',
[email protected]56f0f262011-02-24 17:14:36449 'common/service_process_util_posix.h',
[email protected]146354942010-10-13 20:27:04450 'common/service_process_util_win.cc',
[email protected]dd363682009-12-28 20:30:46451 'common/spellcheck_common.cc',
452 'common/spellcheck_common.h',
[email protected]f6add48e2013-05-14 00:58:07453 'common/spellcheck_marker.h',
[email protected]3e267192011-03-25 01:55:45454 'common/spellcheck_messages.h',
[email protected]7ed49c22012-02-17 02:14:53455 'common/spellcheck_result.h',
[email protected]93156cec2011-09-12 21:14:44456 'common/switch_utils.cc',
457 'common/switch_utils.h',
[email protected]dd363682009-12-28 20:30:46458 'common/thumbnail_score.cc',
459 'common/thumbnail_score.h',
[email protected]b2ed9c672013-06-06 23:34:00460 'common/translate/language_detection_details.cc',
461 'common/translate/language_detection_details.h',
[email protected]d7575c22013-07-11 13:54:22462 'common/translate/language_detection_util.cc',
463 'common/translate/language_detection_util.h',
464 'common/translate/translate_common_metrics.cc',
465 'common/translate/translate_common_metrics.h',
[email protected]1fb417f22013-06-10 11:28:06466 'common/translate/translate_errors.h',
467 'common/translate/translate_util.cc',
468 'common/translate/translate_util.h',
[email protected]7a06d282013-05-03 04:39:33469 'common/tts_messages.h',
470 'common/tts_utterance_request.cc',
471 'common/tts_utterance_request.h',
[email protected]dd363682009-12-28 20:30:46472 'common/url_constants.cc',
473 'common/url_constants.h',
[email protected]1352ca92013-04-30 02:30:27474 'common/validation_message_messages.h',
[email protected]93f50462013-05-10 04:40:40475 'common/web_application_info.cc',
476 'common/web_application_info.h',
[email protected]dd363682009-12-28 20:30:46477 'common/worker_thread_ticker.cc',
478 'common/worker_thread_ticker.h',
[email protected]512b5bd2013-07-23 20:24:00479 '../components/nacl/common/nacl_host_messages.h',
[email protected]d5d383252013-07-04 14:44:32480 '../components/nacl/common/nacl_process_type.h',
[email protected]2ed42062013-07-22 18:13:57481 '../components/nacl/common/nacl_sandbox_type_mac.h',
[email protected]512b5bd2013-07-23 20:24:00482 '../components/nacl/common/pnacl_types.cc',
483 '../components/nacl/common/pnacl_types.h',
[email protected]dd363682009-12-28 20:30:46484 ],
485 'conditions': [
[email protected]989ae862013-03-13 04:22:58486 ['enable_extensions==1', {
487 'sources!': [
488 'common/extensions/api/extension_api_stub.cc',
489 ],
490 'dependencies': [
[email protected]1ff64292013-07-18 20:37:15491 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
[email protected]e3a9ccfc2013-06-03 00:22:30492 '../device/usb/usb.gyp:device_usb',
[email protected]989ae862013-03-13 04:22:58493 ],
494 }, { # enable_extensions == 0
495 'sources/': [
496 ['exclude', '^common/extensions/api/'],
497 ['include', 'common/extensions/api/extension_api_stub.cc'],
498 ['include', 'common/extensions/api/extension_action/action_info.cc'],
499 ['include', 'common/extensions/api/extension_action/action_info.h'],
[email protected]989ae862013-03-13 04:22:58500 ['include', 'common/extensions/api/i18n/default_locale_handler.cc'],
501 ['include', 'common/extensions/api/i18n/default_locale_handler.h'],
502 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'],
503 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'],
[email protected]09a8631eb2013-03-27 22:52:44504 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.cc'],
505 ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.h'],
[email protected]d02e3542013-07-15 12:27:25506 ['include', 'common/extensions/api/plugins/plugins_handler.cc'],
507 ['include', 'common/extensions/api/plugins/plugins_handler.h'],
[email protected]d02e3542013-07-15 12:27:25508 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.cc'],
509 ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.h'],
[email protected]989ae862013-03-13 04:22:58510 ],
511 }],
[email protected]c51694f2013-06-25 02:50:24512 ['OS=="win" or OS=="mac"', {
513 'sources': [
[email protected]580ce3d62013-07-31 05:28:48514 'common/media_galleries/itunes_library.cc',
515 'common/media_galleries/itunes_library.h',
516 'common/media_galleries/itunes_xml_utils.cc',
517 'common/media_galleries/itunes_xml_utils.h',
[email protected]62116d02013-06-26 04:32:00518 'common/media_galleries/picasa_types.cc',
519 'common/media_galleries/picasa_types.h',
520 'common/media_galleries/pmp_constants.h',
[email protected]c51694f2013-06-25 02:50:24521 ],
522 }],
[email protected]fdaed545c2012-10-20 19:13:04523 ['OS != "ios"', {
524 'dependencies': [
525 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
526 '<(DEPTH)/chrome/common/extensions/api/api.gyp:api',
[email protected]d04f81912013-06-18 14:52:13527 '<(DEPTH)/components/components.gyp:autofill_core_common',
[email protected]0acf1d42013-07-22 14:54:58528 '<(DEPTH)/components/nacl_common.gyp:nacl_common',
[email protected]fdaed545c2012-10-20 19:13:04529 '<(DEPTH)/ipc/ipc.gyp:ipc',
530 '<(DEPTH)/printing/printing.gyp:printing',
531 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h',
532 '<(DEPTH)/third_party/re2/re2.gyp:re2',
533 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
[email protected]fdaed545c2012-10-20 19:13:04534 ],
535 }, { # OS == ios
536 'sources/': [
[email protected]fdaed545c2012-10-20 19:13:04537 ['exclude', '^common/child_process_'],
538 ['exclude', '^common/chrome_content_client\\.cc$'],
539 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
540 ['exclude', '^common/common_message_generator\\.cc$'],
541 ['exclude', '^common/common_param_traits'],
542 ['exclude', '^common/custom_handlers/'],
543 ['exclude', '^common/extensions/'],
544 ['exclude', '^common/external_ipc_fuzzer\\.'],
545 ['exclude', '^common/logging_chrome\\.'],
546 ['exclude', '^common/multi_process_'],
547 ['exclude', '^common/nacl_'],
548 ['exclude', '^common/pepper_flash\\.'],
549 ['exclude', '^common/profiling\\.'],
550 ['exclude', '^common/service_process_util_'],
551 ['exclude', '^common/spellcheck_'],
[email protected]1352ca92013-04-30 02:30:27552 ['exclude', '^common/validation_message_'],
[email protected]fdaed545c2012-10-20 19:13:04553 ['exclude', '^common/web_apps\\.'],
554 # TODO(ios): Include files here as they are made to work; once
555 # everything is online, remove everything below here and just
556 # use the exclusions above.
[email protected]b7d1efa62012-11-16 11:22:02557 ['exclude', '\\.(cc|mm)$'],
558 ['include', '_ios\\.(cc|mm)$'],
559 ['include', '(^|/)ios/'],
560 ['include', '^common/chrome_version_info\\.cc$'],
[email protected]d7575c22013-07-11 13:54:22561 ['include', '^common/translate'],
[email protected]b7d1efa62012-11-16 11:22:02562 ['include', '^common/zip'],
[email protected]fdaed545c2012-10-20 19:13:04563 ],
[email protected]271e88fc2013-05-06 07:48:05564 'include_dirs': [
565 '<(DEPTH)/breakpad/src',
566 ],
[email protected]fdaed545c2012-10-20 19:13:04567 }],
[email protected]e389c472013-07-24 02:49:58568 ['OS!="ios" and chrome_multiple_dll!=1', {
569 'dependencies': [
570 '<(DEPTH)/webkit/support/webkit_support.gyp:glue',
571 ],
572 }],
[email protected]9f6167c2012-03-16 02:28:17573 ['OS=="android"', {
574 'sources/': [
[email protected]281288d2012-11-09 03:03:23575 ['exclude', '^common/chrome_version_info_posix.cc'],
[email protected]9f6167c2012-03-16 02:28:17576 ['exclude', '^common/service_'],
577 ],
[email protected]81bdab22013-09-02 21:12:52578 'sources!': [
579 'common/badge_util.cc',
580 'common/extensions/api/extension_action/browser_action_handler.cc',
581 'common/extensions/api/extension_action/page_action_handler.cc',
582 'common/extensions/api/spellcheck/spellcheck_handler.cc',
583 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
584 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
585 'common/icon_with_badge_image_source.cc',
586 'common/importer/imported_bookmark_entry.cc',
587 'common/importer/importer_bridge.cc',
588 'common/importer/importer_data_types.cc',
589 'common/importer/importer_url_row.cc',
590 'common/net/url_util.cc',
[email protected]81bdab22013-09-02 21:12:52591 'common/spellcheck_common.cc',
592 ],
[email protected]ccd90f02012-11-01 19:52:15593 'dependencies!': [
594 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy',
595 ],
[email protected]9f6167c2012-03-16 02:28:17596 }],
[email protected]93156cec2011-09-12 21:14:44597 ['OS=="win"', {
598 'include_dirs': [
[email protected]27b38d62013-08-14 18:12:11599 '<(DEPTH)/breakpad/src',
[email protected]93156cec2011-09-12 21:14:44600 '<(DEPTH)/third_party/wtl/include',
[email protected]f65fdfc2013-03-05 21:56:04601 ],
[email protected]ef777a42011-11-25 13:15:43602 }],
[email protected]c1cc0e02013-07-04 12:46:35603 ['enable_mdns == 1', {
604 'sources': [
[email protected]686e985e2013-07-18 22:04:56605 'common/local_discovery/local_discovery_messages.h',
[email protected]c1cc0e02013-07-04 12:46:35606 'common/local_discovery/service_discovery_client.cc',
607 'common/local_discovery/service_discovery_client.h',
608 ]
609 }],
[email protected]cb5e5072011-05-19 21:49:41610 ['toolkit_uses_gtk == 1', {
[email protected]dd363682009-12-28 20:30:46611 'dependencies': [
612 '../build/linux/system.gyp:gtk',
613 ],
614 'export_dependent_settings': [
615 '../third_party/sqlite/sqlite.gyp:sqlite',
616 ],
617 'link_settings': {
618 'libraries': [
619 '-lX11',
620 '-lXrender',
[email protected]8b46c13b2010-01-26 19:50:54621 '-lXss',
[email protected]dd363682009-12-28 20:30:46622 '-lXext',
623 ],
624 },
[email protected]0ce34852011-09-23 20:00:51625 }],
[email protected]89886fa32012-10-08 23:46:33626 ['chromeos==1', {
[email protected]3a12f882011-12-14 06:39:25627 'sources!': [
628 'common/chrome_version_info_linux.cc',
629 ],
630 }],
[email protected]b9bbf5532011-11-03 07:35:22631 ['OS=="mac"', {
632 'dependencies': [
633 '../third_party/mach_override/mach_override.gyp:mach_override',
634 ],
635 'include_dirs': [
[email protected]271e88fc2013-05-06 07:48:05636 '<(DEPTH)/breakpad/src',
[email protected]b9bbf5532011-11-03 07:35:22637 '../third_party/GTM',
638 ],
[email protected]1f26b9a2012-02-28 00:29:38639 'sources!': [
640 'common/child_process_logging_posix.cc',
641 'common/chrome_version_info_posix.cc',
642 ],
[email protected]b9bbf5532011-11-03 07:35:22643 }],
644 ['remoting==1', {
645 'dependencies': [
646 '../remoting/remoting.gyp:remoting_client_plugin',
647 ],
648 }],
[email protected]098dff8a2013-01-23 20:54:49649 ['enable_automation==0', {
650 'sources/': [
651 ['exclude', '^common/automation_']
[email protected]edf48d42013-03-07 05:44:43652 ]
[email protected]90b54ed2013-01-28 10:38:42653 }],
[email protected]e3d193772013-09-11 15:18:26654 ['enable_plugins==0', {
655 'source!' : [
656 'common/pepper_permission_util.cc',
657 ],
658 }],
[email protected]90b54ed2013-01-28 10:38:42659 ['use_system_nspr==1', {
660 'dependencies': [
661 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr',
662 ],
663 }],
[email protected]6ef98b5a2013-05-31 23:58:31664 ['enable_webrtc==0', {
665 'sources!': [
666 'common/media/webrtc_logging_messages.h',
667 ]
668 }],
[email protected]1e54c1c2013-08-12 17:16:05669 ['enable_printing==0', {
670 'sources!': [
671 'common/print_messages.cc',
672 'common/print_messages.h',
673 ]
674 }],
[email protected]3b5e88d2013-09-06 11:03:06675 ['cld_version==0 or cld_version==1', {
676 'dependencies': [
677 '<(DEPTH)/third_party/cld/cld.gyp:cld',
678 ],
679 }],
680 ['cld_version==0 or cld_version==2', {
681 'dependencies': [
682 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2',
683 ],
684 }],
[email protected]b9bbf5532011-11-03 07:35:22685 ],
[email protected]fdaed545c2012-10-20 19:13:04686 'target_conditions': [
687 ['OS == "ios"', {
688 'sources/': [
689 # Pull in specific Mac files for iOS (which have been filtered out
690 # by file name rules).
691 ['include', '^common/chrome_version_info_mac\\.mm$'],
[email protected]b7d1efa62012-11-16 11:22:02692 ['include', '^common/mac/nscoder_util\\.'],
[email protected]fdaed545c2012-10-20 19:13:04693 ],
694 }],
695 ],
[email protected]b9bbf5532011-11-03 07:35:22696 'export_dependent_settings': [
697 '../base/base.gyp:base',
[email protected]8a59a082012-03-07 02:27:30698 'metrics_proto',
[email protected]b9bbf5532011-11-03 07:35:22699 ],
700 },
701 {
702 'target_name': 'common_version',
703 'type': 'none',
704 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04705 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
[email protected]b9bbf5532011-11-03 07:35:22706 'direct_dependent_settings': {
707 'include_dirs': [
708 '<(SHARED_INTERMEDIATE_DIR)',
709 ],
710 },
[email protected]79440c52010-08-27 22:53:02711 # Because posix_version generates a header, we must set the
712 # hard_dependency flag.
713 'hard_dependency': 1,
[email protected]4641d3c2010-08-26 21:44:13714 'actions': [
715 {
716 'action_name': 'posix_version',
717 'variables': {
718 'lastchange_path':
[email protected]9046a112012-01-31 20:45:25719 '<(DEPTH)/build/util/LASTCHANGE',
[email protected]4641d3c2010-08-26 21:44:13720 'version_py_path': 'tools/build/version.py',
721 'version_path': 'VERSION',
722 'template_input_path': 'common/chrome_version_info_posix.h.version',
723 },
724 'conditions': [
725 [ 'branding == "Chrome"', {
726 'variables': {
727 'branding_path':
728 'app/theme/google_chrome/BRANDING',
729 },
730 }, { # else branding!="Chrome"
731 'variables': {
732 'branding_path':
733 'app/theme/chromium/BRANDING',
734 },
735 }],
736 ],
737 'inputs': [
738 '<(template_input_path)',
739 '<(version_path)',
740 '<(branding_path)',
741 '<(lastchange_path)',
742 ],
743 'outputs': [
744 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h',
745 ],
746 'action': [
747 'python',
748 '<(version_py_path)',
749 '-f', '<(version_path)',
750 '-f', '<(branding_path)',
751 '-f', '<(lastchange_path)',
752 '<(template_input_path)',
753 '<@(_outputs)',
754 ],
755 'message': 'Generating version information',
756 },
757 ],
758 }],
[email protected]dd363682009-12-28 20:30:46759 ],
760 },
[email protected]3c3065d2010-05-06 21:59:55761 {
762 'target_name': 'common_net',
[email protected]5a547332011-05-19 23:18:53763 'type': 'static_library',
[email protected]3c3065d2010-05-06 21:59:55764 'sources': [
[email protected]2ea1efe2013-07-17 05:23:13765 'common/net/net_error_info.cc',
766 'common/net/net_error_info.h',
[email protected]06305962012-05-09 22:34:36767 'common/net/net_resource_provider.cc',
768 'common/net/net_resource_provider.h',
769 'common/net/predictor_common.h',
[email protected]4f3b4462013-07-27 19:20:18770 'common/net/url_fixer_upper.cc',
771 'common/net/url_fixer_upper.h',
[email protected]06305962012-05-09 22:34:36772 'common/net/url_util.cc',
773 'common/net/url_util.h',
[email protected]b1c2a5542010-10-08 12:44:40774 'common/net/x509_certificate_model.cc',
775 'common/net/x509_certificate_model_nss.cc',
776 'common/net/x509_certificate_model_openssl.cc',
777 'common/net/x509_certificate_model.h',
[email protected]3c3065d2010-05-06 21:59:55778 ],
779 'dependencies': [
[email protected]37794d02011-11-30 18:24:29780 '<(DEPTH)/base/base.gyp:base',
781 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
782 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
783 '<(DEPTH)/crypto/crypto.gyp:crypto',
[email protected]37794d02011-11-30 18:24:29784 '<(DEPTH)/net/net.gyp:net_resources',
785 '<(DEPTH)/net/net.gyp:net',
786 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
787 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
[email protected]3c3065d2010-05-06 21:59:55788 ],
[email protected]b1c2a5542010-10-08 12:44:40789 'conditions': [
[email protected]fdaed545c2012-10-20 19:13:04790 ['OS != "ios"', {
791 'dependencies': [
792 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc',
793 ],
794 }, { # OS == ios
795 'sources!': [
796 'common/net/net_resource_provider.cc',
797 'common/net/x509_certificate_model.cc',
798 ],
799 }],
800 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
[email protected]638e9df42011-05-31 17:19:30801 'dependencies': [
802 '../build/linux/system.gyp:ssl',
[email protected]b1c2a5542010-10-08 12:44:40803 ],
804 },
[email protected]af221ff2012-04-03 05:22:39805 ],
[email protected]fdaed545c2012-10-20 19:13:04806 ['os_posix != 1 or OS == "mac" or OS == "ios"', {
[email protected]b1c2a5542010-10-08 12:44:40807 'sources!': [
808 'common/net/x509_certificate_model_nss.cc',
809 'common/net/x509_certificate_model_openssl.cc',
810 ],
811 },
812 ],
[email protected]af221ff2012-04-03 05:22:39813 ['OS == "android"', {
814 'dependencies': [
[email protected]8e853b142012-05-16 07:40:01815 '../third_party/openssl/openssl.gyp:openssl',
[email protected]af221ff2012-04-03 05:22:39816 ],
817 },
818 ],
[email protected]b1c2a5542010-10-08 12:44:40819 ['use_openssl==1', {
820 'sources!': [
821 'common/net/x509_certificate_model_nss.cc',
822 ],
823 },
824 { # else !use_openssl: remove the unneeded files
825 'sources!': [
826 'common/net/x509_certificate_model_openssl.cc',
827 ],
828 },
829 ],
[email protected]b1d2c742013-01-21 18:04:52830 ['OS=="win"', {
831 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
832 'msvs_disabled_warnings': [4267, ],
833 },
834 ],
[email protected]129d11452012-03-01 01:56:56835 ],
[email protected]3c3065d2010-05-06 21:59:55836 },
[email protected]133139772011-04-14 22:14:13837 {
[email protected]1c20dd62011-08-19 21:54:33838 # Protobuf compiler / generator for the safebrowsing client
839 # model proto and the client-side detection (csd) request
840 # protocol buffer.
[email protected]cae64fe2011-06-17 17:54:50841 'target_name': 'safe_browsing_proto',
[email protected]1c20dd62011-08-19 21:54:33842 'type': 'static_library',
843 'sources': [
844 'common/safe_browsing/client_model.proto',
845 'common/safe_browsing/csd.proto'
[email protected]cae64fe2011-06-17 17:54:50846 ],
[email protected]1c20dd62011-08-19 21:54:33847 'variables': {
848 'proto_in_dir': 'common/safe_browsing',
849 'proto_out_dir': 'chrome/common/safe_browsing',
[email protected]cae64fe2011-06-17 17:54:50850 },
[email protected]1c20dd62011-08-19 21:54:33851 'includes': [ '../build/protoc.gypi' ],
[email protected]133139772011-04-14 22:14:13852 },
[email protected]7ae45d0502012-01-31 00:29:26853 {
854 # Protobuf compiler / generator for UMA (User Metrics Analysis).
855 'target_name': 'metrics_proto',
856 'type': 'static_library',
857 'sources': [
[email protected]f89fdab12012-05-04 23:27:21858 'common/metrics/proto/chrome_experiments.proto',
[email protected]7ae45d0502012-01-31 00:29:26859 'common/metrics/proto/chrome_user_metrics_extension.proto',
860 'common/metrics/proto/histogram_event.proto',
861 'common/metrics/proto/omnibox_event.proto',
[email protected]f65859e2013-02-04 20:00:25862 'common/metrics/proto/perf_data.proto',
[email protected]9d7c4a82013-05-07 12:10:49863 'common/metrics/proto/permuted_entropy_cache.proto',
[email protected]2a08b1d2012-02-18 00:30:04864 'common/metrics/proto/profiler_event.proto',
[email protected]7ae45d0502012-01-31 00:29:26865 'common/metrics/proto/system_profile.proto',
866 'common/metrics/proto/user_action_event.proto',
867 ],
868 'variables': {
869 'proto_in_dir': 'common/metrics/proto',
870 'proto_out_dir': 'chrome/common/metrics/proto',
871 },
872 'includes': [ '../build/protoc.gypi' ],
873 },
[email protected]dd363682009-12-28 20:30:46874 ],
[email protected]dd363682009-12-28 20:30:46875}