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', |
| 35 | '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 36 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 37 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 38 | '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', |
| 39 | '<(DEPTH)/chrome/common_constants.gyp:common_constants', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 40 | '<(DEPTH)/components/components.gyp:visitedlink_common', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 41 | '<(DEPTH)/content/content.gyp:content_common', |
| 42 | '<(DEPTH)/net/net.gyp:net', |
| 43 | '<(DEPTH)/skia/skia.gyp:skia', |
| 44 | '<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2', |
| 45 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 46 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 47 | '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
| 48 | '<(DEPTH)/third_party/mt19937ar/mt19937ar.gyp:mt19937ar', |
| 49 | '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
| 50 | '<(DEPTH)/third_party/zlib/zlib.gyp:minizip', |
| 51 | '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
| 52 | '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 53 | '<(DEPTH)/webkit/support/webkit_support.gyp:user_agent', |
| 54 | ], |
| 55 | 'sources': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 56 | '../apps/app_shim/app_shim_messages.h', |
| 57 | '../extensions/common/constants.cc', |
| 58 | '../extensions/common/constants.h', |
| 59 | '../extensions/common/crx_file.cc', |
| 60 | '../extensions/common/crx_file.h', |
| 61 | '../extensions/common/draggable_region.cc', |
| 62 | '../extensions/common/draggable_region.h', |
| 63 | '../extensions/common/error_utils.cc', |
| 64 | '../extensions/common/error_utils.h', |
| 65 | '../extensions/common/event_filter.cc', |
| 66 | '../extensions/common/event_filter.h', |
| 67 | '../extensions/common/event_filtering_info.cc', |
| 68 | '../extensions/common/event_filtering_info.h', |
| 69 | '../extensions/common/event_matcher.cc', |
| 70 | '../extensions/common/event_matcher.h', |
| 71 | '../extensions/common/extension_resource.cc', |
| 72 | '../extensions/common/extension_resource.h', |
| 73 | '../extensions/common/id_util.cc', |
| 74 | '../extensions/common/id_util.h', |
| 75 | '../extensions/common/install_warning.h', |
| 76 | '../extensions/common/install_warning.cc', |
| 77 | '../extensions/common/matcher/regex_set_matcher.cc', |
| 78 | '../extensions/common/matcher/regex_set_matcher.h', |
| 79 | '../extensions/common/matcher/string_pattern.cc', |
| 80 | '../extensions/common/matcher/string_pattern.h', |
| 81 | '../extensions/common/matcher/substring_set_matcher.cc', |
| 82 | '../extensions/common/matcher/substring_set_matcher.h', |
| 83 | '../extensions/common/matcher/url_matcher.cc', |
| 84 | '../extensions/common/matcher/url_matcher.h', |
| 85 | '../extensions/common/matcher/url_matcher_constants.cc', |
| 86 | '../extensions/common/matcher/url_matcher_constants.h', |
| 87 | '../extensions/common/matcher/url_matcher_factory.cc', |
| 88 | '../extensions/common/matcher/url_matcher_factory.h', |
| 89 | '../extensions/common/matcher/url_matcher_helpers.cc', |
| 90 | '../extensions/common/matcher/url_matcher_helpers.h', |
| 91 | '../extensions/common/url_pattern.cc', |
| 92 | '../extensions/common/url_pattern.h', |
| 93 | '../extensions/common/url_pattern_set.cc', |
| 94 | '../extensions/common/url_pattern_set.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 95 | 'common/all_messages.h', |
| 96 | 'common/attrition_experiments.h', |
| 97 | 'common/auto_start_linux.cc', |
| 98 | 'common/auto_start_linux.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 99 | 'common/automation_constants.cc', |
| 100 | 'common/automation_constants.h', |
| 101 | 'common/automation_events.cc', |
| 102 | 'common/automation_events.h', |
| 103 | 'common/automation_id.cc', |
| 104 | 'common/automation_id.h', |
| 105 | 'common/automation_messages.cc', |
| 106 | 'common/automation_messages.h', |
| 107 | 'common/automation_messages_internal.h', |
| 108 | 'common/badge_util.cc', |
| 109 | 'common/badge_util.h', |
| 110 | 'common/bzip2_error_handler.cc', |
| 111 | 'common/cancelable_task_tracker.cc', |
| 112 | 'common/cancelable_task_tracker.h', |
| 113 | 'common/child_process_logging.h', |
| 114 | 'common/child_process_logging_mac.mm', |
| 115 | 'common/child_process_logging_posix.cc', |
| 116 | 'common/child_process_logging_win.cc', |
| 117 | 'common/chrome_content_client.cc', |
| 118 | 'common/chrome_content_client.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 119 | 'common/chrome_content_client_ios.mm', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 120 | 'common/chrome_notification_types.h', |
| 121 | 'common/chrome_result_codes.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 122 | 'common/chrome_process_type.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 123 | 'common/chrome_sandbox_type_mac.h', |
| 124 | 'common/chrome_utility_messages.h', |
| 125 | 'common/chrome_version_info.cc', |
| 126 | 'common/chrome_version_info_android.cc', |
| 127 | 'common/chrome_version_info_chromeos.cc', |
| 128 | 'common/chrome_version_info_posix.cc', |
| 129 | 'common/chrome_version_info_mac.mm', |
| 130 | 'common/chrome_version_info_win.cc', |
| 131 | 'common/chrome_version_info.h', |
| 132 | 'common/cloud_print/cloud_print_class_mac.h', |
| 133 | 'common/cloud_print/cloud_print_class_mac.mm', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 134 | 'common/cloud_print/cloud_print_constants.cc', |
| 135 | 'common/cloud_print/cloud_print_constants.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 136 | 'common/cloud_print/cloud_print_helpers.cc', |
| 137 | 'common/cloud_print/cloud_print_helpers.h', |
| 138 | 'common/cloud_print/cloud_print_proxy_info.cc', |
| 139 | 'common/cloud_print/cloud_print_proxy_info.h', |
| 140 | 'common/common_message_generator.cc', |
| 141 | 'common/common_message_generator.h', |
| 142 | 'common/common_param_traits.cc', |
| 143 | 'common/common_param_traits.h', |
| 144 | 'common/common_param_traits_macros.h', |
| 145 | 'common/content_settings.cc', |
| 146 | 'common/content_settings.h', |
| 147 | 'common/content_settings_helper.cc', |
| 148 | 'common/content_settings_helper.h', |
| 149 | 'common/content_settings_pattern.cc', |
| 150 | 'common/content_settings_pattern.h', |
| 151 | 'common/content_settings_pattern_parser.cc', |
| 152 | 'common/content_settings_pattern_parser.h', |
| 153 | 'common/content_settings_types.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 154 | 'common/crash_keys.cc', |
| 155 | 'common/crash_keys.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 156 | 'common/custom_handlers/protocol_handler.cc', |
| 157 | 'common/custom_handlers/protocol_handler.h', |
| 158 | 'common/descriptors_android.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 159 | 'common/dump_without_crashing.cc', |
| 160 | 'common/dump_without_crashing.h', |
| 161 | 'common/extensions/api/commands/commands_handler.cc', |
| 162 | 'common/extensions/api/commands/commands_handler.h', |
| 163 | 'common/extensions/api/extension_action/action_info.cc', |
| 164 | 'common/extensions/api/extension_action/action_info.h', |
| 165 | 'common/extensions/api/extension_action/browser_action_handler.cc', |
| 166 | 'common/extensions/api/extension_action/browser_action_handler.h', |
| 167 | 'common/extensions/api/extension_action/page_action_handler.cc', |
| 168 | 'common/extensions/api/extension_action/page_action_handler.h', |
| 169 | 'common/extensions/api/extension_action/script_badge_handler.cc', |
| 170 | 'common/extensions/api/extension_action/script_badge_handler.h', |
| 171 | 'common/extensions/api/extension_api.cc', |
| 172 | 'common/extensions/api/extension_api.h', |
| 173 | 'common/extensions/api/extension_api_stub.cc', |
| 174 | 'common/extensions/api/file_handlers/file_handlers_parser.cc', |
| 175 | 'common/extensions/api/file_handlers/file_handlers_parser.h', |
| 176 | 'common/extensions/api/i18n/default_locale_handler.cc', |
| 177 | 'common/extensions/api/i18n/default_locale_handler.h', |
| 178 | 'common/extensions/api/icons/icons_handler.cc', |
| 179 | 'common/extensions/api/icons/icons_handler.h', |
| 180 | 'common/extensions/api/identity/oauth2_manifest_handler.cc', |
| 181 | 'common/extensions/api/identity/oauth2_manifest_handler.h', |
| 182 | 'common/extensions/api/input_ime/input_components_handler.cc', |
| 183 | 'common/extensions/api/input_ime/input_components_handler.h', |
| 184 | 'common/extensions/api/omnibox/omnibox_handler.cc', |
| 185 | 'common/extensions/api/omnibox/omnibox_handler.h', |
| 186 | 'common/extensions/api/page_launcher/page_launcher_handler.cc', |
| 187 | 'common/extensions/api/page_launcher/page_launcher_handler.h', |
| 188 | 'common/extensions/api/plugins/plugins_handler.cc', |
| 189 | 'common/extensions/api/plugins/plugins_handler.h', |
| 190 | 'common/extensions/api/speech/tts_engine_manifest_handler.cc', |
| 191 | 'common/extensions/api/speech/tts_engine_manifest_handler.h', |
| 192 | 'common/extensions/api/system_indicator/system_indicator_handler.cc', |
| 193 | 'common/extensions/api/system_indicator/system_indicator_handler.h', |
| 194 | 'common/extensions/api/themes/theme_handler.cc', |
| 195 | 'common/extensions/api/themes/theme_handler.h', |
| 196 | 'common/extensions/background_info.cc', |
| 197 | 'common/extensions/background_info.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 198 | 'common/extensions/command.cc', |
| 199 | 'common/extensions/command.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 200 | 'common/extensions/csp_handler.cc', |
| 201 | 'common/extensions/csp_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 202 | 'common/extensions/csp_validator.cc', |
| 203 | 'common/extensions/csp_validator.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 204 | 'common/extensions/extension.cc', |
| 205 | 'common/extensions/extension.h', |
| 206 | 'common/extensions/extension_constants.cc', |
| 207 | 'common/extensions/extension_constants.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 208 | 'common/extensions/extension_file_util.cc', |
| 209 | 'common/extensions/extension_file_util.h', |
| 210 | 'common/extensions/extension_icon_set.cc', |
| 211 | 'common/extensions/extension_icon_set.h', |
| 212 | 'common/extensions/extension_l10n_util.cc', |
| 213 | 'common/extensions/extension_l10n_util.h', |
| 214 | 'common/extensions/extension_localization_peer.cc', |
| 215 | 'common/extensions/extension_localization_peer.h', |
| 216 | 'common/extensions/extension_manifest_constants.cc', |
| 217 | 'common/extensions/extension_manifest_constants.h', |
| 218 | 'common/extensions/extension_messages.cc', |
| 219 | 'common/extensions/extension_messages.h', |
| 220 | 'common/extensions/extension_process_policy.cc', |
| 221 | 'common/extensions/extension_process_policy.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 222 | 'common/extensions/extension_set.cc', |
| 223 | 'common/extensions/extension_set.h', |
| 224 | 'common/extensions/feature_switch.cc', |
| 225 | 'common/extensions/feature_switch.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 226 | 'common/extensions/features/base_feature_provider.cc', |
| 227 | 'common/extensions/features/base_feature_provider.h', |
| 228 | 'common/extensions/features/complex_feature.cc', |
| 229 | 'common/extensions/features/complex_feature.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 230 | 'common/extensions/features/feature.cc', |
| 231 | 'common/extensions/features/feature.h', |
| 232 | 'common/extensions/features/feature_provider.h', |
| 233 | 'common/extensions/features/manifest_feature.cc', |
| 234 | 'common/extensions/features/manifest_feature.h', |
| 235 | 'common/extensions/features/permission_feature.cc', |
| 236 | 'common/extensions/features/permission_feature.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 237 | 'common/extensions/features/simple_feature.cc', |
| 238 | 'common/extensions/features/simple_feature.h', |
| 239 | 'common/extensions/incognito_handler.cc', |
| 240 | 'common/extensions/incognito_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 241 | 'common/extensions/manifest.cc', |
| 242 | 'common/extensions/manifest.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 243 | 'common/extensions/manifest_handler.cc', |
| 244 | 'common/extensions/manifest_handler.h', |
| 245 | 'common/extensions/manifest_handler_helpers.cc', |
| 246 | 'common/extensions/manifest_handler_helpers.h', |
| 247 | 'common/extensions/manifest_handlers/content_scripts_handler.cc', |
| 248 | 'common/extensions/manifest_handlers/content_scripts_handler.h', |
| 249 | 'common/extensions/manifest_url_handler.cc', |
| 250 | 'common/extensions/manifest_url_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 251 | 'common/extensions/message_bundle.cc', |
| 252 | 'common/extensions/message_bundle.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 253 | 'common/extensions/mime_types_handler.cc', |
| 254 | 'common/extensions/mime_types_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 255 | 'common/extensions/permissions/api_permission.cc', |
| 256 | 'common/extensions/permissions/api_permission.h', |
| 257 | 'common/extensions/permissions/api_permission_set.cc', |
| 258 | 'common/extensions/permissions/api_permission_set.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 259 | 'common/extensions/permissions/bluetooth_device_permission.cc', |
| 260 | 'common/extensions/permissions/bluetooth_device_permission.h', |
| 261 | 'common/extensions/permissions/bluetooth_device_permission_data.cc', |
| 262 | 'common/extensions/permissions/bluetooth_device_permission_data.h', |
| 263 | 'common/extensions/permissions/media_galleries_permission.cc', |
| 264 | 'common/extensions/permissions/media_galleries_permission.h', |
| 265 | 'common/extensions/permissions/media_galleries_permission_data.cc', |
| 266 | 'common/extensions/permissions/media_galleries_permission_data.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 267 | 'common/extensions/permissions/permission_message.cc', |
| 268 | 'common/extensions/permissions/permission_message.h', |
| 269 | 'common/extensions/permissions/permission_set.cc', |
| 270 | 'common/extensions/permissions/permission_set.h', |
| 271 | 'common/extensions/permissions/permissions_info.cc', |
| 272 | 'common/extensions/permissions/permissions_info.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 273 | 'common/extensions/permissions/set_disjunction_permission.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 274 | 'common/extensions/permissions/socket_permission.cc', |
| 275 | 'common/extensions/permissions/socket_permission.h', |
| 276 | 'common/extensions/permissions/socket_permission_data.cc', |
| 277 | 'common/extensions/permissions/socket_permission_data.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 278 | 'common/extensions/permissions/usb_device_permission.cc', |
| 279 | 'common/extensions/permissions/usb_device_permission.h', |
| 280 | 'common/extensions/permissions/usb_device_permission_data.cc', |
| 281 | 'common/extensions/permissions/usb_device_permission_data.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 282 | 'common/extensions/request_media_access_permission_helper.cc', |
| 283 | 'common/extensions/request_media_access_permission_helper.h', |
| 284 | 'common/extensions/unpacker.cc', |
| 285 | 'common/extensions/unpacker.h', |
| 286 | 'common/extensions/update_manifest.cc', |
| 287 | 'common/extensions/update_manifest.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 288 | 'common/extensions/user_script.cc', |
| 289 | 'common/extensions/user_script.h', |
| 290 | 'common/extensions/value_counter.cc', |
| 291 | 'common/extensions/value_counter.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 292 | 'common/extensions/web_accessible_resources_handler.cc', |
| 293 | 'common/extensions/web_accessible_resources_handler.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 294 | 'common/external_ipc_fuzzer.h', |
| 295 | 'common/external_ipc_fuzzer.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 296 | 'common/icon_with_badge_image_source.cc', |
| 297 | 'common/icon_with_badge_image_source.h', |
| 298 | 'common/instant_restricted_id_cache.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 299 | 'common/instant_types.cc', |
| 300 | 'common/instant_types.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 301 | 'common/json_schema/json_schema_constants.cc', |
| 302 | 'common/json_schema/json_schema_constants.h', |
| 303 | 'common/json_schema/json_schema_validator.cc', |
| 304 | 'common/json_schema/json_schema_validator.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 305 | 'common/localized_error.cc', |
| 306 | 'common/localized_error.h', |
| 307 | 'common/logging_chrome.cc', |
| 308 | 'common/logging_chrome.h', |
| 309 | 'common/mac/app_mode_common.h', |
| 310 | 'common/mac/app_mode_common.mm', |
| 311 | 'common/mac/cfbundle_blocker.h', |
| 312 | 'common/mac/cfbundle_blocker.mm', |
| 313 | 'common/mac/launchd.h', |
| 314 | 'common/mac/launchd.mm', |
| 315 | 'common/mac/nscoder_util.h', |
| 316 | 'common/mac/nscoder_util.mm', |
| 317 | 'common/mac/objc_method_swizzle.h', |
| 318 | 'common/mac/objc_method_swizzle.mm', |
| 319 | 'common/mac/objc_zombie.h', |
| 320 | 'common/mac/objc_zombie.mm', |
| 321 | 'common/metrics/entropy_provider.cc', |
| 322 | 'common/metrics/entropy_provider.h', |
| 323 | 'common/metrics/metrics_log_base.cc', |
| 324 | 'common/metrics/metrics_log_base.h', |
| 325 | 'common/metrics/metrics_log_manager.cc', |
| 326 | 'common/metrics/metrics_log_manager.h', |
| 327 | 'common/metrics/metrics_service_base.cc', |
| 328 | 'common/metrics/metrics_service_base.h', |
| 329 | 'common/metrics/metrics_util.cc', |
| 330 | 'common/metrics/metrics_util.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 331 | 'common/metrics/variations/uniformity_field_trials.cc', |
| 332 | 'common/metrics/variations/uniformity_field_trials.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 333 | 'common/metrics/variations/variations_util.cc', |
| 334 | 'common/metrics/variations/variations_util.h', |
| 335 | 'common/multi_process_lock.h', |
| 336 | 'common/multi_process_lock_linux.cc', |
| 337 | 'common/multi_process_lock_mac.cc', |
| 338 | 'common/multi_process_lock_win.cc', |
| 339 | 'common/nacl_cmd_line.cc', |
| 340 | 'common/nacl_cmd_line.h', |
| 341 | 'common/nacl_messages.cc', |
| 342 | 'common/nacl_messages.h', |
| 343 | 'common/nacl_types.cc', |
| 344 | 'common/nacl_types.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 345 | 'common/omaha_query_params.cc', |
| 346 | 'common/omaha_query_params.h', |
| 347 | 'common/one_click_signin_messages.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 348 | 'common/pepper_flash.cc', |
| 349 | 'common/pepper_flash.h', |
| 350 | 'common/pref_names_util.cc', |
| 351 | 'common/pref_names_util.h', |
| 352 | 'common/print_messages.cc', |
| 353 | 'common/print_messages.h', |
| 354 | 'common/profiling.cc', |
| 355 | 'common/profiling.h', |
| 356 | 'common/ref_counted_util.h', |
| 357 | 'common/render_messages.cc', |
| 358 | 'common/render_messages.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 359 | 'common/safe_browsing/download_protection_util.cc', |
| 360 | 'common/safe_browsing/download_protection_util.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 361 | 'common/safe_browsing/safebrowsing_messages.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 362 | 'common/safe_browsing/zip_analyzer.cc', |
| 363 | 'common/safe_browsing/zip_analyzer.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 364 | 'common/search_provider.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 365 | 'common/search_types.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 366 | 'common/service_messages.h', |
| 367 | 'common/service_process_util.cc', |
| 368 | 'common/service_process_util.h', |
| 369 | 'common/service_process_util_linux.cc', |
| 370 | 'common/service_process_util_mac.mm', |
| 371 | 'common/service_process_util_posix.cc', |
| 372 | 'common/service_process_util_posix.h', |
| 373 | 'common/service_process_util_win.cc', |
| 374 | 'common/spellcheck_common.cc', |
| 375 | 'common/spellcheck_common.h', |
| 376 | 'common/spellcheck_messages.h', |
| 377 | 'common/spellcheck_result.h', |
| 378 | 'common/startup_metric_utils.cc', |
| 379 | 'common/startup_metric_utils.h', |
| 380 | 'common/switch_utils.cc', |
| 381 | 'common/switch_utils.h', |
| 382 | 'common/thumbnail_score.cc', |
| 383 | 'common/thumbnail_score.h', |
| 384 | 'common/time_format.cc', |
| 385 | 'common/time_format.h', |
| 386 | 'common/url_constants.cc', |
| 387 | 'common/url_constants.h', |
| 388 | 'common/view_type.cc', |
| 389 | 'common/view_type.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 390 | 'common/web_apps.cc', |
| 391 | 'common/web_apps.h', |
| 392 | 'common/web_resource/web_resource_unpacker.cc', |
| 393 | 'common/web_resource/web_resource_unpacker.h', |
| 394 | 'common/worker_thread_ticker.cc', |
| 395 | 'common/worker_thread_ticker.h', |
| 396 | 'common/zip.cc', # Requires zlib directly. |
| 397 | 'common/zip.h', |
| 398 | 'common/zip_internal.cc', |
| 399 | 'common/zip_internal.h', |
| 400 | 'common/zip_reader.cc', |
| 401 | 'common/zip_reader.h', |
| 402 | ], |
| 403 | 'conditions': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 404 | ['enable_extensions==1', { |
| 405 | 'sources!': [ |
| 406 | 'common/extensions/api/extension_api_stub.cc', |
| 407 | ], |
| 408 | 'dependencies': [ |
| 409 | '../device/device.gyp:device_usb', |
| 410 | ], |
| 411 | }, { # enable_extensions == 0 |
| 412 | 'sources/': [ |
| 413 | ['exclude', '^common/extensions/api/'], |
| 414 | ['include', 'common/extensions/api/extension_api_stub.cc'], |
| 415 | ['include', 'common/extensions/api/extension_action/action_info.cc'], |
| 416 | ['include', 'common/extensions/api/extension_action/action_info.h'], |
| 417 | ['include', 'common/extensions/api/extension_action/browser_action_handler.cc'], |
| 418 | ['include', 'common/extensions/api/extension_action/browser_action_handler.h'], |
| 419 | ['include', 'common/extensions/api/content_scripts/content_scripts_handler.cc'], |
| 420 | ['include', 'common/extensions/api/content_scripts/content_scripts_handler.h'], |
| 421 | ['include', 'common/extensions/api/extension_action/page_action_handler.cc'], |
| 422 | ['include', 'common/extensions/api/extension_action/page_action_handler.h'], |
| 423 | ['include', 'common/extensions/api/icons/icons_handler.cc'], |
| 424 | ['include', 'common/extensions/api/icons/icons_handler.h'], |
| 425 | ['include', 'common/extensions/api/i18n/default_locale_handler.cc'], |
| 426 | ['include', 'common/extensions/api/i18n/default_locale_handler.h'], |
| 427 | ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'], |
| 428 | ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'], |
| 429 | ['include', 'common/extensions/api/plugins/plugins_handler.cc'], |
| 430 | ['include', 'common/extensions/api/plugins/plugins_handler.h'], |
| 431 | ['include', 'common/extensions/api/themes/theme_handler.cc'], |
| 432 | ['include', 'common/extensions/api/themes/theme_handler.h'], |
| 433 | ], |
| 434 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 435 | ['OS != "ios"', { |
| 436 | 'dependencies': [ |
| 437 | '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
| 438 | '<(DEPTH)/chrome/common/extensions/api/api.gyp:api', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 439 | '<(DEPTH)/components/components.gyp:autofill_common', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 440 | '<(DEPTH)/ipc/ipc.gyp:ipc', |
| 441 | '<(DEPTH)/printing/printing.gyp:printing', |
| 442 | '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
| 443 | '<(DEPTH)/third_party/re2/re2.gyp:re2', |
| 444 | '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
| 445 | '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
| 446 | ], |
| 447 | }, { # OS == ios |
| 448 | 'sources/': [ |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 449 | ['exclude', '^common/child_process_'], |
| 450 | ['exclude', '^common/chrome_content_client\\.cc$'], |
| 451 | ['exclude', '^common/chrome_version_info_posix\\.cc$'], |
| 452 | ['exclude', '^common/common_message_generator\\.cc$'], |
| 453 | ['exclude', '^common/common_param_traits'], |
| 454 | ['exclude', '^common/custom_handlers/'], |
| 455 | ['exclude', '^common/extensions/'], |
| 456 | ['exclude', '^common/external_ipc_fuzzer\\.'], |
| 457 | ['exclude', '^common/logging_chrome\\.'], |
| 458 | ['exclude', '^common/multi_process_'], |
| 459 | ['exclude', '^common/nacl_'], |
| 460 | ['exclude', '^common/pepper_flash\\.'], |
| 461 | ['exclude', '^common/profiling\\.'], |
| 462 | ['exclude', '^common/service_process_util_'], |
| 463 | ['exclude', '^common/spellcheck_'], |
| 464 | ['exclude', '^common/web_apps\\.'], |
| 465 | # TODO(ios): Include files here as they are made to work; once |
| 466 | # everything is online, remove everything below here and just |
| 467 | # use the exclusions above. |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 468 | ['exclude', '\\.(cc|mm)$'], |
| 469 | ['include', '_ios\\.(cc|mm)$'], |
| 470 | ['include', '(^|/)ios/'], |
| 471 | ['include', '^common/chrome_version_info\\.cc$'], |
| 472 | ['include', '^common/zip'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 473 | ], |
| 474 | }], |
| 475 | ['OS=="android"', { |
| 476 | 'sources/': [ |
| 477 | ['exclude', '^common/chrome_version_info_posix.cc'], |
| 478 | ['exclude', '^common/service_'], |
| 479 | ], |
| 480 | 'dependencies!': [ |
| 481 | '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
| 482 | ], |
| 483 | }], |
| 484 | ['OS=="win"', { |
| 485 | 'include_dirs': [ |
| 486 | '<(DEPTH)/third_party/wtl/include', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 487 | ], |
| 488 | 'sources!': [ |
| 489 | 'common/crash_keys.cc', |
| 490 | 'common/crash_keys.h', |
| 491 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 492 | }], |
| 493 | ['toolkit_uses_gtk == 1', { |
| 494 | 'dependencies': [ |
| 495 | '../build/linux/system.gyp:gtk', |
| 496 | ], |
| 497 | 'export_dependent_settings': [ |
| 498 | '../third_party/sqlite/sqlite.gyp:sqlite', |
| 499 | ], |
| 500 | 'link_settings': { |
| 501 | 'libraries': [ |
| 502 | '-lX11', |
| 503 | '-lXrender', |
| 504 | '-lXss', |
| 505 | '-lXext', |
| 506 | ], |
| 507 | }, |
| 508 | }], |
| 509 | ['OS=="linux" and selinux==1', { |
| 510 | 'dependencies': [ |
| 511 | '../build/linux/system.gyp:selinux', |
| 512 | ], |
| 513 | }], |
| 514 | ['chromeos==1', { |
| 515 | 'sources!': [ |
| 516 | 'common/chrome_version_info_linux.cc', |
| 517 | ], |
| 518 | }], |
| 519 | ['OS=="mac"', { |
| 520 | 'dependencies': [ |
| 521 | '../third_party/mach_override/mach_override.gyp:mach_override', |
| 522 | ], |
| 523 | 'include_dirs': [ |
| 524 | '../third_party/GTM', |
| 525 | ], |
| 526 | 'sources!': [ |
| 527 | 'common/child_process_logging_posix.cc', |
| 528 | 'common/chrome_version_info_posix.cc', |
| 529 | ], |
| 530 | }], |
| 531 | ['remoting==1', { |
| 532 | 'dependencies': [ |
| 533 | '../remoting/remoting.gyp:remoting_client_plugin', |
| 534 | ], |
| 535 | }], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 536 | ['enable_automation==0', { |
| 537 | 'sources/': [ |
| 538 | ['exclude', '^common/automation_'] |
| 539 | ] |
| 540 | }], |
| 541 | ['use_system_nspr==1', { |
| 542 | 'dependencies': [ |
| 543 | '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr', |
| 544 | ], |
| 545 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 546 | ], |
| 547 | 'target_conditions': [ |
| 548 | ['OS == "ios"', { |
| 549 | 'sources/': [ |
| 550 | # Pull in specific Mac files for iOS (which have been filtered out |
| 551 | # by file name rules). |
| 552 | ['include', '^common/chrome_version_info_mac\\.mm$'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 553 | ['include', '^common/mac/nscoder_util\\.'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 554 | ], |
| 555 | }], |
| 556 | ], |
| 557 | 'export_dependent_settings': [ |
| 558 | '../base/base.gyp:base', |
| 559 | 'metrics_proto', |
| 560 | ], |
| 561 | }, |
| 562 | { |
| 563 | 'target_name': 'common_version', |
| 564 | 'type': 'none', |
| 565 | 'conditions': [ |
| 566 | ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
| 567 | 'direct_dependent_settings': { |
| 568 | 'include_dirs': [ |
| 569 | '<(SHARED_INTERMEDIATE_DIR)', |
| 570 | ], |
| 571 | }, |
| 572 | # Because posix_version generates a header, we must set the |
| 573 | # hard_dependency flag. |
| 574 | 'hard_dependency': 1, |
| 575 | 'actions': [ |
| 576 | { |
| 577 | 'action_name': 'posix_version', |
| 578 | 'variables': { |
| 579 | 'lastchange_path': |
| 580 | '<(DEPTH)/build/util/LASTCHANGE', |
| 581 | 'version_py_path': 'tools/build/version.py', |
| 582 | 'version_path': 'VERSION', |
| 583 | 'template_input_path': 'common/chrome_version_info_posix.h.version', |
| 584 | }, |
| 585 | 'conditions': [ |
| 586 | [ 'branding == "Chrome"', { |
| 587 | 'variables': { |
| 588 | 'branding_path': |
| 589 | 'app/theme/google_chrome/BRANDING', |
| 590 | }, |
| 591 | }, { # else branding!="Chrome" |
| 592 | 'variables': { |
| 593 | 'branding_path': |
| 594 | 'app/theme/chromium/BRANDING', |
| 595 | }, |
| 596 | }], |
| 597 | ], |
| 598 | 'inputs': [ |
| 599 | '<(template_input_path)', |
| 600 | '<(version_path)', |
| 601 | '<(branding_path)', |
| 602 | '<(lastchange_path)', |
| 603 | ], |
| 604 | 'outputs': [ |
| 605 | '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h', |
| 606 | ], |
| 607 | 'action': [ |
| 608 | 'python', |
| 609 | '<(version_py_path)', |
| 610 | '-f', '<(version_path)', |
| 611 | '-f', '<(branding_path)', |
| 612 | '-f', '<(lastchange_path)', |
| 613 | '<(template_input_path)', |
| 614 | '<@(_outputs)', |
| 615 | ], |
| 616 | 'message': 'Generating version information', |
| 617 | }, |
| 618 | ], |
| 619 | }], |
| 620 | ], |
| 621 | }, |
| 622 | { |
| 623 | 'target_name': 'common_net', |
| 624 | 'type': 'static_library', |
| 625 | 'sources': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 626 | 'common/net/net_error_tracker.cc', |
| 627 | 'common/net/net_error_tracker.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 628 | 'common/net/net_resource_provider.cc', |
| 629 | 'common/net/net_resource_provider.h', |
| 630 | 'common/net/predictor_common.h', |
| 631 | 'common/net/url_util.cc', |
| 632 | 'common/net/url_util.h', |
| 633 | 'common/net/x509_certificate_model.cc', |
| 634 | 'common/net/x509_certificate_model_nss.cc', |
| 635 | 'common/net/x509_certificate_model_openssl.cc', |
| 636 | 'common/net/x509_certificate_model.h', |
| 637 | ], |
| 638 | 'dependencies': [ |
| 639 | '<(DEPTH)/base/base.gyp:base', |
| 640 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 641 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 642 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
| 643 | '<(DEPTH)/net/net.gyp:net_resources', |
| 644 | '<(DEPTH)/net/net.gyp:net', |
| 645 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 646 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 647 | ], |
| 648 | 'conditions': [ |
| 649 | ['OS != "ios"', { |
| 650 | 'dependencies': [ |
| 651 | '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 652 | ], |
| 653 | }, { # OS == ios |
| 654 | 'sources!': [ |
| 655 | 'common/net/net_resource_provider.cc', |
| 656 | 'common/net/x509_certificate_model.cc', |
| 657 | ], |
| 658 | }], |
| 659 | ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
| 660 | 'dependencies': [ |
| 661 | '../build/linux/system.gyp:ssl', |
| 662 | ], |
| 663 | }, |
| 664 | ], |
| 665 | ['os_posix != 1 or OS == "mac" or OS == "ios"', { |
| 666 | 'sources!': [ |
| 667 | 'common/net/x509_certificate_model_nss.cc', |
| 668 | 'common/net/x509_certificate_model_openssl.cc', |
| 669 | ], |
| 670 | }, |
| 671 | ], |
| 672 | ['OS == "android"', { |
| 673 | 'dependencies': [ |
| 674 | '../third_party/openssl/openssl.gyp:openssl', |
| 675 | ], |
| 676 | }, |
| 677 | ], |
| 678 | ['use_openssl==1', { |
| 679 | 'sources!': [ |
| 680 | 'common/net/x509_certificate_model_nss.cc', |
| 681 | ], |
| 682 | }, |
| 683 | { # else !use_openssl: remove the unneeded files |
| 684 | 'sources!': [ |
| 685 | 'common/net/x509_certificate_model_openssl.cc', |
| 686 | ], |
| 687 | }, |
| 688 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 689 | ['OS=="win"', { |
| 690 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 691 | 'msvs_disabled_warnings': [4267, ], |
| 692 | }, |
| 693 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 694 | ], |
| 695 | }, |
| 696 | { |
| 697 | # Protobuf compiler / generator for the safebrowsing client |
| 698 | # model proto and the client-side detection (csd) request |
| 699 | # protocol buffer. |
| 700 | 'target_name': 'safe_browsing_proto', |
| 701 | 'type': 'static_library', |
| 702 | 'sources': [ |
| 703 | 'common/safe_browsing/client_model.proto', |
| 704 | 'common/safe_browsing/csd.proto' |
| 705 | ], |
| 706 | 'variables': { |
| 707 | 'proto_in_dir': 'common/safe_browsing', |
| 708 | 'proto_out_dir': 'chrome/common/safe_browsing', |
| 709 | }, |
| 710 | 'includes': [ '../build/protoc.gypi' ], |
| 711 | }, |
| 712 | { |
| 713 | # Protobuf compiler / generator for UMA (User Metrics Analysis). |
| 714 | 'target_name': 'metrics_proto', |
| 715 | 'type': 'static_library', |
| 716 | 'sources': [ |
| 717 | 'common/metrics/proto/chrome_experiments.proto', |
| 718 | 'common/metrics/proto/chrome_user_metrics_extension.proto', |
| 719 | 'common/metrics/proto/histogram_event.proto', |
| 720 | 'common/metrics/proto/omnibox_event.proto', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame^] | 721 | 'common/metrics/proto/perf_data.proto', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 722 | 'common/metrics/proto/profiler_event.proto', |
| 723 | 'common/metrics/proto/system_profile.proto', |
| 724 | 'common/metrics/proto/user_action_event.proto', |
| 725 | ], |
| 726 | 'variables': { |
| 727 | 'proto_in_dir': 'common/metrics/proto', |
| 728 | 'proto_out_dir': 'chrome/common/metrics/proto', |
| 729 | }, |
| 730 | 'includes': [ '../build/protoc.gypi' ], |
| 731 | }, |
| 732 | ], |
| 733 | } |