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