Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 1 | # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'common', |
| 9 | 'type': 'static_library', |
| 10 | 'variables': { |
| 11 | 'chrome_common_target': 1, |
| 12 | 'enable_wexit_time_destructors': 1, |
| 13 | }, |
| 14 | 'include_dirs': [ |
| 15 | '..', |
| 16 | '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. |
| 17 | ], |
| 18 | '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. |
| 27 | 'common_net', |
| 28 | 'common_version', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 29 | 'installer_util', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 30 | 'metrics_proto', |
| 31 | '<(DEPTH)/base/base.gyp:base', |
| 32 | '<(DEPTH)/base/base.gyp:base_i18n', |
| 33 | '<(DEPTH)/base/base.gyp:base_prefs', |
| 34 | '<(DEPTH)/base/base.gyp:base_static', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 35 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 36 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 37 | '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', |
| 38 | '<(DEPTH)/chrome/common_constants.gyp:common_constants', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 39 | '<(DEPTH)/components/components.gyp:visitedlink_common', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 40 | '<(DEPTH)/content/content.gyp:content_common', |
| 41 | '<(DEPTH)/net/net.gyp:net', |
| 42 | '<(DEPTH)/skia/skia.gyp:skia', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 43 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 44 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 45 | '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
| 46 | '<(DEPTH)/third_party/mt19937ar/mt19937ar.gyp:mt19937ar', |
| 47 | '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 48 | '<(DEPTH)/third_party/zlib/zlib.gyp:zip', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 49 | '<(DEPTH)/ui/ui.gyp:ui_resources', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 50 | '<(DEPTH)/url/url.gyp:url_lib', |
| 51 | '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 52 | ], |
| 53 | 'sources': [ |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 54 | '../apps/app_shim/app_shim_launch.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 55 | '../apps/app_shim/app_shim_messages.h', |
| 56 | '../extensions/common/constants.cc', |
| 57 | '../extensions/common/constants.h', |
| 58 | '../extensions/common/crx_file.cc', |
| 59 | '../extensions/common/crx_file.h', |
| 60 | '../extensions/common/draggable_region.cc', |
| 61 | '../extensions/common/draggable_region.h', |
| 62 | '../extensions/common/error_utils.cc', |
| 63 | '../extensions/common/error_utils.h', |
| 64 | '../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', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 70 | '../extensions/common/extension_paths.cc', |
| 71 | '../extensions/common/extension_paths.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 72 | '../extensions/common/extension_resource.cc', |
| 73 | '../extensions/common/extension_resource.h', |
| 74 | '../extensions/common/id_util.cc', |
| 75 | '../extensions/common/id_util.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 76 | '../extensions/common/install_warning.cc', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 77 | '../extensions/common/install_warning.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 78 | '../extensions/common/matcher/regex_set_matcher.cc', |
| 79 | '../extensions/common/matcher/regex_set_matcher.h', |
| 80 | '../extensions/common/matcher/string_pattern.cc', |
| 81 | '../extensions/common/matcher/string_pattern.h', |
| 82 | '../extensions/common/matcher/substring_set_matcher.cc', |
| 83 | '../extensions/common/matcher/substring_set_matcher.h', |
| 84 | '../extensions/common/matcher/url_matcher.cc', |
| 85 | '../extensions/common/matcher/url_matcher.h', |
| 86 | '../extensions/common/matcher/url_matcher_constants.cc', |
| 87 | '../extensions/common/matcher/url_matcher_constants.h', |
| 88 | '../extensions/common/matcher/url_matcher_factory.cc', |
| 89 | '../extensions/common/matcher/url_matcher_factory.h', |
| 90 | '../extensions/common/matcher/url_matcher_helpers.cc', |
| 91 | '../extensions/common/matcher/url_matcher_helpers.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 92 | '../extensions/common/one_shot_event.cc', |
| 93 | '../extensions/common/one_shot_event.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 94 | '../extensions/common/url_pattern.cc', |
| 95 | '../extensions/common/url_pattern.h', |
| 96 | '../extensions/common/url_pattern_set.cc', |
| 97 | '../extensions/common/url_pattern_set.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 98 | '../extensions/common/view_type.cc', |
| 99 | '../extensions/common/view_type.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 100 | 'common/all_messages.h', |
| 101 | 'common/attrition_experiments.h', |
| 102 | 'common/auto_start_linux.cc', |
| 103 | 'common/auto_start_linux.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 104 | 'common/autocomplete_match_type.cc', |
| 105 | 'common/autocomplete_match_type.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 106 | 'common/automation_constants.cc', |
| 107 | 'common/automation_constants.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 108 | 'common/automation_id.cc', |
| 109 | 'common/automation_id.h', |
| 110 | 'common/automation_messages.cc', |
| 111 | 'common/automation_messages.h', |
| 112 | 'common/automation_messages_internal.h', |
| 113 | 'common/badge_util.cc', |
| 114 | 'common/badge_util.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 115 | 'common/cancelable_task_tracker.cc', |
| 116 | 'common/cancelable_task_tracker.h', |
| 117 | 'common/child_process_logging.h', |
| 118 | 'common/child_process_logging_mac.mm', |
| 119 | 'common/child_process_logging_posix.cc', |
| 120 | 'common/child_process_logging_win.cc', |
| 121 | 'common/chrome_content_client.cc', |
| 122 | 'common/chrome_content_client.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 123 | 'common/chrome_content_client_constants.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 124 | 'common/chrome_content_client_ios.mm', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 125 | 'common/chrome_result_codes.h', |
| 126 | 'common/chrome_sandbox_type_mac.h', |
| 127 | 'common/chrome_utility_messages.h', |
| 128 | 'common/chrome_version_info.cc', |
| 129 | 'common/chrome_version_info_android.cc', |
| 130 | 'common/chrome_version_info_chromeos.cc', |
| 131 | 'common/chrome_version_info_posix.cc', |
| 132 | 'common/chrome_version_info_mac.mm', |
| 133 | 'common/chrome_version_info_win.cc', |
| 134 | 'common/chrome_version_info.h', |
| 135 | 'common/cloud_print/cloud_print_class_mac.h', |
| 136 | 'common/cloud_print/cloud_print_class_mac.mm', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 137 | 'common/cloud_print/cloud_print_constants.cc', |
| 138 | 'common/cloud_print/cloud_print_constants.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 139 | 'common/cloud_print/cloud_print_helpers.cc', |
| 140 | 'common/cloud_print/cloud_print_helpers.h', |
| 141 | 'common/cloud_print/cloud_print_proxy_info.cc', |
| 142 | 'common/cloud_print/cloud_print_proxy_info.h', |
| 143 | 'common/common_message_generator.cc', |
| 144 | 'common/common_message_generator.h', |
| 145 | 'common/common_param_traits.cc', |
| 146 | 'common/common_param_traits.h', |
| 147 | 'common/common_param_traits_macros.h', |
| 148 | 'common/content_settings.cc', |
| 149 | 'common/content_settings.h', |
| 150 | 'common/content_settings_helper.cc', |
| 151 | 'common/content_settings_helper.h', |
| 152 | 'common/content_settings_pattern.cc', |
| 153 | 'common/content_settings_pattern.h', |
| 154 | 'common/content_settings_pattern_parser.cc', |
| 155 | 'common/content_settings_pattern_parser.h', |
| 156 | 'common/content_settings_types.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 157 | 'common/crash_keys.cc', |
| 158 | 'common/crash_keys.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 159 | 'common/custom_handlers/protocol_handler.cc', |
| 160 | 'common/custom_handlers/protocol_handler.h', |
| 161 | 'common/descriptors_android.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 162 | 'common/dump_without_crashing.cc', |
| 163 | 'common/dump_without_crashing.h', |
| 164 | 'common/extensions/api/commands/commands_handler.cc', |
| 165 | 'common/extensions/api/commands/commands_handler.h', |
| 166 | 'common/extensions/api/extension_action/action_info.cc', |
| 167 | 'common/extensions/api/extension_action/action_info.h', |
| 168 | 'common/extensions/api/extension_action/browser_action_handler.cc', |
| 169 | 'common/extensions/api/extension_action/browser_action_handler.h', |
| 170 | 'common/extensions/api/extension_action/page_action_handler.cc', |
| 171 | 'common/extensions/api/extension_action/page_action_handler.h', |
| 172 | 'common/extensions/api/extension_action/script_badge_handler.cc', |
| 173 | 'common/extensions/api/extension_action/script_badge_handler.h', |
| 174 | 'common/extensions/api/extension_api.cc', |
| 175 | 'common/extensions/api/extension_api.h', |
| 176 | 'common/extensions/api/extension_api_stub.cc', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 177 | 'common/extensions/api/file_browser_handlers/file_browser_handler.cc', |
| 178 | 'common/extensions/api/file_browser_handlers/file_browser_handler.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 179 | 'common/extensions/api/file_handlers/file_handlers_parser.cc', |
| 180 | 'common/extensions/api/file_handlers/file_handlers_parser.h', |
| 181 | 'common/extensions/api/i18n/default_locale_handler.cc', |
| 182 | 'common/extensions/api/i18n/default_locale_handler.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 183 | 'common/extensions/api/identity/oauth2_manifest_handler.cc', |
| 184 | 'common/extensions/api/identity/oauth2_manifest_handler.h', |
| 185 | 'common/extensions/api/input_ime/input_components_handler.cc', |
| 186 | 'common/extensions/api/input_ime/input_components_handler.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 187 | 'common/extensions/api/managed_mode_private/managed_mode_handler.cc', |
| 188 | 'common/extensions/api/managed_mode_private/managed_mode_handler.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 189 | 'common/extensions/api/media_galleries_private/media_galleries_handler.h', |
| 190 | 'common/extensions/api/media_galleries_private/media_galleries_handler.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 191 | 'common/extensions/api/omnibox/omnibox_handler.cc', |
| 192 | 'common/extensions/api/omnibox/omnibox_handler.h', |
| 193 | 'common/extensions/api/page_launcher/page_launcher_handler.cc', |
| 194 | 'common/extensions/api/page_launcher/page_launcher_handler.h', |
| 195 | 'common/extensions/api/plugins/plugins_handler.cc', |
| 196 | 'common/extensions/api/plugins/plugins_handler.h', |
| 197 | 'common/extensions/api/speech/tts_engine_manifest_handler.cc', |
| 198 | 'common/extensions/api/speech/tts_engine_manifest_handler.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 199 | 'common/extensions/api/spellcheck/spellcheck_handler.cc', |
| 200 | 'common/extensions/api/spellcheck/spellcheck_handler.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 201 | 'common/extensions/api/storage/storage_schema_manifest_handler.cc', |
| 202 | 'common/extensions/api/storage/storage_schema_manifest_handler.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 203 | 'common/extensions/api/system_indicator/system_indicator_handler.cc', |
| 204 | 'common/extensions/api/system_indicator/system_indicator_handler.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 205 | 'common/extensions/background_info.cc', |
| 206 | 'common/extensions/background_info.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 207 | 'common/extensions/chrome_manifest_handlers.cc', |
| 208 | 'common/extensions/chrome_manifest_handlers.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 209 | 'common/extensions/command.cc', |
| 210 | 'common/extensions/command.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 211 | 'common/extensions/csp_handler.cc', |
| 212 | 'common/extensions/csp_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 213 | 'common/extensions/csp_validator.cc', |
| 214 | 'common/extensions/csp_validator.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 215 | 'common/extensions/dom_action_types.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 216 | 'common/extensions/extension.cc', |
| 217 | 'common/extensions/extension.h', |
| 218 | 'common/extensions/extension_constants.cc', |
| 219 | 'common/extensions/extension_constants.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 220 | 'common/extensions/extension_file_util.cc', |
| 221 | 'common/extensions/extension_file_util.h', |
| 222 | 'common/extensions/extension_icon_set.cc', |
| 223 | 'common/extensions/extension_icon_set.h', |
| 224 | 'common/extensions/extension_l10n_util.cc', |
| 225 | 'common/extensions/extension_l10n_util.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 226 | 'common/extensions/extension_manifest_constants.cc', |
| 227 | 'common/extensions/extension_manifest_constants.h', |
| 228 | 'common/extensions/extension_messages.cc', |
| 229 | 'common/extensions/extension_messages.h', |
| 230 | 'common/extensions/extension_process_policy.cc', |
| 231 | 'common/extensions/extension_process_policy.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 232 | 'common/extensions/extension_set.cc', |
| 233 | 'common/extensions/extension_set.h', |
| 234 | 'common/extensions/feature_switch.cc', |
| 235 | 'common/extensions/feature_switch.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 236 | 'common/extensions/features/api_feature.cc', |
| 237 | 'common/extensions/features/api_feature.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 238 | 'common/extensions/features/base_feature_provider.cc', |
| 239 | 'common/extensions/features/base_feature_provider.h', |
| 240 | 'common/extensions/features/complex_feature.cc', |
| 241 | 'common/extensions/features/complex_feature.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 242 | 'common/extensions/features/feature.cc', |
| 243 | 'common/extensions/features/feature.h', |
| 244 | 'common/extensions/features/feature_provider.h', |
| 245 | 'common/extensions/features/manifest_feature.cc', |
| 246 | 'common/extensions/features/manifest_feature.h', |
| 247 | 'common/extensions/features/permission_feature.cc', |
| 248 | 'common/extensions/features/permission_feature.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 249 | 'common/extensions/features/simple_feature.cc', |
| 250 | 'common/extensions/features/simple_feature.h', |
| 251 | 'common/extensions/incognito_handler.cc', |
| 252 | 'common/extensions/incognito_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 253 | 'common/extensions/manifest.cc', |
| 254 | 'common/extensions/manifest.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 255 | 'common/extensions/manifest_handler.cc', |
| 256 | 'common/extensions/manifest_handler.h', |
| 257 | 'common/extensions/manifest_handler_helpers.cc', |
| 258 | 'common/extensions/manifest_handler_helpers.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 259 | 'common/extensions/manifest_handlers/app_isolation_info.cc', |
| 260 | 'common/extensions/manifest_handlers/app_isolation_info.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 261 | 'common/extensions/manifest_handlers/app_launch_info.cc', |
| 262 | 'common/extensions/manifest_handlers/app_launch_info.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 263 | 'common/extensions/manifest_handlers/content_scripts_handler.cc', |
| 264 | 'common/extensions/manifest_handlers/content_scripts_handler.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 265 | 'common/extensions/manifest_handlers/externally_connectable.cc', |
| 266 | 'common/extensions/manifest_handlers/externally_connectable.h', |
| 267 | 'common/extensions/manifest_handlers/icons_handler.cc', |
| 268 | 'common/extensions/manifest_handlers/icons_handler.h', |
| 269 | 'common/extensions/manifest_handlers/kiosk_enabled_info.cc', |
| 270 | 'common/extensions/manifest_handlers/kiosk_enabled_info.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 271 | 'common/extensions/manifest_handlers/nacl_modules_handler.cc', |
| 272 | 'common/extensions/manifest_handlers/nacl_modules_handler.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 273 | 'common/extensions/manifest_handlers/offline_enabled_info.cc', |
| 274 | 'common/extensions/manifest_handlers/offline_enabled_info.h', |
| 275 | 'common/extensions/manifest_handlers/requirements_handler.cc', |
| 276 | 'common/extensions/manifest_handlers/requirements_handler.h', |
| 277 | 'common/extensions/manifest_handlers/sandboxed_page_info.cc', |
| 278 | 'common/extensions/manifest_handlers/sandboxed_page_info.h', |
| 279 | 'common/extensions/manifest_handlers/shared_module_info.cc', |
| 280 | 'common/extensions/manifest_handlers/shared_module_info.h', |
| 281 | 'common/extensions/manifest_handlers/theme_handler.cc', |
| 282 | 'common/extensions/manifest_handlers/theme_handler.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 283 | 'common/extensions/manifest_url_handler.cc', |
| 284 | 'common/extensions/manifest_url_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 285 | 'common/extensions/message_bundle.cc', |
| 286 | 'common/extensions/message_bundle.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 287 | 'common/extensions/mime_types_handler.cc', |
| 288 | 'common/extensions/mime_types_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 289 | 'common/extensions/permissions/api_permission.cc', |
| 290 | 'common/extensions/permissions/api_permission.h', |
| 291 | 'common/extensions/permissions/api_permission_set.cc', |
| 292 | 'common/extensions/permissions/api_permission_set.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 293 | 'common/extensions/permissions/bluetooth_permission.cc', |
| 294 | 'common/extensions/permissions/bluetooth_permission.h', |
| 295 | 'common/extensions/permissions/bluetooth_permission_data.cc', |
| 296 | 'common/extensions/permissions/bluetooth_permission_data.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 297 | 'common/extensions/permissions/chrome_api_permissions.cc', |
| 298 | 'common/extensions/permissions/chrome_api_permissions.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 299 | 'common/extensions/permissions/chrome_scheme_hosts.cc', |
| 300 | 'common/extensions/permissions/chrome_scheme_hosts.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 301 | 'common/extensions/permissions/media_galleries_permission.cc', |
| 302 | 'common/extensions/permissions/media_galleries_permission.h', |
| 303 | 'common/extensions/permissions/media_galleries_permission_data.cc', |
| 304 | 'common/extensions/permissions/media_galleries_permission_data.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 305 | 'common/extensions/permissions/permission_message.cc', |
| 306 | 'common/extensions/permissions/permission_message.h', |
| 307 | 'common/extensions/permissions/permission_set.cc', |
| 308 | 'common/extensions/permissions/permission_set.h', |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 309 | 'common/extensions/permissions/permissions_data.cc', |
| 310 | 'common/extensions/permissions/permissions_data.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 311 | 'common/extensions/permissions/permissions_info.cc', |
| 312 | 'common/extensions/permissions/permissions_info.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 313 | 'common/extensions/permissions/set_disjunction_permission.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 314 | 'common/extensions/permissions/socket_permission.cc', |
| 315 | 'common/extensions/permissions/socket_permission.h', |
| 316 | 'common/extensions/permissions/socket_permission_data.cc', |
| 317 | 'common/extensions/permissions/socket_permission_data.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 318 | 'common/extensions/permissions/usb_device_permission.cc', |
| 319 | 'common/extensions/permissions/usb_device_permission.h', |
| 320 | 'common/extensions/permissions/usb_device_permission_data.cc', |
| 321 | 'common/extensions/permissions/usb_device_permission_data.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 322 | 'common/extensions/sync_helper.cc', |
| 323 | 'common/extensions/sync_helper.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 324 | 'common/extensions/update_manifest.cc', |
| 325 | 'common/extensions/update_manifest.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 326 | 'common/extensions/user_script.cc', |
| 327 | 'common/extensions/user_script.h', |
| 328 | 'common/extensions/value_counter.cc', |
| 329 | 'common/extensions/value_counter.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 330 | 'common/extensions/web_accessible_resources_handler.cc', |
| 331 | 'common/extensions/web_accessible_resources_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 332 | 'common/external_ipc_fuzzer.cc', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 333 | 'common/external_ipc_fuzzer.h', |
Ben Murdoch | 9ab5563 | 2013-07-18 11:57:30 +0100 | [diff] [blame^] | 334 | 'common/favicon/favicon_types.cc', |
| 335 | 'common/favicon/favicon_types.h', |
| 336 | 'common/favicon/favicon_url_parser.cc', |
| 337 | 'common/favicon/favicon_url_parser.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 338 | 'common/icon_with_badge_image_source.cc', |
| 339 | 'common/icon_with_badge_image_source.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 340 | 'common/importer/firefox_importer_utils.cc', |
| 341 | 'common/importer/firefox_importer_utils.h', |
| 342 | 'common/importer/firefox_importer_utils_linux.cc', |
| 343 | 'common/importer/firefox_importer_utils_mac.mm', |
| 344 | 'common/importer/firefox_importer_utils_win.cc', |
| 345 | 'common/importer/ie_importer_test_registry_overrider_win.cc', |
| 346 | 'common/importer/ie_importer_test_registry_overrider_win.h', |
| 347 | 'common/importer/ie_importer_utils_win.cc', |
| 348 | 'common/importer/ie_importer_utils_win.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 349 | 'common/importer/imported_bookmark_entry.cc', |
| 350 | 'common/importer/imported_bookmark_entry.h', |
| 351 | 'common/importer/imported_favicon_usage.cc', |
| 352 | 'common/importer/imported_favicon_usage.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 353 | 'common/importer/importer_bridge.cc', |
| 354 | 'common/importer/importer_bridge.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 355 | 'common/importer/importer_data_types.cc', |
| 356 | 'common/importer/importer_data_types.h', |
| 357 | 'common/importer/importer_type.h', |
| 358 | 'common/importer/importer_url_row.cc', |
| 359 | 'common/importer/importer_url_row.h', |
| 360 | 'common/importer/profile_import_process_messages.cc', |
| 361 | 'common/importer/profile_import_process_messages.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 362 | 'common/importer/safari_importer_utils.h', |
| 363 | 'common/importer/safari_importer_utils.mm', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 364 | 'common/instant_restricted_id_cache.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 365 | 'common/instant_types.cc', |
| 366 | 'common/instant_types.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 367 | 'common/json_schema/json_schema_constants.cc', |
| 368 | 'common/json_schema/json_schema_constants.h', |
| 369 | 'common/json_schema/json_schema_validator.cc', |
| 370 | 'common/json_schema/json_schema_validator.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 371 | 'common/localized_error.cc', |
| 372 | 'common/localized_error.h', |
| 373 | 'common/logging_chrome.cc', |
| 374 | 'common/logging_chrome.h', |
| 375 | 'common/mac/app_mode_common.h', |
| 376 | 'common/mac/app_mode_common.mm', |
| 377 | 'common/mac/cfbundle_blocker.h', |
| 378 | 'common/mac/cfbundle_blocker.mm', |
| 379 | 'common/mac/launchd.h', |
| 380 | 'common/mac/launchd.mm', |
| 381 | 'common/mac/nscoder_util.h', |
| 382 | 'common/mac/nscoder_util.mm', |
| 383 | 'common/mac/objc_method_swizzle.h', |
| 384 | 'common/mac/objc_method_swizzle.mm', |
| 385 | 'common/mac/objc_zombie.h', |
| 386 | 'common/mac/objc_zombie.mm', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 387 | 'common/media/webrtc_logging_messages.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 388 | 'common/metrics/entropy_provider.cc', |
| 389 | 'common/metrics/entropy_provider.h', |
| 390 | 'common/metrics/metrics_log_base.cc', |
| 391 | 'common/metrics/metrics_log_base.h', |
| 392 | 'common/metrics/metrics_log_manager.cc', |
| 393 | 'common/metrics/metrics_log_manager.h', |
| 394 | 'common/metrics/metrics_service_base.cc', |
| 395 | 'common/metrics/metrics_service_base.h', |
| 396 | 'common/metrics/metrics_util.cc', |
| 397 | 'common/metrics/metrics_util.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 398 | 'common/metrics/variations/uniformity_field_trials.cc', |
| 399 | 'common/metrics/variations/uniformity_field_trials.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 400 | 'common/metrics/variations/variations_util.cc', |
| 401 | 'common/metrics/variations/variations_util.h', |
| 402 | 'common/multi_process_lock.h', |
| 403 | 'common/multi_process_lock_linux.cc', |
| 404 | 'common/multi_process_lock_mac.cc', |
| 405 | 'common/multi_process_lock_win.cc', |
| 406 | 'common/nacl_cmd_line.cc', |
| 407 | 'common/nacl_cmd_line.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 408 | 'common/nacl_host_messages.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 409 | 'common/nacl_messages.cc', |
| 410 | 'common/nacl_messages.h', |
| 411 | 'common/nacl_types.cc', |
| 412 | 'common/nacl_types.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 413 | 'common/omaha_query_params/omaha_query_params.cc', |
| 414 | 'common/omaha_query_params/omaha_query_params.h', |
| 415 | 'common/omnibox_focus_state.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 416 | 'common/one_click_signin_messages.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 417 | 'common/partial_circular_buffer.cc', |
| 418 | 'common/partial_circular_buffer.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 419 | 'common/pepper_flash.cc', |
| 420 | 'common/pepper_flash.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 421 | 'common/pepper_permission_util.cc', |
| 422 | 'common/pepper_permission_util.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 423 | 'common/pnacl_types.cc', |
| 424 | 'common/pnacl_types.h', |
| 425 | 'common/policy/policy_schema.cc', |
| 426 | 'common/policy/policy_schema.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 427 | 'common/pref_names_util.cc', |
| 428 | 'common/pref_names_util.h', |
| 429 | 'common/print_messages.cc', |
| 430 | 'common/print_messages.h', |
| 431 | 'common/profiling.cc', |
| 432 | 'common/profiling.h', |
| 433 | 'common/ref_counted_util.h', |
| 434 | 'common/render_messages.cc', |
| 435 | 'common/render_messages.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 436 | 'common/safe_browsing/download_protection_util.cc', |
| 437 | 'common/safe_browsing/download_protection_util.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 438 | 'common/safe_browsing/safebrowsing_messages.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 439 | 'common/safe_browsing/zip_analyzer.cc', |
| 440 | 'common/safe_browsing/zip_analyzer.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 441 | 'common/search_provider.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 442 | 'common/search_types.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 443 | 'common/service_messages.h', |
| 444 | 'common/service_process_util.cc', |
| 445 | 'common/service_process_util.h', |
| 446 | 'common/service_process_util_linux.cc', |
| 447 | 'common/service_process_util_mac.mm', |
| 448 | 'common/service_process_util_posix.cc', |
| 449 | 'common/service_process_util_posix.h', |
| 450 | 'common/service_process_util_win.cc', |
| 451 | 'common/spellcheck_common.cc', |
| 452 | 'common/spellcheck_common.h', |
Torne (Richard Coles) | a93a17c | 2013-05-15 11:34:50 +0100 | [diff] [blame] | 453 | 'common/spellcheck_marker.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 454 | 'common/spellcheck_messages.h', |
| 455 | 'common/spellcheck_result.h', |
| 456 | 'common/startup_metric_utils.cc', |
| 457 | 'common/startup_metric_utils.h', |
| 458 | 'common/switch_utils.cc', |
| 459 | 'common/switch_utils.h', |
| 460 | 'common/thumbnail_score.cc', |
| 461 | 'common/thumbnail_score.h', |
| 462 | 'common/time_format.cc', |
| 463 | 'common/time_format.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 464 | 'common/translate/language_detection_details.cc', |
| 465 | 'common/translate/language_detection_details.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 466 | 'common/translate/language_detection_util.cc', |
| 467 | 'common/translate/language_detection_util.h', |
| 468 | 'common/translate/translate_common_metrics.cc', |
| 469 | 'common/translate/translate_common_metrics.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 470 | 'common/translate/translate_errors.h', |
| 471 | 'common/translate/translate_util.cc', |
| 472 | 'common/translate/translate_util.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 473 | 'common/tts_messages.h', |
| 474 | 'common/tts_utterance_request.cc', |
| 475 | 'common/tts_utterance_request.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 476 | 'common/url_constants.cc', |
| 477 | 'common/url_constants.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 478 | 'common/validation_message_messages.h', |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 479 | 'common/web_application_info.cc', |
| 480 | 'common/web_application_info.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 481 | 'common/worker_thread_ticker.cc', |
| 482 | 'common/worker_thread_ticker.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 483 | '../components/nacl/common/nacl_process_type.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 484 | ], |
| 485 | 'conditions': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 486 | ['enable_extensions==1', { |
| 487 | 'sources!': [ |
| 488 | 'common/extensions/api/extension_api_stub.cc', |
| 489 | ], |
| 490 | 'dependencies': [ |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 491 | '../device/usb/usb.gyp:device_usb', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 492 | ], |
| 493 | }, { # enable_extensions == 0 |
| 494 | 'sources/': [ |
| 495 | ['exclude', '^common/extensions/api/'], |
| 496 | ['include', 'common/extensions/api/extension_api_stub.cc'], |
| 497 | ['include', 'common/extensions/api/extension_action/action_info.cc'], |
| 498 | ['include', 'common/extensions/api/extension_action/action_info.h'], |
| 499 | ['include', 'common/extensions/api/extension_action/browser_action_handler.cc'], |
| 500 | ['include', 'common/extensions/api/extension_action/browser_action_handler.h'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 501 | ['include', 'common/extensions/api/extension_action/page_action_handler.cc'], |
| 502 | ['include', 'common/extensions/api/extension_action/page_action_handler.h'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 503 | ['include', 'common/extensions/api/i18n/default_locale_handler.cc'], |
| 504 | ['include', 'common/extensions/api/i18n/default_locale_handler.h'], |
| 505 | ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'], |
| 506 | ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'], |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 507 | ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.cc'], |
| 508 | ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.h'], |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 509 | ['include', 'common/extensions/api/plugins/plugins_handler.cc'], |
| 510 | ['include', 'common/extensions/api/plugins/plugins_handler.h'], |
| 511 | ['include', 'common/extensions/api/spellcheck/spellcheck_handler.cc'], |
| 512 | ['include', 'common/extensions/api/spellcheck/spellcheck_handler.h'], |
| 513 | ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.cc'], |
| 514 | ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.h'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 515 | ], |
| 516 | }], |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 517 | ['OS=="win" or OS=="mac"', { |
| 518 | 'sources': [ |
| 519 | 'common/itunes_library.cc', |
| 520 | 'common/itunes_library.h', |
| 521 | 'common/itunes_xml_utils.cc', |
| 522 | 'common/itunes_xml_utils.h', |
| 523 | 'common/media_galleries/picasa_types.cc', |
| 524 | 'common/media_galleries/picasa_types.h', |
| 525 | 'common/media_galleries/pmp_constants.h', |
| 526 | ], |
| 527 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 528 | ['OS != "ios"', { |
| 529 | 'dependencies': [ |
| 530 | '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
| 531 | '<(DEPTH)/chrome/common/extensions/api/api.gyp:api', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 532 | '<(DEPTH)/components/components.gyp:autofill_core_common', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 533 | '<(DEPTH)/ipc/ipc.gyp:ipc', |
| 534 | '<(DEPTH)/printing/printing.gyp:printing', |
| 535 | '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
| 536 | '<(DEPTH)/third_party/re2/re2.gyp:re2', |
| 537 | '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
| 538 | '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
| 539 | ], |
| 540 | }, { # OS == ios |
| 541 | 'sources/': [ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 542 | ['exclude', '^common/child_process_'], |
| 543 | ['exclude', '^common/chrome_content_client\\.cc$'], |
| 544 | ['exclude', '^common/chrome_version_info_posix\\.cc$'], |
| 545 | ['exclude', '^common/common_message_generator\\.cc$'], |
| 546 | ['exclude', '^common/common_param_traits'], |
| 547 | ['exclude', '^common/custom_handlers/'], |
| 548 | ['exclude', '^common/extensions/'], |
| 549 | ['exclude', '^common/external_ipc_fuzzer\\.'], |
| 550 | ['exclude', '^common/logging_chrome\\.'], |
| 551 | ['exclude', '^common/multi_process_'], |
| 552 | ['exclude', '^common/nacl_'], |
| 553 | ['exclude', '^common/pepper_flash\\.'], |
| 554 | ['exclude', '^common/profiling\\.'], |
| 555 | ['exclude', '^common/service_process_util_'], |
| 556 | ['exclude', '^common/spellcheck_'], |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 557 | ['exclude', '^common/validation_message_'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 558 | ['exclude', '^common/web_apps\\.'], |
| 559 | # TODO(ios): Include files here as they are made to work; once |
| 560 | # everything is online, remove everything below here and just |
| 561 | # use the exclusions above. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 562 | ['exclude', '\\.(cc|mm)$'], |
| 563 | ['include', '_ios\\.(cc|mm)$'], |
| 564 | ['include', '(^|/)ios/'], |
| 565 | ['include', '^common/chrome_version_info\\.cc$'], |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 566 | ['include', '^common/translate'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 567 | ['include', '^common/zip'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 568 | ], |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 569 | 'include_dirs': [ |
| 570 | '<(DEPTH)/breakpad/src', |
| 571 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 572 | }], |
| 573 | ['OS=="android"', { |
| 574 | 'sources/': [ |
| 575 | ['exclude', '^common/chrome_version_info_posix.cc'], |
| 576 | ['exclude', '^common/service_'], |
| 577 | ], |
| 578 | 'dependencies!': [ |
| 579 | '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
| 580 | ], |
| 581 | }], |
| 582 | ['OS=="win"', { |
| 583 | 'include_dirs': [ |
| 584 | '<(DEPTH)/third_party/wtl/include', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 585 | ], |
| 586 | 'sources!': [ |
| 587 | 'common/crash_keys.cc', |
| 588 | 'common/crash_keys.h', |
| 589 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 590 | }], |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 591 | ['enable_mdns == 1', { |
| 592 | 'sources': [ |
| 593 | 'common/local_discovery/service_discovery_client.cc', |
| 594 | 'common/local_discovery/service_discovery_client.h', |
| 595 | ] |
| 596 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 597 | ['toolkit_uses_gtk == 1', { |
| 598 | 'dependencies': [ |
| 599 | '../build/linux/system.gyp:gtk', |
| 600 | ], |
| 601 | 'export_dependent_settings': [ |
| 602 | '../third_party/sqlite/sqlite.gyp:sqlite', |
| 603 | ], |
| 604 | 'link_settings': { |
| 605 | 'libraries': [ |
| 606 | '-lX11', |
| 607 | '-lXrender', |
| 608 | '-lXss', |
| 609 | '-lXext', |
| 610 | ], |
| 611 | }, |
| 612 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 613 | ['chromeos==1', { |
| 614 | 'sources!': [ |
| 615 | 'common/chrome_version_info_linux.cc', |
| 616 | ], |
| 617 | }], |
| 618 | ['OS=="mac"', { |
| 619 | 'dependencies': [ |
| 620 | '../third_party/mach_override/mach_override.gyp:mach_override', |
| 621 | ], |
| 622 | 'include_dirs': [ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 623 | '<(DEPTH)/breakpad/src', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 624 | '../third_party/GTM', |
| 625 | ], |
| 626 | 'sources!': [ |
| 627 | 'common/child_process_logging_posix.cc', |
| 628 | 'common/chrome_version_info_posix.cc', |
| 629 | ], |
| 630 | }], |
| 631 | ['remoting==1', { |
| 632 | 'dependencies': [ |
| 633 | '../remoting/remoting.gyp:remoting_client_plugin', |
| 634 | ], |
| 635 | }], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 636 | ['enable_automation==0', { |
| 637 | 'sources/': [ |
| 638 | ['exclude', '^common/automation_'] |
| 639 | ] |
| 640 | }], |
| 641 | ['use_system_nspr==1', { |
| 642 | 'dependencies': [ |
| 643 | '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr', |
| 644 | ], |
| 645 | }], |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 646 | ['enable_webrtc==0', { |
| 647 | 'sources!': [ |
| 648 | 'common/media/webrtc_logging_messages.h', |
| 649 | ] |
| 650 | }], |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 651 | ['enable_language_detection==1', { |
| 652 | 'dependencies': [ |
| 653 | '../third_party/cld/cld.gyp:cld', |
| 654 | ], |
| 655 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 656 | ], |
| 657 | 'target_conditions': [ |
| 658 | ['OS == "ios"', { |
| 659 | 'sources/': [ |
| 660 | # Pull in specific Mac files for iOS (which have been filtered out |
| 661 | # by file name rules). |
| 662 | ['include', '^common/chrome_version_info_mac\\.mm$'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 663 | ['include', '^common/mac/nscoder_util\\.'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 664 | ], |
| 665 | }], |
| 666 | ], |
| 667 | 'export_dependent_settings': [ |
| 668 | '../base/base.gyp:base', |
| 669 | 'metrics_proto', |
| 670 | ], |
| 671 | }, |
| 672 | { |
| 673 | 'target_name': 'common_version', |
| 674 | 'type': 'none', |
| 675 | 'conditions': [ |
| 676 | ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
| 677 | 'direct_dependent_settings': { |
| 678 | 'include_dirs': [ |
| 679 | '<(SHARED_INTERMEDIATE_DIR)', |
| 680 | ], |
| 681 | }, |
| 682 | # Because posix_version generates a header, we must set the |
| 683 | # hard_dependency flag. |
| 684 | 'hard_dependency': 1, |
| 685 | 'actions': [ |
| 686 | { |
| 687 | 'action_name': 'posix_version', |
| 688 | 'variables': { |
| 689 | 'lastchange_path': |
| 690 | '<(DEPTH)/build/util/LASTCHANGE', |
| 691 | 'version_py_path': 'tools/build/version.py', |
| 692 | 'version_path': 'VERSION', |
| 693 | 'template_input_path': 'common/chrome_version_info_posix.h.version', |
| 694 | }, |
| 695 | 'conditions': [ |
| 696 | [ 'branding == "Chrome"', { |
| 697 | 'variables': { |
| 698 | 'branding_path': |
| 699 | 'app/theme/google_chrome/BRANDING', |
| 700 | }, |
| 701 | }, { # else branding!="Chrome" |
| 702 | 'variables': { |
| 703 | 'branding_path': |
| 704 | 'app/theme/chromium/BRANDING', |
| 705 | }, |
| 706 | }], |
| 707 | ], |
| 708 | 'inputs': [ |
| 709 | '<(template_input_path)', |
| 710 | '<(version_path)', |
| 711 | '<(branding_path)', |
| 712 | '<(lastchange_path)', |
| 713 | ], |
| 714 | 'outputs': [ |
| 715 | '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h', |
| 716 | ], |
| 717 | 'action': [ |
| 718 | 'python', |
| 719 | '<(version_py_path)', |
| 720 | '-f', '<(version_path)', |
| 721 | '-f', '<(branding_path)', |
| 722 | '-f', '<(lastchange_path)', |
| 723 | '<(template_input_path)', |
| 724 | '<@(_outputs)', |
| 725 | ], |
| 726 | 'message': 'Generating version information', |
| 727 | }, |
| 728 | ], |
| 729 | }], |
| 730 | ], |
| 731 | }, |
| 732 | { |
| 733 | 'target_name': 'common_net', |
| 734 | 'type': 'static_library', |
| 735 | 'sources': [ |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 736 | 'common/net/net_error_info.cc', |
| 737 | 'common/net/net_error_info.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 738 | 'common/net/net_resource_provider.cc', |
| 739 | 'common/net/net_resource_provider.h', |
| 740 | 'common/net/predictor_common.h', |
| 741 | 'common/net/url_util.cc', |
| 742 | 'common/net/url_util.h', |
| 743 | 'common/net/x509_certificate_model.cc', |
| 744 | 'common/net/x509_certificate_model_nss.cc', |
| 745 | 'common/net/x509_certificate_model_openssl.cc', |
| 746 | 'common/net/x509_certificate_model.h', |
| 747 | ], |
| 748 | 'dependencies': [ |
| 749 | '<(DEPTH)/base/base.gyp:base', |
| 750 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 751 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 752 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
| 753 | '<(DEPTH)/net/net.gyp:net_resources', |
| 754 | '<(DEPTH)/net/net.gyp:net', |
| 755 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 756 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 757 | ], |
| 758 | 'conditions': [ |
| 759 | ['OS != "ios"', { |
| 760 | 'dependencies': [ |
| 761 | '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 762 | ], |
| 763 | }, { # OS == ios |
| 764 | 'sources!': [ |
| 765 | 'common/net/net_resource_provider.cc', |
| 766 | 'common/net/x509_certificate_model.cc', |
| 767 | ], |
| 768 | }], |
| 769 | ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
| 770 | 'dependencies': [ |
| 771 | '../build/linux/system.gyp:ssl', |
| 772 | ], |
| 773 | }, |
| 774 | ], |
| 775 | ['os_posix != 1 or OS == "mac" or OS == "ios"', { |
| 776 | 'sources!': [ |
| 777 | 'common/net/x509_certificate_model_nss.cc', |
| 778 | 'common/net/x509_certificate_model_openssl.cc', |
| 779 | ], |
| 780 | }, |
| 781 | ], |
| 782 | ['OS == "android"', { |
| 783 | 'dependencies': [ |
| 784 | '../third_party/openssl/openssl.gyp:openssl', |
| 785 | ], |
| 786 | }, |
| 787 | ], |
| 788 | ['use_openssl==1', { |
| 789 | 'sources!': [ |
| 790 | 'common/net/x509_certificate_model_nss.cc', |
| 791 | ], |
| 792 | }, |
| 793 | { # else !use_openssl: remove the unneeded files |
| 794 | 'sources!': [ |
| 795 | 'common/net/x509_certificate_model_openssl.cc', |
| 796 | ], |
| 797 | }, |
| 798 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 799 | ['OS=="win"', { |
| 800 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 801 | 'msvs_disabled_warnings': [4267, ], |
| 802 | }, |
| 803 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 804 | ], |
| 805 | }, |
| 806 | { |
| 807 | # Protobuf compiler / generator for the safebrowsing client |
| 808 | # model proto and the client-side detection (csd) request |
| 809 | # protocol buffer. |
| 810 | 'target_name': 'safe_browsing_proto', |
| 811 | 'type': 'static_library', |
| 812 | 'sources': [ |
| 813 | 'common/safe_browsing/client_model.proto', |
| 814 | 'common/safe_browsing/csd.proto' |
| 815 | ], |
| 816 | 'variables': { |
| 817 | 'proto_in_dir': 'common/safe_browsing', |
| 818 | 'proto_out_dir': 'chrome/common/safe_browsing', |
| 819 | }, |
| 820 | 'includes': [ '../build/protoc.gypi' ], |
| 821 | }, |
| 822 | { |
| 823 | # Protobuf compiler / generator for UMA (User Metrics Analysis). |
| 824 | 'target_name': 'metrics_proto', |
| 825 | 'type': 'static_library', |
| 826 | 'sources': [ |
| 827 | 'common/metrics/proto/chrome_experiments.proto', |
| 828 | 'common/metrics/proto/chrome_user_metrics_extension.proto', |
| 829 | 'common/metrics/proto/histogram_event.proto', |
| 830 | 'common/metrics/proto/omnibox_event.proto', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 831 | 'common/metrics/proto/perf_data.proto', |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 832 | 'common/metrics/proto/permuted_entropy_cache.proto', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 833 | 'common/metrics/proto/profiler_event.proto', |
| 834 | 'common/metrics/proto/system_profile.proto', |
| 835 | 'common/metrics/proto/user_action_event.proto', |
| 836 | ], |
| 837 | 'variables': { |
| 838 | 'proto_in_dir': 'common/metrics/proto', |
| 839 | 'proto_out_dir': 'chrome/common/metrics/proto', |
| 840 | }, |
| 841 | 'includes': [ '../build/protoc.gypi' ], |
| 842 | }, |
| 843 | ], |
| 844 | } |