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