[email protected] | 098fa7a | 2013-03-08 22:11:17 | [diff] [blame] | 1 | # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [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 | { |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 6 | 'variables': { |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 7 | # File lists shared with GN build. |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 8 | 'chrome_common_sources': [ |
| 9 | '../apps/app_shim/app_shim_launch.h', |
| 10 | '../apps/app_shim/app_shim_messages.h', |
| 11 | 'common/all_messages.h', |
| 12 | 'common/attrition_experiments.h', |
| 13 | 'common/auto_start_linux.cc', |
| 14 | 'common/auto_start_linux.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 15 | 'common/badge_util.cc', |
| 16 | 'common/badge_util.h', |
| 17 | 'common/child_process_logging.h', |
| 18 | 'common/child_process_logging_win.cc', |
| 19 | 'common/chrome_content_client.cc', |
| 20 | 'common/chrome_content_client.h', |
| 21 | 'common/chrome_content_client_constants.cc', |
| 22 | 'common/chrome_content_client_ios.mm', |
| 23 | 'common/chrome_result_codes.h', |
| 24 | 'common/chrome_utility_messages.h', |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 25 | 'common/chrome_utility_printing_messages.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 26 | 'common/chrome_version_info.cc', |
| 27 | 'common/chrome_version_info_android.cc', |
| 28 | 'common/chrome_version_info_chromeos.cc', |
| 29 | 'common/chrome_version_info_posix.cc', |
| 30 | 'common/chrome_version_info_mac.mm', |
| 31 | 'common/chrome_version_info_win.cc', |
| 32 | 'common/chrome_version_info.h', |
| 33 | 'common/cloud_print/cloud_print_class_mac.h', |
| 34 | 'common/cloud_print/cloud_print_class_mac.mm', |
| 35 | 'common/cloud_print/cloud_print_cdd_conversion.cc', |
| 36 | 'common/cloud_print/cloud_print_cdd_conversion.h', |
| 37 | 'common/cloud_print/cloud_print_constants.cc', |
| 38 | 'common/cloud_print/cloud_print_constants.h', |
| 39 | 'common/cloud_print/cloud_print_helpers.cc', |
| 40 | 'common/cloud_print/cloud_print_helpers.h', |
| 41 | 'common/cloud_print/cloud_print_proxy_info.cc', |
| 42 | 'common/cloud_print/cloud_print_proxy_info.h', |
| 43 | 'common/common_message_generator.cc', |
| 44 | 'common/common_message_generator.h', |
| 45 | 'common/common_param_traits.cc', |
| 46 | 'common/common_param_traits.h', |
| 47 | 'common/common_param_traits_macros.h', |
| 48 | 'common/content_restriction.h', |
| 49 | 'common/content_settings.cc', |
| 50 | 'common/content_settings.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 51 | 'common/content_settings_pattern.cc', |
| 52 | 'common/content_settings_pattern.h', |
| 53 | 'common/content_settings_pattern_parser.cc', |
| 54 | 'common/content_settings_pattern_parser.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 55 | 'common/crash_keys.cc', |
| 56 | 'common/crash_keys.h', |
| 57 | 'common/custom_handlers/protocol_handler.cc', |
| 58 | 'common/custom_handlers/protocol_handler.h', |
| 59 | 'common/descriptors_android.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 60 | 'common/extensions/api/extension_action/action_info.cc', |
| 61 | 'common/extensions/api/extension_action/action_info.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 62 | 'common/extensions/api/i18n/default_locale_handler.cc', |
| 63 | 'common/extensions/api/i18n/default_locale_handler.h', |
| 64 | 'common/extensions/api/identity/oauth2_manifest_handler.cc', |
| 65 | 'common/extensions/api/identity/oauth2_manifest_handler.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 66 | 'common/extensions/api/plugins/plugins_handler.cc', |
| 67 | 'common/extensions/api/plugins/plugins_handler.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 68 | 'common/extensions/api/storage/storage_schema_manifest_handler.cc', |
| 69 | 'common/extensions/api/storage/storage_schema_manifest_handler.h', |
[email protected] | f3918a4 | 2014-06-24 15:52:09 | [diff] [blame] | 70 | 'common/extensions/api/supervised_user_private/supervised_user_handler.cc', |
| 71 | 'common/extensions/api/supervised_user_private/supervised_user_handler.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 72 | 'common/extensions/chrome_extension_messages.h', |
| 73 | 'common/extensions/chrome_extensions_client.cc', |
| 74 | 'common/extensions/chrome_extensions_client.h', |
| 75 | 'common/extensions/chrome_manifest_handlers.cc', |
| 76 | 'common/extensions/chrome_manifest_handlers.h', |
[email protected] | ddc6a12 | 2014-06-27 04:52:32 | [diff] [blame] | 77 | 'common/extensions/chrome_utility_extensions_messages.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 78 | 'common/extensions/command.cc', |
| 79 | 'common/extensions/command.h', |
| 80 | 'common/extensions/extension_constants.cc', |
| 81 | 'common/extensions/extension_constants.h', |
| 82 | 'common/extensions/extension_file_util.cc', |
| 83 | 'common/extensions/extension_file_util.h', |
| 84 | 'common/extensions/extension_process_policy.cc', |
| 85 | 'common/extensions/extension_process_policy.h', |
| 86 | 'common/extensions/features/chrome_channel_feature_filter.cc', |
| 87 | 'common/extensions/features/chrome_channel_feature_filter.h', |
| 88 | 'common/extensions/features/feature_channel.cc', |
| 89 | 'common/extensions/features/feature_channel.h', |
[email protected] | 6f58458 | 2014-07-09 23:11:14 | [diff] [blame] | 90 | 'common/extensions/image_writer/image_writer_util_mac.cc', |
| 91 | 'common/extensions/image_writer/image_writer_util_mac.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 92 | 'common/extensions/manifest_handlers/app_isolation_info.cc', |
| 93 | 'common/extensions/manifest_handlers/app_isolation_info.h', |
| 94 | 'common/extensions/manifest_handlers/app_launch_info.cc', |
| 95 | 'common/extensions/manifest_handlers/app_launch_info.h', |
| 96 | 'common/extensions/manifest_handlers/automation.h', |
| 97 | 'common/extensions/manifest_handlers/automation.cc', |
| 98 | 'common/extensions/manifest_handlers/content_scripts_handler.cc', |
| 99 | 'common/extensions/manifest_handlers/content_scripts_handler.h', |
| 100 | 'common/extensions/manifest_handlers/mime_types_handler.cc', |
| 101 | 'common/extensions/manifest_handlers/mime_types_handler.h', |
| 102 | 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc', |
| 103 | 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 104 | 'common/extensions/manifest_handlers/settings_overrides_handler.cc', |
| 105 | 'common/extensions/manifest_handlers/settings_overrides_handler.h', |
[email protected] | 4ad2cf72 | 2014-07-03 17:36:53 | [diff] [blame] | 106 | 'common/extensions/manifest_handlers/synthesize_browser_action_handler.cc', |
| 107 | 'common/extensions/manifest_handlers/synthesize_browser_action_handler.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 108 | 'common/extensions/manifest_handlers/theme_handler.cc', |
| 109 | 'common/extensions/manifest_handlers/theme_handler.h', |
| 110 | 'common/extensions/manifest_handlers/ui_overrides_handler.cc', |
| 111 | 'common/extensions/manifest_handlers/ui_overrides_handler.h', |
| 112 | 'common/extensions/manifest_url_handler.cc', |
| 113 | 'common/extensions/manifest_url_handler.h', |
| 114 | 'common/extensions/permissions/chrome_api_permissions.cc', |
| 115 | 'common/extensions/permissions/chrome_api_permissions.h', |
| 116 | 'common/extensions/permissions/chrome_permission_message_provider.cc', |
| 117 | 'common/extensions/permissions/chrome_permission_message_provider.h', |
| 118 | 'common/extensions/sync_helper.cc', |
| 119 | 'common/extensions/sync_helper.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 120 | 'common/favicon/favicon_url_parser.cc', |
| 121 | 'common/favicon/favicon_url_parser.h', |
| 122 | 'common/icon_with_badge_image_source.cc', |
| 123 | 'common/icon_with_badge_image_source.h', |
[email protected] | 60f75175 | 2014-08-11 22:44:25 | [diff] [blame] | 124 | 'common/ini_parser.cc', |
| 125 | 'common/ini_parser.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 126 | 'common/instant_restricted_id_cache.h', |
| 127 | 'common/instant_types.cc', |
| 128 | 'common/instant_types.h', |
| 129 | 'common/localized_error.cc', |
| 130 | 'common/localized_error.h', |
| 131 | 'common/logging_chrome.cc', |
| 132 | 'common/logging_chrome.h', |
| 133 | 'common/mac/app_mode_common.h', |
| 134 | 'common/mac/app_mode_common.mm', |
| 135 | 'common/mac/cfbundle_blocker.h', |
| 136 | 'common/mac/cfbundle_blocker.mm', |
| 137 | 'common/mac/launchd.h', |
| 138 | 'common/mac/launchd.mm', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 139 | 'common/mac/objc_zombie.h', |
| 140 | 'common/mac/objc_zombie.mm', |
| 141 | 'common/media/webrtc_logging_messages.h', |
| 142 | 'common/media/webrtc_logging_message_data.cc', |
| 143 | 'common/media/webrtc_logging_message_data.h', |
| 144 | 'common/media_galleries/metadata_types.h', |
| 145 | 'common/multi_process_lock.h', |
| 146 | 'common/multi_process_lock_linux.cc', |
| 147 | 'common/multi_process_lock_mac.cc', |
| 148 | 'common/multi_process_lock_win.cc', |
| 149 | 'common/omnibox_focus_state.h', |
| 150 | 'common/partial_circular_buffer.cc', |
| 151 | 'common/partial_circular_buffer.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 152 | 'common/pref_names_util.cc', |
| 153 | 'common/pref_names_util.h', |
| 154 | 'common/prerender_types.h', |
| 155 | 'common/print_messages.cc', |
| 156 | 'common/print_messages.h', |
| 157 | 'common/profiling.cc', |
| 158 | 'common/profiling.h', |
| 159 | 'common/ref_counted_util.h', |
| 160 | 'common/render_messages.cc', |
| 161 | 'common/render_messages.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 162 | 'common/safe_browsing/safebrowsing_messages.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 163 | 'common/search_provider.h', |
| 164 | 'common/search_types.h', |
| 165 | 'common/search_urls.cc', |
| 166 | 'common/search_urls.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 167 | 'common/spellcheck_common.cc', |
| 168 | 'common/spellcheck_common.h', |
| 169 | 'common/spellcheck_marker.h', |
| 170 | 'common/spellcheck_messages.h', |
| 171 | 'common/spellcheck_result.h', |
| 172 | 'common/switch_utils.cc', |
| 173 | 'common/switch_utils.h', |
[email protected] | ca190c8 | 2014-07-28 17:15:48 | [diff] [blame] | 174 | 'common/terminate_on_heap_corruption_experiment_win.cc', |
| 175 | 'common/terminate_on_heap_corruption_experiment_win.h', |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 176 | 'common/tts_messages.h', |
| 177 | 'common/tts_utterance_request.cc', |
| 178 | 'common/tts_utterance_request.h', |
| 179 | 'common/url_constants.cc', |
| 180 | 'common/url_constants.h', |
| 181 | 'common/variations/experiment_labels.cc', |
| 182 | 'common/variations/experiment_labels.h', |
| 183 | 'common/variations/uniformity_field_trials.cc', |
| 184 | 'common/variations/uniformity_field_trials.h', |
| 185 | 'common/variations/variations_util.cc', |
| 186 | 'common/variations/variations_util.h', |
| 187 | 'common/web_application_info.cc', |
| 188 | 'common/web_application_info.h', |
| 189 | 'common/worker_thread_ticker.cc', |
| 190 | 'common/worker_thread_ticker.h', |
| 191 | ], |
[email protected] | 7f2b78ed | 2014-06-20 04:26:55 | [diff] [blame] | 192 | 'chrome_common_extensions_sources': [ |
| 193 | 'common/extensions/api/bluetooth/bluetooth_manifest_data.cc', |
| 194 | 'common/extensions/api/bluetooth/bluetooth_manifest_data.h', |
| 195 | 'common/extensions/api/bluetooth/bluetooth_manifest_handler.cc', |
| 196 | 'common/extensions/api/bluetooth/bluetooth_manifest_handler.h', |
| 197 | 'common/extensions/api/bluetooth/bluetooth_manifest_permission.cc', |
| 198 | 'common/extensions/api/bluetooth/bluetooth_manifest_permission.h', |
| 199 | 'common/extensions/api/commands/commands_handler.cc', |
| 200 | 'common/extensions/api/commands/commands_handler.h', |
| 201 | 'common/extensions/api/extension_action/browser_action_handler.cc', |
| 202 | 'common/extensions/api/extension_action/browser_action_handler.h', |
| 203 | 'common/extensions/api/extension_action/page_action_handler.cc', |
| 204 | 'common/extensions/api/extension_action/page_action_handler.h', |
| 205 | 'common/extensions/api/file_browser_handlers/file_browser_handler.cc', |
| 206 | 'common/extensions/api/file_browser_handlers/file_browser_handler.h', |
| 207 | 'common/extensions/api/input_ime/input_components_handler.cc', |
| 208 | 'common/extensions/api/input_ime/input_components_handler.h', |
| 209 | 'common/extensions/api/notifications/notification_style.cc', |
| 210 | 'common/extensions/api/notifications/notification_style.h', |
| 211 | 'common/extensions/api/omnibox/omnibox_handler.cc', |
| 212 | 'common/extensions/api/omnibox/omnibox_handler.h', |
| 213 | 'common/extensions/api/speech/tts_engine_manifest_handler.cc', |
| 214 | 'common/extensions/api/speech/tts_engine_manifest_handler.h', |
| 215 | 'common/extensions/api/spellcheck/spellcheck_handler.cc', |
| 216 | 'common/extensions/api/spellcheck/spellcheck_handler.h', |
| 217 | 'common/extensions/api/system_indicator/system_indicator_handler.cc', |
| 218 | 'common/extensions/api/system_indicator/system_indicator_handler.h', |
| 219 | 'common/extensions/api/url_handlers/url_handlers_parser.cc', |
| 220 | 'common/extensions/api/url_handlers/url_handlers_parser.h', |
| 221 | 'common/extensions/api/webstore/webstore_api_constants.cc', |
| 222 | 'common/extensions/api/webstore/webstore_api_constants.h', |
| 223 | ], |
[email protected] | 1e8205e8 | 2014-07-08 10:54:24 | [diff] [blame] | 224 | 'chrome_common_full_safe_browsing_sources': [ |
| 225 | 'common/safe_browsing/download_protection_util.cc', |
| 226 | 'common/safe_browsing/download_protection_util.h', |
| 227 | 'common/safe_browsing/zip_analyzer.cc', |
| 228 | 'common/safe_browsing/zip_analyzer.h', |
| 229 | ], |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 230 | 'chrome_common_importer_sources': [ |
| 231 | 'common/importer/firefox_importer_utils.cc', |
| 232 | 'common/importer/firefox_importer_utils.h', |
| 233 | 'common/importer/firefox_importer_utils_linux.cc', |
| 234 | 'common/importer/firefox_importer_utils_mac.mm', |
| 235 | 'common/importer/firefox_importer_utils_win.cc', |
| 236 | 'common/importer/ie_importer_test_registry_overrider_win.cc', |
| 237 | 'common/importer/ie_importer_test_registry_overrider_win.h', |
| 238 | 'common/importer/ie_importer_utils_win.cc', |
| 239 | 'common/importer/ie_importer_utils_win.h', |
| 240 | 'common/importer/imported_bookmark_entry.cc', |
| 241 | 'common/importer/imported_bookmark_entry.h', |
| 242 | 'common/importer/imported_favicon_usage.cc', |
| 243 | 'common/importer/imported_favicon_usage.h', |
| 244 | 'common/importer/importer_bridge.cc', |
| 245 | 'common/importer/importer_bridge.h', |
| 246 | 'common/importer/importer_data_types.cc', |
| 247 | 'common/importer/importer_data_types.h', |
| 248 | 'common/importer/importer_type.h', |
| 249 | 'common/importer/importer_url_row.cc', |
| 250 | 'common/importer/importer_url_row.h', |
| 251 | 'common/importer/profile_import_process_messages.cc', |
| 252 | 'common/importer/profile_import_process_messages.h', |
| 253 | 'common/importer/safari_importer_utils.h', |
| 254 | 'common/importer/safari_importer_utils.mm', |
| 255 | ], |
| 256 | 'chrome_common_service_process_sources': [ |
| 257 | 'common/service_messages.h', |
| 258 | 'common/service_process_util.cc', |
| 259 | 'common/service_process_util.h', |
| 260 | 'common/service_process_util_linux.cc', |
| 261 | 'common/service_process_util_mac.mm', |
| 262 | 'common/service_process_util_posix.cc', |
| 263 | 'common/service_process_util_posix.h', |
| 264 | 'common/service_process_util_win.cc', |
| 265 | ], |
| 266 | 'chrome_common_win_mac_sources': [ |
| 267 | 'common/extensions/api/networking_private/networking_private_crypto_nss.cc', |
| 268 | 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc', |
[email protected] | 1859d52 | 2014-07-25 05:54:02 | [diff] [blame] | 269 | 'common/extensions/api/networking_private/networking_private_crypto.cc', |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 270 | 'common/extensions/api/networking_private/networking_private_crypto.h', |
| 271 | 'common/media_galleries/itunes_library.cc', |
| 272 | 'common/media_galleries/itunes_library.h', |
| 273 | 'common/media_galleries/picasa_types.cc', |
| 274 | 'common/media_galleries/picasa_types.h', |
| 275 | 'common/media_galleries/pmp_constants.h', |
| 276 | ], |
| 277 | 'chrome_common_mac_sources': [ |
| 278 | 'common/media_galleries/iphoto_library.cc', |
| 279 | 'common/media_galleries/iphoto_library.h', |
| 280 | ] |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 281 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 282 | 'targets': [ |
| 283 | { |
| 284 | 'target_name': 'common', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 285 | 'type': 'static_library', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 286 | 'variables': { |
| 287 | 'chrome_common_target': 1, |
[email protected] | 4f68ed7 | 2012-10-30 05:24:07 | [diff] [blame] | 288 | 'enable_wexit_time_destructors': 1, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 289 | }, |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 290 | 'include_dirs': [ |
| 291 | '..', |
[email protected] | b50368b | 2012-02-18 00:02:13 | [diff] [blame] | 292 | '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 293 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 294 | 'direct_dependent_settings': { |
| 295 | 'include_dirs': [ |
| 296 | '..', |
| 297 | ], |
| 298 | }, |
| 299 | 'dependencies': [ |
| 300 | # TODO(gregoryd): chrome_resources and chrome_strings could be |
| 301 | # shared with the 64-bit target, but it does not work due to a gyp |
| 302 | # issue. |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 303 | 'common_net', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 304 | 'common_version', |
[email protected] | 5292722 | 2013-03-19 22:38:12 | [diff] [blame] | 305 | 'installer_util', |
[email protected] | 12d9f6e | 2014-07-02 20:45:02 | [diff] [blame] | 306 | 'safe_browsing_proto', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 307 | '<(DEPTH)/base/base.gyp:base', |
| 308 | '<(DEPTH)/base/base.gyp:base_i18n', |
[email protected] | f59f33e | 2012-11-01 12:05:27 | [diff] [blame] | 309 | '<(DEPTH)/base/base.gyp:base_prefs', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 310 | '<(DEPTH)/base/base.gyp:base_static', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 311 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 312 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 313 | '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', |
[email protected] | 99245a0 | 2012-10-09 20:57:49 | [diff] [blame] | 314 | '<(DEPTH)/chrome/common_constants.gyp:common_constants', |
[email protected] | 5b38caf | 2014-04-18 05:32:06 | [diff] [blame] | 315 | '<(DEPTH)/components/components.gyp:cloud_devices_common', |
[email protected] | 6c0c9736d | 2014-07-08 14:17:00 | [diff] [blame] | 316 | '<(DEPTH)/components/components.gyp:component_updater', |
[email protected] | 08f7101 | 2014-07-25 10:27:54 | [diff] [blame] | 317 | '<(DEPTH)/components/components.gyp:content_settings_core_common', |
[email protected] | fb1397ce | 2013-08-13 22:55:07 | [diff] [blame] | 318 | '<(DEPTH)/components/components.gyp:json_schema', |
[email protected] | 2a172e4 | 2014-02-21 04:06:10 | [diff] [blame] | 319 | '<(DEPTH)/components/components.gyp:metrics', |
[email protected] | f522afa | 2014-01-08 15:36:36 | [diff] [blame] | 320 | '<(DEPTH)/components/components.gyp:policy_component_common', |
[email protected] | eba93c9 | 2014-01-07 17:34:17 | [diff] [blame] | 321 | '<(DEPTH)/components/components.gyp:translate_core_common', |
[email protected] | 50ae9f1 | 2013-08-29 18:03:22 | [diff] [blame] | 322 | '<(DEPTH)/components/components.gyp:variations', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 323 | '<(DEPTH)/content/content.gyp:content_common', |
[email protected] | 00c82c9 | 2014-03-14 21:32:07 | [diff] [blame] | 324 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
[email protected] | dcedc59 | 2014-04-28 19:49:29 | [diff] [blame] | 325 | '<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources', |
[email protected] | 99c0125b | 2014-04-17 05:21:57 | [diff] [blame] | 326 | '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', |
[email protected] | 734732e | 2014-07-15 01:04:25 | [diff] [blame] | 327 | '<(DEPTH)/media/cast/cast.gyp:cast_net', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 328 | '<(DEPTH)/net/net.gyp:net', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 329 | '<(DEPTH)/skia/skia.gyp:skia', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 330 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 331 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 332 | '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
| 333 | '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
[email protected] | 720ceda | 2013-08-22 19:14:37 | [diff] [blame] | 334 | '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', |
[email protected] | ffff5b3 | 2014-06-25 21:31:08 | [diff] [blame] | 335 | '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
[email protected] | 1c0c3f4 | 2013-11-20 02:03:28 | [diff] [blame] | 336 | '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 337 | '<(DEPTH)/url/url.gyp:url_lib', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 338 | ], |
| 339 | 'sources': [ |
[email protected] | d92b232 | 2014-06-16 18:07:25 | [diff] [blame] | 340 | '<@(chrome_common_sources)' |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 341 | ], |
| 342 | 'conditions': [ |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 343 | ['enable_extensions==1', { |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 344 | 'sources': [ '<@(chrome_common_extensions_sources)' ], |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 345 | 'dependencies': [ |
[email protected] | 1ff6429 | 2013-07-18 20:37:15 | [diff] [blame] | 346 | '../device/bluetooth/bluetooth.gyp:device_bluetooth', |
[email protected] | e3a9ccfc | 2013-06-03 00:22:30 | [diff] [blame] | 347 | '../device/usb/usb.gyp:device_usb', |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 348 | ], |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 349 | }], |
[email protected] | c51694f | 2013-06-25 02:50:24 | [diff] [blame] | 350 | ['OS=="win" or OS=="mac"', { |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 351 | 'sources': [ '<@(chrome_common_win_mac_sources)' ], |
[email protected] | c51694f | 2013-06-25 02:50:24 | [diff] [blame] | 352 | }], |
[email protected] | 1859d52 | 2014-07-25 05:54:02 | [diff] [blame] | 353 | ['(OS=="win" or OS=="mac") and use_openssl==1', { |
| 354 | # networking_private_crypto_openssl.cc depends on boringssl. |
| 355 | 'dependencies': [ |
| 356 | '../third_party/boringssl/boringssl.gyp:boringssl', |
| 357 | ], |
| 358 | }], |
[email protected] | 19fa62bf | 2013-10-17 17:55:41 | [diff] [blame] | 359 | ['OS=="mac"', { |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 360 | 'sources': [ '<@(chrome_common_mac_sources)' ], |
[email protected] | 19fa62bf | 2013-10-17 17:55:41 | [diff] [blame] | 361 | }], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 362 | ['OS != "ios"', { |
| 363 | 'dependencies': [ |
[email protected] | 68cb565 | 2014-03-12 06:41:29 | [diff] [blame] | 364 | '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', |
[email protected] | d04f8191 | 2013-06-18 14:52:13 | [diff] [blame] | 365 | '<(DEPTH)/components/components.gyp:autofill_core_common', |
[email protected] | 45b53fb | 2013-12-12 19:28:06 | [diff] [blame] | 366 | '<(DEPTH)/components/components.gyp:autofill_content_common', |
[email protected] | faaa917f | 2014-02-05 10:43:28 | [diff] [blame] | 367 | '<(DEPTH)/components/components.gyp:password_manager_core_common', |
[email protected] | e08e2f50 | 2014-08-22 12:56:50 | [diff] [blame] | 368 | '<(DEPTH)/components/components.gyp:password_manager_content_common', |
[email protected] | 63c7f0c | 2014-03-25 21:12:59 | [diff] [blame] | 369 | '<(DEPTH)/components/components.gyp:signin_core_common', |
[email protected] | 38150097 | 2014-04-04 05:07:49 | [diff] [blame] | 370 | '<(DEPTH)/components/components.gyp:translate_content_common', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 371 | '<(DEPTH)/components/components.gyp:visitedlink_common', |
[email protected] | 5eda6dc | 2014-03-28 16:12:56 | [diff] [blame] | 372 | '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', |
[email protected] | 558878cc8 | 2013-11-09 01:25:51 | [diff] [blame] | 373 | '<(DEPTH)/extensions/extensions.gyp:extensions_common', |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 374 | '<(DEPTH)/ipc/ipc.gyp:ipc', |
[email protected] | e3a8ebb9 | 2014-03-31 01:54:38 | [diff] [blame] | 375 | '<(DEPTH)/third_party/re2/re2.gyp:re2', |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 376 | '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 377 | ], |
[email protected] | 5eda6dc | 2014-03-28 16:12:56 | [diff] [blame] | 378 | 'export_dependent_settings': [ |
| 379 | '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', |
| 380 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 381 | }, { # OS == ios |
| 382 | 'sources/': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 383 | ['exclude', '^common/child_process_'], |
| 384 | ['exclude', '^common/chrome_content_client\\.cc$'], |
| 385 | ['exclude', '^common/chrome_version_info_posix\\.cc$'], |
| 386 | ['exclude', '^common/common_message_generator\\.cc$'], |
| 387 | ['exclude', '^common/common_param_traits'], |
| 388 | ['exclude', '^common/custom_handlers/'], |
| 389 | ['exclude', '^common/extensions/'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 390 | ['exclude', '^common/logging_chrome\\.'], |
[email protected] | c5e85fc | 2014-05-13 22:38:42 | [diff] [blame] | 391 | ['exclude', '^common/media_galleries/'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 392 | ['exclude', '^common/multi_process_'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 393 | ['exclude', '^common/profiling\\.'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 394 | ['exclude', '^common/spellcheck_'], |
[email protected] | 1352ca9 | 2013-04-30 02:30:27 | [diff] [blame] | 395 | ['exclude', '^common/validation_message_'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 396 | ['exclude', '^common/web_apps\\.'], |
| 397 | # TODO(ios): Include files here as they are made to work; once |
| 398 | # everything is online, remove everything below here and just |
| 399 | # use the exclusions above. |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 400 | ['exclude', '\\.(cc|mm)$'], |
| 401 | ['include', '_ios\\.(cc|mm)$'], |
| 402 | ['include', '(^|/)ios/'], |
| 403 | ['include', '^common/chrome_version_info\\.cc$'], |
[email protected] | d7575c2 | 2013-07-11 13:54:22 | [diff] [blame] | 404 | ['include', '^common/translate'], |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 405 | ['include', '^common/zip'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 406 | ], |
[email protected] | 271e88fc | 2013-05-06 07:48:05 | [diff] [blame] | 407 | 'include_dirs': [ |
| 408 | '<(DEPTH)/breakpad/src', |
| 409 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 410 | }], |
[email protected] | a56f832 | 2014-07-16 21:13:55 | [diff] [blame] | 411 | ['disable_nacl==0', { |
| 412 | 'dependencies': [ |
| 413 | '<(DEPTH)/components/nacl.gyp:nacl_common', |
[email protected] | 0116711 | 2014-08-05 19:53:20 | [diff] [blame] | 414 | '<(DEPTH)/ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_trusted_plugin', |
[email protected] | a56f832 | 2014-07-16 21:13:55 | [diff] [blame] | 415 | ], |
[email protected] | a56f832 | 2014-07-16 21:13:55 | [diff] [blame] | 416 | }], |
thestig | 11b815e9 | 2014-08-26 00:32:14 | [diff] [blame^] | 417 | ['enable_plugins==1', { |
| 418 | 'dependencies': [ |
| 419 | '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
| 420 | ], |
| 421 | 'sources': [ |
| 422 | 'common/pepper_flash.cc', |
| 423 | 'common/pepper_flash.h', |
| 424 | 'common/pepper_permission_util.cc', |
| 425 | 'common/pepper_permission_util.h', |
| 426 | ], |
| 427 | }], |
[email protected] | 65f81ec | 2014-06-07 08:55:07 | [diff] [blame] | 428 | ['enable_printing==0', { |
| 429 | 'sources!': [ |
| 430 | 'common/print_messages.cc', |
| 431 | 'common/print_messages.h', |
| 432 | ] |
| 433 | }, { |
[email protected] | f757c1a | 2013-11-07 09:02:36 | [diff] [blame] | 434 | 'dependencies': [ |
| 435 | '<(DEPTH)/printing/printing.gyp:printing', |
| 436 | ], |
| 437 | }], |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 438 | ['enable_printing==1', { |
| 439 | 'sources': [ '<@(chrome_common_service_process_sources)' ], |
[email protected] | 65f81ec | 2014-06-07 08:55:07 | [diff] [blame] | 440 | }], |
[email protected] | 8d1486c6 | 2014-04-28 14:18:33 | [diff] [blame] | 441 | ['enable_service_discovery==1', { |
| 442 | 'sources' : [ |
| 443 | 'common/local_discovery/service_discovery_client.cc', |
| 444 | 'common/local_discovery/service_discovery_client.h', |
| 445 | ] |
| 446 | }], |
| 447 | ['enable_mdns==1', { |
| 448 | 'sources' : [ |
| 449 | 'common/local_discovery/service_discovery_client_impl.cc', |
| 450 | 'common/local_discovery/service_discovery_client_impl.h', |
| 451 | ] |
| 452 | }], |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 453 | ['OS=="android"', { |
[email protected] | 81bdab2 | 2013-09-02 21:12:52 | [diff] [blame] | 454 | 'sources!': [ |
| 455 | 'common/badge_util.cc', |
[email protected] | a56f832 | 2014-07-16 21:13:55 | [diff] [blame] | 456 | 'common/chrome_version_info_posix.cc', |
[email protected] | 81bdab2 | 2013-09-02 21:12:52 | [diff] [blame] | 457 | 'common/extensions/api/extension_action/browser_action_handler.cc', |
| 458 | 'common/extensions/api/extension_action/page_action_handler.cc', |
| 459 | 'common/extensions/api/spellcheck/spellcheck_handler.cc', |
| 460 | 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc', |
[email protected] | 81bdab2 | 2013-09-02 21:12:52 | [diff] [blame] | 461 | 'common/icon_with_badge_image_source.cc', |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 462 | 'common/media_galleries/metadata_types.h', |
[email protected] | 81bdab2 | 2013-09-02 21:12:52 | [diff] [blame] | 463 | 'common/net/url_util.cc', |
[email protected] | 81bdab2 | 2013-09-02 21:12:52 | [diff] [blame] | 464 | 'common/spellcheck_common.cc', |
| 465 | ], |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 466 | }, { |
| 467 | # Non-Android. |
| 468 | 'sources': [ '<@(chrome_common_importer_sources)' ] |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 469 | }], |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 470 | ['OS=="win"', { |
| 471 | 'include_dirs': [ |
[email protected] | 27b38d6 | 2013-08-14 18:12:11 | [diff] [blame] | 472 | '<(DEPTH)/breakpad/src', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 473 | '<(DEPTH)/third_party/wtl/include', |
[email protected] | f65fdfc | 2013-03-05 21:56:04 | [diff] [blame] | 474 | ], |
[email protected] | 474a5a3 | 2014-07-28 18:23:24 | [diff] [blame] | 475 | 'dependencies': [ |
| 476 | '<(DEPTH)/components/components.gyp:dom_distiller_core', # Needed by chrome_content_client.cc. |
| 477 | ], |
[email protected] | ef777a4 | 2011-11-25 13:15:43 | [diff] [blame] | 478 | }], |
[email protected] | c1cc0e0 | 2013-07-04 12:46:35 | [diff] [blame] | 479 | ['enable_mdns == 1', { |
| 480 | 'sources': [ |
[email protected] | 686e985e | 2013-07-18 22:04:56 | [diff] [blame] | 481 | 'common/local_discovery/local_discovery_messages.h', |
[email protected] | c1cc0e0 | 2013-07-04 12:46:35 | [diff] [blame] | 482 | ] |
| 483 | }], |
[email protected] | 89886fa3 | 2012-10-08 23:46:33 | [diff] [blame] | 484 | ['chromeos==1', { |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 485 | 'sources!': [ |
| 486 | 'common/chrome_version_info_linux.cc', |
| 487 | ], |
| 488 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 489 | ['OS=="mac"', { |
| 490 | 'dependencies': [ |
[email protected] | a023dca | 2013-12-18 03:58:36 | [diff] [blame] | 491 | '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 492 | '../third_party/mach_override/mach_override.gyp:mach_override', |
| 493 | ], |
| 494 | 'include_dirs': [ |
[email protected] | 271e88fc | 2013-05-06 07:48:05 | [diff] [blame] | 495 | '<(DEPTH)/breakpad/src', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 496 | ], |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 497 | 'sources!': [ |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 498 | 'common/chrome_version_info_posix.cc', |
| 499 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 500 | }], |
| 501 | ['remoting==1', { |
| 502 | 'dependencies': [ |
| 503 | '../remoting/remoting.gyp:remoting_client_plugin', |
| 504 | ], |
| 505 | }], |
[email protected] | 6ef98b5a | 2013-05-31 23:58:31 | [diff] [blame] | 506 | ['enable_webrtc==0', { |
| 507 | 'sources!': [ |
| 508 | 'common/media/webrtc_logging_messages.h', |
| 509 | ] |
| 510 | }], |
[email protected] | 991573e | 2013-12-16 13:49:20 | [diff] [blame] | 511 | ['configuration_policy==1', { |
| 512 | 'dependencies': [ |
| 513 | '<(DEPTH)/components/components.gyp:policy', |
| 514 | ], |
| 515 | }], |
[email protected] | 1e8205e8 | 2014-07-08 10:54:24 | [diff] [blame] | 516 | ['safe_browsing==1', { |
| 517 | 'defines': [ 'FULL_SAFE_BROWSING' ], |
| 518 | 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ], |
| 519 | }], |
| 520 | ['safe_browsing==2', { |
| 521 | 'defines': [ 'MOBILE_SAFE_BROWSING' ], |
| 522 | }], |
[email protected] | df5a251 | 2014-07-11 03:21:17 | [diff] [blame] | 523 | ['use_openssl==1', { |
| 524 | 'sources!': [ |
| 525 | 'common/extensions/api/networking_private/networking_private_crypto_nss.cc', |
| 526 | ], |
| 527 | }, |
| 528 | { # else !use_openssl |
| 529 | 'sources!': [ |
| 530 | 'common/extensions/api/networking_private/networking_private_crypto_openssl.cc', |
| 531 | ], |
| 532 | }, |
| 533 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 534 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 535 | 'target_conditions': [ |
| 536 | ['OS == "ios"', { |
| 537 | 'sources/': [ |
| 538 | # Pull in specific Mac files for iOS (which have been filtered out |
| 539 | # by file name rules). |
| 540 | ['include', '^common/chrome_version_info_mac\\.mm$'], |
| 541 | ], |
| 542 | }], |
| 543 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 544 | 'export_dependent_settings': [ |
| 545 | '../base/base.gyp:base', |
| 546 | ], |
| 547 | }, |
| 548 | { |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 549 | # GN version: //chrome/common:version |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 550 | 'target_name': 'common_version', |
| 551 | 'type': 'none', |
| 552 | 'conditions': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 553 | ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 554 | 'direct_dependent_settings': { |
| 555 | 'include_dirs': [ |
| 556 | '<(SHARED_INTERMEDIATE_DIR)', |
| 557 | ], |
| 558 | }, |
[email protected] | 79440c5 | 2010-08-27 22:53:02 | [diff] [blame] | 559 | # Because posix_version generates a header, we must set the |
| 560 | # hard_dependency flag. |
| 561 | 'hard_dependency': 1, |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 562 | 'actions': [ |
| 563 | { |
| 564 | 'action_name': 'posix_version', |
| 565 | 'variables': { |
[email protected] | bcd8453 | 2014-02-21 03:14:02 | [diff] [blame] | 566 | 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', |
| 567 | 'version_py_path': '<(DEPTH)/build/util/version.py', |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 568 | 'version_path': 'VERSION', |
| 569 | 'template_input_path': 'common/chrome_version_info_posix.h.version', |
| 570 | }, |
| 571 | 'conditions': [ |
| 572 | [ 'branding == "Chrome"', { |
| 573 | 'variables': { |
| 574 | 'branding_path': |
| 575 | 'app/theme/google_chrome/BRANDING', |
| 576 | }, |
| 577 | }, { # else branding!="Chrome" |
| 578 | 'variables': { |
| 579 | 'branding_path': |
| 580 | 'app/theme/chromium/BRANDING', |
| 581 | }, |
| 582 | }], |
| 583 | ], |
| 584 | 'inputs': [ |
| 585 | '<(template_input_path)', |
| 586 | '<(version_path)', |
| 587 | '<(branding_path)', |
| 588 | '<(lastchange_path)', |
| 589 | ], |
| 590 | 'outputs': [ |
| 591 | '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h', |
| 592 | ], |
| 593 | 'action': [ |
| 594 | 'python', |
| 595 | '<(version_py_path)', |
| 596 | '-f', '<(version_path)', |
| 597 | '-f', '<(branding_path)', |
| 598 | '-f', '<(lastchange_path)', |
| 599 | '<(template_input_path)', |
| 600 | '<@(_outputs)', |
| 601 | ], |
| 602 | 'message': 'Generating version information', |
| 603 | }, |
| 604 | ], |
| 605 | }], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 606 | ], |
| 607 | }, |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 608 | { |
[email protected] | b46e7e9 | 2014-07-22 21:49:52 | [diff] [blame] | 609 | # GN version: //chrome/common/net |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 610 | 'target_name': 'common_net', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 611 | 'type': 'static_library', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 612 | 'sources': [ |
[email protected] | 2ea1efe | 2013-07-17 05:23:13 | [diff] [blame] | 613 | 'common/net/net_error_info.cc', |
| 614 | 'common/net/net_error_info.h', |
[email protected] | 0630596 | 2012-05-09 22:34:36 | [diff] [blame] | 615 | 'common/net/net_resource_provider.cc', |
| 616 | 'common/net/net_resource_provider.h', |
| 617 | 'common/net/predictor_common.h', |
| 618 | 'common/net/url_util.cc', |
| 619 | 'common/net/url_util.h', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 620 | 'common/net/x509_certificate_model.cc', |
| 621 | 'common/net/x509_certificate_model_nss.cc', |
| 622 | 'common/net/x509_certificate_model_openssl.cc', |
| 623 | 'common/net/x509_certificate_model.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 624 | ], |
| 625 | 'dependencies': [ |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 626 | '<(DEPTH)/base/base.gyp:base', |
| 627 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 628 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 629 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 630 | '<(DEPTH)/net/net.gyp:net_resources', |
| 631 | '<(DEPTH)/net/net.gyp:net', |
| 632 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 633 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 634 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 635 | 'conditions': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 636 | ['OS != "ios"', { |
| 637 | 'dependencies': [ |
| 638 | '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 639 | ], |
| 640 | }, { # OS == ios |
| 641 | 'sources!': [ |
| 642 | 'common/net/net_resource_provider.cc', |
| 643 | 'common/net/x509_certificate_model.cc', |
| 644 | ], |
| 645 | }], |
| 646 | ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
[email protected] | 638e9df4 | 2011-05-31 17:19:30 | [diff] [blame] | 647 | 'dependencies': [ |
| 648 | '../build/linux/system.gyp:ssl', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 649 | ], |
| 650 | }, |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 651 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 652 | ['os_posix != 1 or OS == "mac" or OS == "ios"', { |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 653 | 'sources!': [ |
| 654 | 'common/net/x509_certificate_model_nss.cc', |
| 655 | 'common/net/x509_certificate_model_openssl.cc', |
| 656 | ], |
| 657 | }, |
| 658 | ], |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 659 | ['OS == "android"', { |
| 660 | 'dependencies': [ |
[email protected] | edfd0f4 | 2014-07-22 18:20:37 | [diff] [blame] | 661 | '../third_party/boringssl/boringssl.gyp:boringssl', |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 662 | ], |
[email protected] | df2e196e | 2014-02-05 19:56:25 | [diff] [blame] | 663 | 'sources!': [ |
| 664 | 'common/net/x509_certificate_model.cc', |
[email protected] | b455eefa | 2014-05-26 04:02:31 | [diff] [blame] | 665 | 'common/net/x509_certificate_model_openssl.cc', |
[email protected] | df2e196e | 2014-02-05 19:56:25 | [diff] [blame] | 666 | ], |
| 667 | }], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 668 | ['use_openssl==1', { |
| 669 | 'sources!': [ |
| 670 | 'common/net/x509_certificate_model_nss.cc', |
| 671 | ], |
[email protected] | 9a81cb5 | 2014-08-12 02:56:54 | [diff] [blame] | 672 | 'dependencies': [ |
| 673 | '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 674 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 675 | }, |
| 676 | { # else !use_openssl: remove the unneeded files |
| 677 | 'sources!': [ |
| 678 | 'common/net/x509_certificate_model_openssl.cc', |
| 679 | ], |
| 680 | }, |
| 681 | ], |
[email protected] | b1d2c74 | 2013-01-21 18:04:52 | [diff] [blame] | 682 | ['OS=="win"', { |
| 683 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 684 | 'msvs_disabled_warnings': [4267, ], |
| 685 | }, |
| 686 | ], |
[email protected] | 129d1145 | 2012-03-01 01:56:56 | [diff] [blame] | 687 | ], |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 688 | }, |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 689 | { |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 690 | # Protobuf compiler / generator for the safebrowsing client |
| 691 | # model proto and the client-side detection (csd) request |
| 692 | # protocol buffer. |
[email protected] | 77ce802 | 2014-06-16 19:29:56 | [diff] [blame] | 693 | |
| 694 | # GN version: //chrome/common/safe_browsing:proto |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 695 | 'target_name': 'safe_browsing_proto', |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 696 | 'type': 'static_library', |
| 697 | 'sources': [ |
| 698 | 'common/safe_browsing/client_model.proto', |
[email protected] | 8e289f0b | 2013-12-17 17:49:07 | [diff] [blame] | 699 | 'common/safe_browsing/crx_info.proto', |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 700 | 'common/safe_browsing/csd.proto' |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 701 | ], |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 702 | 'variables': { |
| 703 | 'proto_in_dir': 'common/safe_browsing', |
| 704 | 'proto_out_dir': 'chrome/common/safe_browsing', |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 705 | }, |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 706 | 'includes': [ '../build/protoc.gypi' ], |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 707 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 708 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 709 | } |