[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] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'common', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 9 | 'type': 'static_library', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 10 | 'variables': { |
| 11 | 'chrome_common_target': 1, |
[email protected] | 4f68ed7 | 2012-10-30 05:24:07 | [diff] [blame] | 12 | 'enable_wexit_time_destructors': 1, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 13 | }, |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 14 | 'include_dirs': [ |
| 15 | '..', |
[email protected] | b50368b | 2012-02-18 00:02:13 | [diff] [blame] | 16 | '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 17 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 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. |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 27 | 'common_net', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 28 | 'common_version', |
[email protected] | 5292722 | 2013-03-19 22:38:12 | [diff] [blame] | 29 | 'installer_util', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 30 | 'metrics_proto', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 31 | '<(DEPTH)/base/base.gyp:base', |
| 32 | '<(DEPTH)/base/base.gyp:base_i18n', |
[email protected] | f59f33e | 2012-11-01 12:05:27 | [diff] [blame] | 33 | '<(DEPTH)/base/base.gyp:base_prefs', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 34 | '<(DEPTH)/base/base.gyp:base_static', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 35 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 36 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 37 | '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', |
[email protected] | 99245a0 | 2012-10-09 20:57:49 | [diff] [blame] | 38 | '<(DEPTH)/chrome/common_constants.gyp:common_constants', |
[email protected] | fb1397ce | 2013-08-13 22:55:07 | [diff] [blame] | 39 | '<(DEPTH)/components/components.gyp:json_schema', |
[email protected] | 183be4e | 2013-08-14 14:41:10 | [diff] [blame] | 40 | '<(DEPTH)/components/components.gyp:policy_component', |
[email protected] | eba93c9 | 2014-01-07 17:34:17 | [diff] [blame^] | 41 | '<(DEPTH)/components/components.gyp:translate_core_common', |
[email protected] | 50ae9f1 | 2013-08-29 18:03:22 | [diff] [blame] | 42 | '<(DEPTH)/components/components.gyp:variations', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 43 | '<(DEPTH)/content/content.gyp:content_common', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 44 | '<(DEPTH)/net/net.gyp:net', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 45 | '<(DEPTH)/skia/skia.gyp:skia', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 46 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 47 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 48 | '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
| 49 | '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
[email protected] | 720ceda | 2013-08-22 19:14:37 | [diff] [blame] | 50 | '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', |
[email protected] | 1c0c3f4 | 2013-11-20 02:03:28 | [diff] [blame] | 51 | '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
[email protected] | 002cc08f | 2013-06-03 05:40:29 | [diff] [blame] | 52 | '<(DEPTH)/url/url.gyp:url_lib', |
[email protected] | fa02deb | 2013-05-31 22:31:47 | [diff] [blame] | 53 | '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 54 | ], |
| 55 | 'sources': [ |
[email protected] | 4bbdf9e | 2013-05-31 02:09:38 | [diff] [blame] | 56 | '../apps/app_shim/app_shim_launch.h', |
[email protected] | acd2121c | 2013-03-18 05:54:50 | [diff] [blame] | 57 | '../apps/app_shim/app_shim_messages.h', |
[email protected] | 4a6d7415 | 2011-09-26 20:42:30 | [diff] [blame] | 58 | 'common/all_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 59 | 'common/attrition_experiments.h', |
| 60 | 'common/auto_start_linux.cc', |
| 61 | 'common/auto_start_linux.h', |
[email protected] | b7f64d74 | 2013-05-21 04:04:04 | [diff] [blame] | 62 | 'common/autocomplete_match_type.cc', |
| 63 | 'common/autocomplete_match_type.h', |
[email protected] | cdb8bc28 | 2010-11-22 19:23:06 | [diff] [blame] | 64 | 'common/automation_constants.cc', |
| 65 | 'common/automation_constants.h', |
| 66 | 'common/automation_messages.cc', |
| 67 | 'common/automation_messages.h', |
| 68 | 'common/automation_messages_internal.h', |
| 69 | 'common/badge_util.cc', |
| 70 | 'common/badge_util.h', |
[email protected] | 62867b0 | 2012-11-03 07:21:03 | [diff] [blame] | 71 | 'common/cancelable_task_tracker.cc', |
| 72 | 'common/cancelable_task_tracker.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 73 | 'common/child_process_logging.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 74 | 'common/child_process_logging_win.cc', |
[email protected] | 50e52cd | 2011-03-10 00:57:29 | [diff] [blame] | 75 | 'common/chrome_content_client.cc', |
| 76 | 'common/chrome_content_client.h', |
[email protected] | 18e78c58 | 2013-05-22 22:40:55 | [diff] [blame] | 77 | 'common/chrome_content_client_constants.cc', |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 78 | 'common/chrome_content_client_ios.mm', |
[email protected] | c530c85 | 2011-10-24 18:18:34 | [diff] [blame] | 79 | 'common/chrome_result_codes.h', |
[email protected] | 19a5c744 | 2011-10-21 20:00:41 | [diff] [blame] | 80 | 'common/chrome_utility_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 81 | 'common/chrome_version_info.cc', |
[email protected] | 281288d | 2012-11-09 03:03:23 | [diff] [blame] | 82 | 'common/chrome_version_info_android.cc', |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 83 | 'common/chrome_version_info_chromeos.cc', |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 84 | 'common/chrome_version_info_posix.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 85 | 'common/chrome_version_info_mac.mm', |
| 86 | 'common/chrome_version_info_win.cc', |
| 87 | 'common/chrome_version_info.h', |
[email protected] | 13aec6c4 | 2011-10-27 21:22:08 | [diff] [blame] | 88 | 'common/cloud_print/cloud_print_class_mac.h', |
| 89 | 'common/cloud_print/cloud_print_class_mac.mm', |
[email protected] | 3eadbf2 | 2012-12-03 08:34:46 | [diff] [blame] | 90 | 'common/cloud_print/cloud_print_constants.cc', |
| 91 | 'common/cloud_print/cloud_print_constants.h', |
[email protected] | b106ca5 | 2012-03-13 06:08:46 | [diff] [blame] | 92 | 'common/cloud_print/cloud_print_helpers.cc', |
| 93 | 'common/cloud_print/cloud_print_helpers.h', |
[email protected] | de119cf2 | 2011-05-11 20:41:35 | [diff] [blame] | 94 | 'common/cloud_print/cloud_print_proxy_info.cc', |
| 95 | 'common/cloud_print/cloud_print_proxy_info.h', |
[email protected] | fffaf97 | 2011-03-24 01:34:35 | [diff] [blame] | 96 | 'common/common_message_generator.cc', |
| 97 | 'common/common_message_generator.h', |
[email protected] | 79d68c6 | 2011-04-15 21:07:03 | [diff] [blame] | 98 | 'common/common_param_traits.cc', |
| 99 | 'common/common_param_traits.h', |
[email protected] | af049dd | 2012-06-26 01:01:42 | [diff] [blame] | 100 | 'common/common_param_traits_macros.h', |
[email protected] | 3c71576ce | 2013-07-23 02:00:01 | [diff] [blame] | 101 | 'common/content_restriction.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 102 | 'common/content_settings.cc', |
| 103 | 'common/content_settings.h', |
| 104 | 'common/content_settings_helper.cc', |
| 105 | 'common/content_settings_helper.h', |
[email protected] | 1d03fa3 | 2011-09-21 08:19:27 | [diff] [blame] | 106 | 'common/content_settings_pattern.cc', |
| 107 | 'common/content_settings_pattern.h', |
| 108 | 'common/content_settings_pattern_parser.cc', |
| 109 | 'common/content_settings_pattern_parser.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 110 | 'common/content_settings_types.h', |
[email protected] | 50cdead | 2013-01-03 18:36:33 | [diff] [blame] | 111 | 'common/crash_keys.cc', |
| 112 | 'common/crash_keys.h', |
[email protected] | 083917c8 | 2011-07-13 00:34:35 | [diff] [blame] | 113 | 'common/custom_handlers/protocol_handler.cc', |
| 114 | 'common/custom_handlers/protocol_handler.h', |
[email protected] | 29699c2 | 2012-10-03 23:57:39 | [diff] [blame] | 115 | 'common/descriptors_android.h', |
[email protected] | 2b12c32 | 2013-09-19 06:53:56 | [diff] [blame] | 116 | 'common/encrypted_media_messages_android.h', |
[email protected] | b76c288a | 2013-01-24 02:30:34 | [diff] [blame] | 117 | 'common/extensions/api/commands/commands_handler.cc', |
| 118 | 'common/extensions/api/commands/commands_handler.h', |
[email protected] | 23b3c0a | 2013-01-16 23:36:36 | [diff] [blame] | 119 | 'common/extensions/api/extension_action/action_info.cc', |
| 120 | 'common/extensions/api/extension_action/action_info.h', |
[email protected] | f965548 | 2013-02-13 09:22:51 | [diff] [blame] | 121 | 'common/extensions/api/extension_action/browser_action_handler.cc', |
| 122 | 'common/extensions/api/extension_action/browser_action_handler.h', |
| 123 | 'common/extensions/api/extension_action/page_action_handler.cc', |
| 124 | 'common/extensions/api/extension_action/page_action_handler.h', |
| 125 | 'common/extensions/api/extension_action/script_badge_handler.cc', |
| 126 | 'common/extensions/api/extension_action/script_badge_handler.h', |
[email protected] | a31c398 | 2013-07-13 04:33:31 | [diff] [blame] | 127 | 'common/extensions/api/file_browser_handlers/file_browser_handler.cc', |
| 128 | 'common/extensions/api/file_browser_handlers/file_browser_handler.h', |
[email protected] | 06492ed | 2013-03-24 22:13:14 | [diff] [blame] | 129 | 'common/extensions/api/file_handlers/file_handlers_parser.cc', |
| 130 | 'common/extensions/api/file_handlers/file_handlers_parser.h', |
[email protected] | 0273969d | 2013-01-30 22:16:31 | [diff] [blame] | 131 | 'common/extensions/api/i18n/default_locale_handler.cc', |
| 132 | 'common/extensions/api/i18n/default_locale_handler.h', |
[email protected] | 29e0c4e7 | 2013-02-01 04:42:56 | [diff] [blame] | 133 | 'common/extensions/api/identity/oauth2_manifest_handler.cc', |
| 134 | 'common/extensions/api/identity/oauth2_manifest_handler.h', |
[email protected] | 4af6559 | 2013-01-04 21:06:19 | [diff] [blame] | 135 | 'common/extensions/api/input_ime/input_components_handler.cc', |
| 136 | 'common/extensions/api/input_ime/input_components_handler.h', |
[email protected] | 09a8631eb | 2013-03-27 22:52:44 | [diff] [blame] | 137 | 'common/extensions/api/managed_mode_private/managed_mode_handler.cc', |
| 138 | 'common/extensions/api/managed_mode_private/managed_mode_handler.h', |
[email protected] | a31c398 | 2013-07-13 04:33:31 | [diff] [blame] | 139 | 'common/extensions/api/media_galleries_private/media_galleries_handler.h', |
| 140 | 'common/extensions/api/media_galleries_private/media_galleries_handler.cc', |
[email protected] | 8865fea | 2013-10-23 01:17:26 | [diff] [blame] | 141 | 'common/extensions/api/messaging/message.h', |
[email protected] | d356c98 | 2012-12-12 19:32:55 | [diff] [blame] | 142 | 'common/extensions/api/omnibox/omnibox_handler.cc', |
| 143 | 'common/extensions/api/omnibox/omnibox_handler.h', |
[email protected] | 098fa7a | 2013-03-08 22:11:17 | [diff] [blame] | 144 | 'common/extensions/api/plugins/plugins_handler.cc', |
| 145 | 'common/extensions/api/plugins/plugins_handler.h', |
[email protected] | e737c44 | 2013-11-15 15:55:24 | [diff] [blame] | 146 | 'common/extensions/api/sockets/sockets_manifest_handler.cc', |
| 147 | 'common/extensions/api/sockets/sockets_manifest_handler.h', |
| 148 | 'common/extensions/api/sockets/sockets_manifest_data.cc', |
| 149 | 'common/extensions/api/sockets/sockets_manifest_data.h', |
| 150 | 'common/extensions/api/sockets/sockets_manifest_permission.cc', |
| 151 | 'common/extensions/api/sockets/sockets_manifest_permission.h', |
[email protected] | 692a806 | 2013-01-10 04:14:42 | [diff] [blame] | 152 | 'common/extensions/api/speech/tts_engine_manifest_handler.cc', |
| 153 | 'common/extensions/api/speech/tts_engine_manifest_handler.h', |
[email protected] | 7662845 | 2013-04-26 04:39:32 | [diff] [blame] | 154 | 'common/extensions/api/spellcheck/spellcheck_handler.cc', |
| 155 | 'common/extensions/api/spellcheck/spellcheck_handler.h', |
[email protected] | a31c398 | 2013-07-13 04:33:31 | [diff] [blame] | 156 | 'common/extensions/api/storage/storage_schema_manifest_handler.cc', |
| 157 | 'common/extensions/api/storage/storage_schema_manifest_handler.h', |
[email protected] | 4e78693 | 2013-03-25 19:21:04 | [diff] [blame] | 158 | 'common/extensions/api/system_indicator/system_indicator_handler.cc', |
| 159 | 'common/extensions/api/system_indicator/system_indicator_handler.h', |
[email protected] | 43197ea2 | 2013-09-10 15:31:56 | [diff] [blame] | 160 | 'common/extensions/api/url_handlers/url_handlers_parser.cc', |
| 161 | 'common/extensions/api/url_handlers/url_handlers_parser.h', |
[email protected] | ad8b4ba | 2013-08-09 19:52:44 | [diff] [blame] | 162 | 'common/extensions/chrome_extensions_client.cc', |
| 163 | 'common/extensions/chrome_extensions_client.h', |
[email protected] | d592b1bd | 2013-05-06 06:40:47 | [diff] [blame] | 164 | 'common/extensions/chrome_manifest_handlers.cc', |
| 165 | 'common/extensions/chrome_manifest_handlers.h', |
[email protected] | 6590794 | 2012-05-22 19:59:47 | [diff] [blame] | 166 | 'common/extensions/command.cc', |
| 167 | 'common/extensions/command.h', |
[email protected] | d15e8a0 | 2013-05-30 03:24:26 | [diff] [blame] | 168 | 'common/extensions/dom_action_types.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 169 | 'common/extensions/extension_constants.cc', |
| 170 | 'common/extensions/extension_constants.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 171 | 'common/extensions/extension_file_util.cc', |
| 172 | 'common/extensions/extension_file_util.h', |
[email protected] | 807871f | 2010-09-16 01:04:48 | [diff] [blame] | 173 | 'common/extensions/extension_icon_set.cc', |
| 174 | 'common/extensions/extension_icon_set.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 175 | 'common/extensions/extension_l10n_util.cc', |
| 176 | 'common/extensions/extension_l10n_util.h', |
[email protected] | 44c49c9 | 2011-03-28 16:17:23 | [diff] [blame] | 177 | 'common/extensions/extension_messages.cc', |
| 178 | 'common/extensions/extension_messages.h', |
[email protected] | 808d151 | 2011-12-14 16:29:59 | [diff] [blame] | 179 | 'common/extensions/extension_process_policy.cc', |
| 180 | 'common/extensions/extension_process_policy.h', |
[email protected] | 4770acb | 2013-03-28 12:40:24 | [diff] [blame] | 181 | 'common/extensions/features/api_feature.cc', |
| 182 | 'common/extensions/features/api_feature.h', |
[email protected] | 4b927fe | 2012-12-15 20:30:45 | [diff] [blame] | 183 | 'common/extensions/features/base_feature_provider.cc', |
| 184 | 'common/extensions/features/base_feature_provider.h', |
| 185 | 'common/extensions/features/complex_feature.cc', |
| 186 | 'common/extensions/features/complex_feature.h', |
[email protected] | 15d4d2d | 2013-08-09 06:49:03 | [diff] [blame] | 187 | 'common/extensions/features/feature_channel.cc', |
| 188 | 'common/extensions/features/feature_channel.h', |
[email protected] | 5115ccc | 2012-06-11 19:47:07 | [diff] [blame] | 189 | 'common/extensions/features/manifest_feature.cc', |
| 190 | 'common/extensions/features/manifest_feature.h', |
| 191 | 'common/extensions/features/permission_feature.cc', |
| 192 | 'common/extensions/features/permission_feature.h', |
[email protected] | 4b927fe | 2012-12-15 20:30:45 | [diff] [blame] | 193 | 'common/extensions/features/simple_feature.cc', |
| 194 | 'common/extensions/features/simple_feature.h', |
[email protected] | 23b3c0a | 2013-01-16 23:36:36 | [diff] [blame] | 195 | 'common/extensions/manifest_handler_helpers.cc', |
| 196 | 'common/extensions/manifest_handler_helpers.h', |
[email protected] | 561e33d5 | 2013-04-03 06:58:43 | [diff] [blame] | 197 | 'common/extensions/manifest_handlers/app_isolation_info.cc', |
| 198 | 'common/extensions/manifest_handlers/app_isolation_info.h', |
[email protected] | 6b414c23 | 2013-06-05 07:53:34 | [diff] [blame] | 199 | 'common/extensions/manifest_handlers/app_launch_info.cc', |
| 200 | 'common/extensions/manifest_handlers/app_launch_info.h', |
[email protected] | 334ec0a | 2013-03-24 01:36:16 | [diff] [blame] | 201 | 'common/extensions/manifest_handlers/content_scripts_handler.cc', |
| 202 | 'common/extensions/manifest_handlers/content_scripts_handler.h', |
[email protected] | 5c25980 | 2013-04-24 09:27:05 | [diff] [blame] | 203 | 'common/extensions/manifest_handlers/externally_connectable.cc', |
| 204 | 'common/extensions/manifest_handlers/externally_connectable.h', |
[email protected] | abe720c0 | 2013-04-12 04:00:10 | [diff] [blame] | 205 | 'common/extensions/manifest_handlers/icons_handler.cc', |
| 206 | 'common/extensions/manifest_handlers/icons_handler.h', |
[email protected] | 28707cdc | 2013-07-18 21:38:08 | [diff] [blame] | 207 | 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc', |
| 208 | 'common/extensions/manifest_handlers/minimum_chrome_version_checker.h', |
[email protected] | 3162254 | 2013-05-30 19:42:30 | [diff] [blame] | 209 | 'common/extensions/manifest_handlers/nacl_modules_handler.cc', |
| 210 | 'common/extensions/manifest_handlers/nacl_modules_handler.h', |
[email protected] | ebdea8e | 2013-10-23 14:29:58 | [diff] [blame] | 211 | 'common/extensions/manifest_handlers/settings_overrides_handler.cc', |
| 212 | 'common/extensions/manifest_handlers/settings_overrides_handler.h', |
[email protected] | 72b49d4 | 2013-04-19 12:47:31 | [diff] [blame] | 213 | 'common/extensions/manifest_handlers/theme_handler.cc', |
| 214 | 'common/extensions/manifest_handlers/theme_handler.h', |
[email protected] | a405f6d | 2013-01-11 11:50:13 | [diff] [blame] | 215 | 'common/extensions/manifest_url_handler.cc', |
| 216 | 'common/extensions/manifest_url_handler.h', |
[email protected] | 40404bc | 2012-07-25 17:40:49 | [diff] [blame] | 217 | 'common/extensions/message_bundle.cc', |
| 218 | 'common/extensions/message_bundle.h', |
[email protected] | 9254935 | 2013-03-12 07:55:57 | [diff] [blame] | 219 | 'common/extensions/mime_types_handler.cc', |
| 220 | 'common/extensions/mime_types_handler.h', |
[email protected] | 14ed8dc | 2013-07-02 03:02:09 | [diff] [blame] | 221 | 'common/extensions/permissions/bluetooth_permission.cc', |
| 222 | 'common/extensions/permissions/bluetooth_permission.h', |
| 223 | 'common/extensions/permissions/bluetooth_permission_data.cc', |
| 224 | 'common/extensions/permissions/bluetooth_permission_data.h', |
[email protected] | e676f8f | 2013-04-04 09:04:37 | [diff] [blame] | 225 | 'common/extensions/permissions/chrome_api_permissions.cc', |
| 226 | 'common/extensions/permissions/chrome_api_permissions.h', |
[email protected] | c4100347 | 2013-10-19 15:37:25 | [diff] [blame] | 227 | 'common/extensions/permissions/chrome_permission_message_provider.cc', |
| 228 | 'common/extensions/permissions/chrome_permission_message_provider.h', |
[email protected] | 398d77b | 2013-01-17 01:31:06 | [diff] [blame] | 229 | 'common/extensions/permissions/media_galleries_permission.cc', |
| 230 | 'common/extensions/permissions/media_galleries_permission.h', |
| 231 | 'common/extensions/permissions/media_galleries_permission_data.cc', |
| 232 | 'common/extensions/permissions/media_galleries_permission_data.h', |
[email protected] | e54e710 | 2013-09-27 21:46:14 | [diff] [blame] | 233 | 'common/extensions/permissions/permission_message_util.cc', |
| 234 | 'common/extensions/permissions/permission_message_util.h', |
[email protected] | f3cc8063 | 2012-12-06 19:30:25 | [diff] [blame] | 235 | 'common/extensions/permissions/set_disjunction_permission.h', |
[email protected] | 66382a92 | 2013-11-06 22:19:16 | [diff] [blame] | 236 | 'common/extensions/permissions/settings_override_permission.cc', |
| 237 | 'common/extensions/permissions/settings_override_permission.h', |
[email protected] | 1d8b79a | 2012-08-16 20:22:54 | [diff] [blame] | 238 | 'common/extensions/permissions/socket_permission.cc', |
| 239 | 'common/extensions/permissions/socket_permission.h', |
| 240 | 'common/extensions/permissions/socket_permission_data.cc', |
| 241 | 'common/extensions/permissions/socket_permission_data.h', |
[email protected] | f371c89b | 2013-09-26 04:06:38 | [diff] [blame] | 242 | 'common/extensions/permissions/socket_permission_entry.cc', |
| 243 | 'common/extensions/permissions/socket_permission_entry.h', |
[email protected] | ad46f22 | 2012-12-11 07:18:15 | [diff] [blame] | 244 | 'common/extensions/permissions/usb_device_permission.cc', |
| 245 | 'common/extensions/permissions/usb_device_permission.h', |
| 246 | 'common/extensions/permissions/usb_device_permission_data.cc', |
| 247 | 'common/extensions/permissions/usb_device_permission_data.h', |
[email protected] | 8f3bcbd | 2013-06-05 08:42:40 | [diff] [blame] | 248 | 'common/extensions/sync_helper.cc', |
| 249 | 'common/extensions/sync_helper.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 250 | 'common/extensions/update_manifest.cc', |
| 251 | 'common/extensions/update_manifest.h', |
[email protected] | d9e559d | 2012-07-05 01:04:57 | [diff] [blame] | 252 | 'common/extensions/value_counter.cc', |
| 253 | 'common/extensions/value_counter.h', |
[email protected] | d4e96fa | 2013-01-16 21:12:54 | [diff] [blame] | 254 | 'common/extensions/web_accessible_resources_handler.cc', |
| 255 | 'common/extensions/web_accessible_resources_handler.h', |
[email protected] | 7f585cc8 | 2013-09-29 18:05:09 | [diff] [blame] | 256 | 'common/extensions/webview_handler.cc', |
| 257 | 'common/extensions/webview_handler.h', |
[email protected] | 78dfe38 | 2013-07-17 18:05:42 | [diff] [blame] | 258 | 'common/favicon/favicon_types.cc', |
| 259 | 'common/favicon/favicon_types.h', |
| 260 | 'common/favicon/favicon_url_parser.cc', |
| 261 | 'common/favicon/favicon_url_parser.h', |
[email protected] | 4de7526 | 2013-12-18 23:16:12 | [diff] [blame] | 262 | 'common/profile_management_switches.cc', |
| 263 | 'common/profile_management_switches.h', |
[email protected] | 6ae45eb | 2012-11-29 23:27:28 | [diff] [blame] | 264 | 'common/icon_with_badge_image_source.cc', |
| 265 | 'common/icon_with_badge_image_source.h', |
[email protected] | 946b4ee0 | 2013-07-16 21:57:52 | [diff] [blame] | 266 | 'common/importer/firefox_importer_utils.cc', |
| 267 | 'common/importer/firefox_importer_utils.h', |
| 268 | 'common/importer/firefox_importer_utils_linux.cc', |
| 269 | 'common/importer/firefox_importer_utils_mac.mm', |
| 270 | 'common/importer/firefox_importer_utils_win.cc', |
| 271 | 'common/importer/ie_importer_test_registry_overrider_win.cc', |
| 272 | 'common/importer/ie_importer_test_registry_overrider_win.h', |
| 273 | 'common/importer/ie_importer_utils_win.cc', |
| 274 | 'common/importer/ie_importer_utils_win.h', |
[email protected] | b7fa499 | 2013-07-03 00:32:13 | [diff] [blame] | 275 | 'common/importer/imported_bookmark_entry.cc', |
| 276 | 'common/importer/imported_bookmark_entry.h', |
| 277 | 'common/importer/imported_favicon_usage.cc', |
| 278 | 'common/importer/imported_favicon_usage.h', |
[email protected] | 946b4ee0 | 2013-07-16 21:57:52 | [diff] [blame] | 279 | 'common/importer/importer_bridge.cc', |
| 280 | 'common/importer/importer_bridge.h', |
[email protected] | b7fa499 | 2013-07-03 00:32:13 | [diff] [blame] | 281 | 'common/importer/importer_data_types.cc', |
| 282 | 'common/importer/importer_data_types.h', |
| 283 | 'common/importer/importer_type.h', |
[email protected] | 3eb29c1c | 2013-06-29 00:07:14 | [diff] [blame] | 284 | 'common/importer/importer_url_row.cc', |
| 285 | 'common/importer/importer_url_row.h', |
[email protected] | b7fa499 | 2013-07-03 00:32:13 | [diff] [blame] | 286 | 'common/importer/profile_import_process_messages.cc', |
| 287 | 'common/importer/profile_import_process_messages.h', |
[email protected] | b5be866 | 2013-07-17 00:20:43 | [diff] [blame] | 288 | 'common/importer/safari_importer_utils.h', |
| 289 | 'common/importer/safari_importer_utils.mm', |
[email protected] | 8b169b4b | 2013-03-23 18:24:46 | [diff] [blame] | 290 | 'common/instant_restricted_id_cache.h', |
[email protected] | 0e7cb68 | 2012-08-15 04:04:38 | [diff] [blame] | 291 | 'common/instant_types.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 292 | 'common/instant_types.h', |
[email protected] | 499512b | 2012-08-08 19:27:49 | [diff] [blame] | 293 | 'common/localized_error.cc', |
| 294 | 'common/localized_error.h', |
[email protected] | 909ee8b | 2013-09-22 00:53:00 | [diff] [blame] | 295 | 'common/local_discovery/service_discovery_client.cc', |
| 296 | 'common/local_discovery/service_discovery_client.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 297 | 'common/logging_chrome.cc', |
| 298 | 'common/logging_chrome.h', |
[email protected] | 4682124 | 2011-08-19 13:59:59 | [diff] [blame] | 299 | 'common/mac/app_mode_common.h', |
| 300 | 'common/mac/app_mode_common.mm', |
[email protected] | 00ecec5 | 2011-08-19 20:01:24 | [diff] [blame] | 301 | 'common/mac/cfbundle_blocker.h', |
| 302 | 'common/mac/cfbundle_blocker.mm', |
[email protected] | 4682124 | 2011-08-19 13:59:59 | [diff] [blame] | 303 | 'common/mac/launchd.h', |
| 304 | 'common/mac/launchd.mm', |
[email protected] | d02437b | 2011-09-06 17:25:15 | [diff] [blame] | 305 | 'common/mac/objc_method_swizzle.h', |
| 306 | 'common/mac/objc_method_swizzle.mm', |
| 307 | 'common/mac/objc_zombie.h', |
| 308 | 'common/mac/objc_zombie.mm', |
[email protected] | 6ef98b5a | 2013-05-31 23:58:31 | [diff] [blame] | 309 | 'common/media/webrtc_logging_messages.h', |
[email protected] | c277e2b | 2013-08-02 15:41:08 | [diff] [blame] | 310 | 'common/metrics/caching_permuted_entropy_provider.cc', |
| 311 | 'common/metrics/caching_permuted_entropy_provider.h', |
[email protected] | e182be0 | 2012-01-27 02:35:44 | [diff] [blame] | 312 | 'common/metrics/metrics_log_base.cc', |
| 313 | 'common/metrics/metrics_log_base.h', |
[email protected] | 2e4cd1a | 2012-01-12 08:51:03 | [diff] [blame] | 314 | 'common/metrics/metrics_log_manager.cc', |
| 315 | 'common/metrics/metrics_log_manager.h', |
[email protected] | e182be0 | 2012-01-27 02:35:44 | [diff] [blame] | 316 | 'common/metrics/metrics_service_base.cc', |
| 317 | 'common/metrics/metrics_service_base.h', |
[email protected] | d383ffc | 2013-12-06 15:27:28 | [diff] [blame] | 318 | 'common/metrics/variations/experiment_labels.cc', |
| 319 | 'common/metrics/variations/experiment_labels.h', |
[email protected] | e90c756 | 2013-02-27 20:22:18 | [diff] [blame] | 320 | 'common/metrics/variations/uniformity_field_trials.cc', |
| 321 | 'common/metrics/variations/uniformity_field_trials.h', |
[email protected] | cf265dc0 | 2012-08-15 01:01:16 | [diff] [blame] | 322 | 'common/metrics/variations/variations_util.cc', |
| 323 | 'common/metrics/variations/variations_util.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 324 | 'common/multi_process_lock.h', |
| 325 | 'common/multi_process_lock_linux.cc', |
| 326 | 'common/multi_process_lock_mac.cc', |
| 327 | 'common/multi_process_lock_win.cc', |
[email protected] | 48c1ebd | 2013-04-27 02:22:27 | [diff] [blame] | 328 | 'common/omaha_query_params/omaha_query_params.cc', |
| 329 | 'common/omaha_query_params/omaha_query_params.h', |
[email protected] | ca98bd3 | 2013-04-09 05:16:05 | [diff] [blame] | 330 | 'common/omnibox_focus_state.h', |
[email protected] | 6ef98b5a | 2013-05-31 23:58:31 | [diff] [blame] | 331 | 'common/partial_circular_buffer.cc', |
| 332 | 'common/partial_circular_buffer.h', |
[email protected] | 9b4f608 | 2012-04-24 01:43:07 | [diff] [blame] | 333 | 'common/pepper_flash.cc', |
| 334 | 'common/pepper_flash.h', |
[email protected] | 9d45049 | 2013-06-13 23:08:37 | [diff] [blame] | 335 | 'common/pepper_permission_util.cc', |
| 336 | 'common/pepper_permission_util.h', |
[email protected] | be85e7d | 2012-10-31 08:34:20 | [diff] [blame] | 337 | 'common/pref_names_util.cc', |
| 338 | 'common/pref_names_util.h', |
[email protected] | b4bd67a | 2011-08-22 19:04:09 | [diff] [blame] | 339 | 'common/print_messages.cc', |
[email protected] | 1375e3ab | 2011-03-24 17:07:22 | [diff] [blame] | 340 | 'common/print_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 341 | 'common/profiling.cc', |
| 342 | 'common/profiling.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 343 | 'common/ref_counted_util.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 344 | 'common/render_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 345 | 'common/render_messages.h', |
[email protected] | f6fd904 | 2013-02-14 18:43:58 | [diff] [blame] | 346 | 'common/safe_browsing/download_protection_util.cc', |
| 347 | 'common/safe_browsing/download_protection_util.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 348 | 'common/safe_browsing/safebrowsing_messages.h', |
[email protected] | f6fd904 | 2013-02-14 18:43:58 | [diff] [blame] | 349 | 'common/safe_browsing/zip_analyzer.cc', |
| 350 | 'common/safe_browsing/zip_analyzer.h', |
[email protected] | c08e793 | 2011-03-29 04:08:14 | [diff] [blame] | 351 | 'common/search_provider.h', |
[email protected] | c391774 | 2012-11-21 01:51:14 | [diff] [blame] | 352 | 'common/search_types.h', |
[email protected] | 2309e91 | 2013-10-01 01:33:30 | [diff] [blame] | 353 | 'common/search_urls.cc', |
| 354 | 'common/search_urls.h', |
[email protected] | 38fe196 | 2010-07-31 07:57:00 | [diff] [blame] | 355 | 'common/service_messages.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 356 | 'common/service_process_util.cc', |
| 357 | 'common/service_process_util.h', |
[email protected] | 56f0f26 | 2011-02-24 17:14:36 | [diff] [blame] | 358 | 'common/service_process_util_linux.cc', |
| 359 | 'common/service_process_util_mac.mm', |
[email protected] | 14635494 | 2010-10-13 20:27:04 | [diff] [blame] | 360 | 'common/service_process_util_posix.cc', |
[email protected] | 56f0f26 | 2011-02-24 17:14:36 | [diff] [blame] | 361 | 'common/service_process_util_posix.h', |
[email protected] | 14635494 | 2010-10-13 20:27:04 | [diff] [blame] | 362 | 'common/service_process_util_win.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 363 | 'common/spellcheck_common.cc', |
| 364 | 'common/spellcheck_common.h', |
[email protected] | f6add48e | 2013-05-14 00:58:07 | [diff] [blame] | 365 | 'common/spellcheck_marker.h', |
[email protected] | 3e26719 | 2011-03-25 01:55:45 | [diff] [blame] | 366 | 'common/spellcheck_messages.h', |
[email protected] | 7ed49c2 | 2012-02-17 02:14:53 | [diff] [blame] | 367 | 'common/spellcheck_result.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 368 | 'common/switch_utils.cc', |
| 369 | 'common/switch_utils.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 370 | 'common/thumbnail_score.cc', |
| 371 | 'common/thumbnail_score.h', |
[email protected] | 7a06d28 | 2013-05-03 04:39:33 | [diff] [blame] | 372 | 'common/tts_messages.h', |
| 373 | 'common/tts_utterance_request.cc', |
| 374 | 'common/tts_utterance_request.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 375 | 'common/url_constants.cc', |
| 376 | 'common/url_constants.h', |
[email protected] | 93f5046 | 2013-05-10 04:40:40 | [diff] [blame] | 377 | 'common/web_application_info.cc', |
| 378 | 'common/web_application_info.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 379 | 'common/worker_thread_ticker.cc', |
| 380 | 'common/worker_thread_ticker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 381 | ], |
| 382 | 'conditions': [ |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 383 | ['enable_extensions==1', { |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 384 | 'dependencies': [ |
[email protected] | 1ff6429 | 2013-07-18 20:37:15 | [diff] [blame] | 385 | '../device/bluetooth/bluetooth.gyp:device_bluetooth', |
[email protected] | e3a9ccfc | 2013-06-03 00:22:30 | [diff] [blame] | 386 | '../device/usb/usb.gyp:device_usb', |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 387 | ], |
| 388 | }, { # enable_extensions == 0 |
| 389 | 'sources/': [ |
| 390 | ['exclude', '^common/extensions/api/'], |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 391 | ['include', 'common/extensions/api/extension_action/action_info.cc'], |
| 392 | ['include', 'common/extensions/api/extension_action/action_info.h'], |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 393 | ['include', 'common/extensions/api/i18n/default_locale_handler.cc'], |
| 394 | ['include', 'common/extensions/api/i18n/default_locale_handler.h'], |
| 395 | ['include', 'common/extensions/api/identity/oauth2_manifest_handler.cc'], |
| 396 | ['include', 'common/extensions/api/identity/oauth2_manifest_handler.h'], |
[email protected] | 09a8631eb | 2013-03-27 22:52:44 | [diff] [blame] | 397 | ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.cc'], |
| 398 | ['include', 'common/extensions/api/managed_mode_private/managed_mode_handler.h'], |
[email protected] | d02e354 | 2013-07-15 12:27:25 | [diff] [blame] | 399 | ['include', 'common/extensions/api/plugins/plugins_handler.cc'], |
| 400 | ['include', 'common/extensions/api/plugins/plugins_handler.h'], |
[email protected] | d02e354 | 2013-07-15 12:27:25 | [diff] [blame] | 401 | ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.cc'], |
| 402 | ['include', 'common/extensions/api/storage/storage_schema_manifest_handler.h'], |
[email protected] | 989ae86 | 2013-03-13 04:22:58 | [diff] [blame] | 403 | ], |
| 404 | }], |
[email protected] | c51694f | 2013-06-25 02:50:24 | [diff] [blame] | 405 | ['OS=="win" or OS=="mac"', { |
| 406 | 'sources': [ |
[email protected] | 580ce3d6 | 2013-07-31 05:28:48 | [diff] [blame] | 407 | 'common/media_galleries/itunes_library.cc', |
| 408 | 'common/media_galleries/itunes_library.h', |
[email protected] | 62116d0 | 2013-06-26 04:32:00 | [diff] [blame] | 409 | 'common/media_galleries/picasa_types.cc', |
| 410 | 'common/media_galleries/picasa_types.h', |
| 411 | 'common/media_galleries/pmp_constants.h', |
[email protected] | c51694f | 2013-06-25 02:50:24 | [diff] [blame] | 412 | ], |
| 413 | }], |
[email protected] | 19fa62bf | 2013-10-17 17:55:41 | [diff] [blame] | 414 | ['OS=="mac"', { |
| 415 | 'sources': [ |
| 416 | 'common/media_galleries/iphoto_library.cc', |
| 417 | 'common/media_galleries/iphoto_library.h', |
| 418 | ], |
| 419 | }], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 420 | ['OS != "ios"', { |
| 421 | 'dependencies': [ |
[email protected] | e9d3b95 | 2013-11-05 20:13:02 | [diff] [blame] | 422 | '<(DEPTH)/chrome/common/extensions/api/api.gyp:api', |
[email protected] | d04f8191 | 2013-06-18 14:52:13 | [diff] [blame] | 423 | '<(DEPTH)/components/components.gyp:autofill_core_common', |
[email protected] | 45b53fb | 2013-12-12 19:28:06 | [diff] [blame] | 424 | '<(DEPTH)/components/components.gyp:autofill_content_common', |
[email protected] | 058fe53 | 2013-11-28 06:45:59 | [diff] [blame] | 425 | '<(DEPTH)/components/nacl.gyp:nacl_common', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 426 | '<(DEPTH)/components/components.gyp:visitedlink_common', |
[email protected] | 558878cc8 | 2013-11-09 01:25:51 | [diff] [blame] | 427 | '<(DEPTH)/extensions/extensions.gyp:extensions_common', |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 428 | '<(DEPTH)/ipc/ipc.gyp:ipc', |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 429 | '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
| 430 | '<(DEPTH)/third_party/re2/re2.gyp:re2', |
| 431 | '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 432 | ], |
| 433 | }, { # OS == ios |
| 434 | 'sources/': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 435 | ['exclude', '^common/child_process_'], |
| 436 | ['exclude', '^common/chrome_content_client\\.cc$'], |
| 437 | ['exclude', '^common/chrome_version_info_posix\\.cc$'], |
| 438 | ['exclude', '^common/common_message_generator\\.cc$'], |
| 439 | ['exclude', '^common/common_param_traits'], |
| 440 | ['exclude', '^common/custom_handlers/'], |
| 441 | ['exclude', '^common/extensions/'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 442 | ['exclude', '^common/logging_chrome\\.'], |
| 443 | ['exclude', '^common/multi_process_'], |
| 444 | ['exclude', '^common/nacl_'], |
| 445 | ['exclude', '^common/pepper_flash\\.'], |
| 446 | ['exclude', '^common/profiling\\.'], |
| 447 | ['exclude', '^common/service_process_util_'], |
| 448 | ['exclude', '^common/spellcheck_'], |
[email protected] | 1352ca9 | 2013-04-30 02:30:27 | [diff] [blame] | 449 | ['exclude', '^common/validation_message_'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 450 | ['exclude', '^common/web_apps\\.'], |
| 451 | # TODO(ios): Include files here as they are made to work; once |
| 452 | # everything is online, remove everything below here and just |
| 453 | # use the exclusions above. |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 454 | ['exclude', '\\.(cc|mm)$'], |
| 455 | ['include', '_ios\\.(cc|mm)$'], |
| 456 | ['include', '(^|/)ios/'], |
| 457 | ['include', '^common/chrome_version_info\\.cc$'], |
[email protected] | d7575c2 | 2013-07-11 13:54:22 | [diff] [blame] | 458 | ['include', '^common/translate'], |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 459 | ['include', '^common/zip'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 460 | ], |
[email protected] | 271e88fc | 2013-05-06 07:48:05 | [diff] [blame] | 461 | 'include_dirs': [ |
| 462 | '<(DEPTH)/breakpad/src', |
| 463 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 464 | }], |
[email protected] | f757c1a | 2013-11-07 09:02:36 | [diff] [blame] | 465 | ['enable_printing!=0', { |
| 466 | 'dependencies': [ |
| 467 | '<(DEPTH)/printing/printing.gyp:printing', |
| 468 | ], |
| 469 | }], |
[email protected] | e389c47 | 2013-07-24 02:49:58 | [diff] [blame] | 470 | ['OS!="ios" and chrome_multiple_dll!=1', { |
| 471 | 'dependencies': [ |
[email protected] | a356e5cc | 2013-09-24 02:54:46 | [diff] [blame] | 472 | '<(DEPTH)/webkit/glue/webkit_glue.gyp:glue', |
[email protected] | e389c47 | 2013-07-24 02:49:58 | [diff] [blame] | 473 | ], |
| 474 | }], |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 475 | ['OS=="android"', { |
| 476 | 'sources/': [ |
[email protected] | 281288d | 2012-11-09 03:03:23 | [diff] [blame] | 477 | ['exclude', '^common/chrome_version_info_posix.cc'], |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 478 | ['exclude', '^common/service_'], |
| 479 | ], |
[email protected] | 81bdab2 | 2013-09-02 21:12:52 | [diff] [blame] | 480 | 'sources!': [ |
| 481 | 'common/badge_util.cc', |
| 482 | 'common/extensions/api/extension_action/browser_action_handler.cc', |
| 483 | 'common/extensions/api/extension_action/page_action_handler.cc', |
| 484 | 'common/extensions/api/spellcheck/spellcheck_handler.cc', |
| 485 | 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc', |
| 486 | 'common/extensions/manifest_handlers/nacl_modules_handler.cc', |
| 487 | 'common/icon_with_badge_image_source.cc', |
| 488 | 'common/importer/imported_bookmark_entry.cc', |
| 489 | 'common/importer/importer_bridge.cc', |
| 490 | 'common/importer/importer_data_types.cc', |
| 491 | 'common/importer/importer_url_row.cc', |
| 492 | 'common/net/url_util.cc', |
[email protected] | 81bdab2 | 2013-09-02 21:12:52 | [diff] [blame] | 493 | 'common/spellcheck_common.cc', |
| 494 | ], |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 495 | }], |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 496 | ['OS=="win"', { |
| 497 | 'include_dirs': [ |
[email protected] | 27b38d6 | 2013-08-14 18:12:11 | [diff] [blame] | 498 | '<(DEPTH)/breakpad/src', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 499 | '<(DEPTH)/third_party/wtl/include', |
[email protected] | f65fdfc | 2013-03-05 21:56:04 | [diff] [blame] | 500 | ], |
[email protected] | ef777a4 | 2011-11-25 13:15:43 | [diff] [blame] | 501 | }], |
[email protected] | c1cc0e0 | 2013-07-04 12:46:35 | [diff] [blame] | 502 | ['enable_mdns == 1', { |
| 503 | 'sources': [ |
[email protected] | 686e985e | 2013-07-18 22:04:56 | [diff] [blame] | 504 | 'common/local_discovery/local_discovery_messages.h', |
[email protected] | c1cc0e0 | 2013-07-04 12:46:35 | [diff] [blame] | 505 | ] |
| 506 | }], |
[email protected] | cb5e507 | 2011-05-19 21:49:41 | [diff] [blame] | 507 | ['toolkit_uses_gtk == 1', { |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 508 | 'dependencies': [ |
| 509 | '../build/linux/system.gyp:gtk', |
| 510 | ], |
| 511 | 'export_dependent_settings': [ |
| 512 | '../third_party/sqlite/sqlite.gyp:sqlite', |
| 513 | ], |
| 514 | 'link_settings': { |
| 515 | 'libraries': [ |
| 516 | '-lX11', |
| 517 | '-lXrender', |
[email protected] | 8b46c13b | 2010-01-26 19:50:54 | [diff] [blame] | 518 | '-lXss', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 519 | '-lXext', |
| 520 | ], |
| 521 | }, |
[email protected] | 0ce3485 | 2011-09-23 20:00:51 | [diff] [blame] | 522 | }], |
[email protected] | 89886fa3 | 2012-10-08 23:46:33 | [diff] [blame] | 523 | ['chromeos==1', { |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 524 | 'sources!': [ |
| 525 | 'common/chrome_version_info_linux.cc', |
| 526 | ], |
| 527 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 528 | ['OS=="mac"', { |
| 529 | 'dependencies': [ |
[email protected] | a023dca | 2013-12-18 03:58:36 | [diff] [blame] | 530 | '../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] | 531 | '../third_party/mach_override/mach_override.gyp:mach_override', |
| 532 | ], |
| 533 | 'include_dirs': [ |
[email protected] | 271e88fc | 2013-05-06 07:48:05 | [diff] [blame] | 534 | '<(DEPTH)/breakpad/src', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 535 | ], |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 536 | 'sources!': [ |
| 537 | 'common/child_process_logging_posix.cc', |
| 538 | 'common/chrome_version_info_posix.cc', |
| 539 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 540 | }], |
| 541 | ['remoting==1', { |
| 542 | 'dependencies': [ |
| 543 | '../remoting/remoting.gyp:remoting_client_plugin', |
| 544 | ], |
| 545 | }], |
[email protected] | 098dff8a | 2013-01-23 20:54:49 | [diff] [blame] | 546 | ['enable_automation==0', { |
| 547 | 'sources/': [ |
| 548 | ['exclude', '^common/automation_'] |
[email protected] | edf48d4 | 2013-03-07 05:44:43 | [diff] [blame] | 549 | ] |
[email protected] | 90b54ed | 2013-01-28 10:38:42 | [diff] [blame] | 550 | }], |
[email protected] | e3d19377 | 2013-09-11 15:18:26 | [diff] [blame] | 551 | ['enable_plugins==0', { |
| 552 | 'source!' : [ |
| 553 | 'common/pepper_permission_util.cc', |
| 554 | ], |
| 555 | }], |
[email protected] | 90b54ed | 2013-01-28 10:38:42 | [diff] [blame] | 556 | ['use_system_nspr==1', { |
| 557 | 'dependencies': [ |
| 558 | '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr', |
| 559 | ], |
| 560 | }], |
[email protected] | 6ef98b5a | 2013-05-31 23:58:31 | [diff] [blame] | 561 | ['enable_webrtc==0', { |
| 562 | 'sources!': [ |
| 563 | 'common/media/webrtc_logging_messages.h', |
| 564 | ] |
| 565 | }], |
[email protected] | 1e54c1c | 2013-08-12 17:16:05 | [diff] [blame] | 566 | ['enable_printing==0', { |
| 567 | 'sources!': [ |
| 568 | 'common/print_messages.cc', |
| 569 | 'common/print_messages.h', |
| 570 | ] |
| 571 | }], |
[email protected] | 991573e | 2013-12-16 13:49:20 | [diff] [blame] | 572 | ['configuration_policy==1', { |
| 573 | 'dependencies': [ |
| 574 | '<(DEPTH)/components/components.gyp:policy', |
| 575 | ], |
| 576 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 577 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 578 | 'target_conditions': [ |
| 579 | ['OS == "ios"', { |
| 580 | 'sources/': [ |
| 581 | # Pull in specific Mac files for iOS (which have been filtered out |
| 582 | # by file name rules). |
| 583 | ['include', '^common/chrome_version_info_mac\\.mm$'], |
| 584 | ], |
| 585 | }], |
| 586 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 587 | 'export_dependent_settings': [ |
| 588 | '../base/base.gyp:base', |
[email protected] | 8a59a08 | 2012-03-07 02:27:30 | [diff] [blame] | 589 | 'metrics_proto', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 590 | ], |
| 591 | }, |
| 592 | { |
| 593 | 'target_name': 'common_version', |
| 594 | 'type': 'none', |
| 595 | 'conditions': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 596 | ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 597 | 'direct_dependent_settings': { |
| 598 | 'include_dirs': [ |
| 599 | '<(SHARED_INTERMEDIATE_DIR)', |
| 600 | ], |
| 601 | }, |
[email protected] | 79440c5 | 2010-08-27 22:53:02 | [diff] [blame] | 602 | # Because posix_version generates a header, we must set the |
| 603 | # hard_dependency flag. |
| 604 | 'hard_dependency': 1, |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 605 | 'actions': [ |
| 606 | { |
| 607 | 'action_name': 'posix_version', |
| 608 | 'variables': { |
| 609 | 'lastchange_path': |
[email protected] | 9046a11 | 2012-01-31 20:45:25 | [diff] [blame] | 610 | '<(DEPTH)/build/util/LASTCHANGE', |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 611 | 'version_py_path': 'tools/build/version.py', |
| 612 | 'version_path': 'VERSION', |
| 613 | 'template_input_path': 'common/chrome_version_info_posix.h.version', |
| 614 | }, |
| 615 | 'conditions': [ |
| 616 | [ 'branding == "Chrome"', { |
| 617 | 'variables': { |
| 618 | 'branding_path': |
| 619 | 'app/theme/google_chrome/BRANDING', |
| 620 | }, |
| 621 | }, { # else branding!="Chrome" |
| 622 | 'variables': { |
| 623 | 'branding_path': |
| 624 | 'app/theme/chromium/BRANDING', |
| 625 | }, |
| 626 | }], |
| 627 | ], |
| 628 | 'inputs': [ |
| 629 | '<(template_input_path)', |
| 630 | '<(version_path)', |
| 631 | '<(branding_path)', |
| 632 | '<(lastchange_path)', |
| 633 | ], |
| 634 | 'outputs': [ |
| 635 | '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h', |
| 636 | ], |
| 637 | 'action': [ |
| 638 | 'python', |
| 639 | '<(version_py_path)', |
| 640 | '-f', '<(version_path)', |
| 641 | '-f', '<(branding_path)', |
| 642 | '-f', '<(lastchange_path)', |
| 643 | '<(template_input_path)', |
| 644 | '<@(_outputs)', |
| 645 | ], |
| 646 | 'message': 'Generating version information', |
| 647 | }, |
| 648 | ], |
| 649 | }], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 650 | ], |
| 651 | }, |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 652 | { |
| 653 | 'target_name': 'common_net', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 654 | 'type': 'static_library', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 655 | 'sources': [ |
[email protected] | 2ea1efe | 2013-07-17 05:23:13 | [diff] [blame] | 656 | 'common/net/net_error_info.cc', |
| 657 | 'common/net/net_error_info.h', |
[email protected] | 0630596 | 2012-05-09 22:34:36 | [diff] [blame] | 658 | 'common/net/net_resource_provider.cc', |
| 659 | 'common/net/net_resource_provider.h', |
| 660 | 'common/net/predictor_common.h', |
[email protected] | 4f3b446 | 2013-07-27 19:20:18 | [diff] [blame] | 661 | 'common/net/url_fixer_upper.cc', |
| 662 | 'common/net/url_fixer_upper.h', |
[email protected] | 0630596 | 2012-05-09 22:34:36 | [diff] [blame] | 663 | 'common/net/url_util.cc', |
| 664 | 'common/net/url_util.h', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 665 | 'common/net/x509_certificate_model.cc', |
| 666 | 'common/net/x509_certificate_model_nss.cc', |
| 667 | 'common/net/x509_certificate_model_openssl.cc', |
| 668 | 'common/net/x509_certificate_model.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 669 | ], |
| 670 | 'dependencies': [ |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 671 | '<(DEPTH)/base/base.gyp:base', |
| 672 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 673 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 674 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 675 | '<(DEPTH)/net/net.gyp:net_resources', |
| 676 | '<(DEPTH)/net/net.gyp:net', |
| 677 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 678 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 679 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 680 | 'conditions': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 681 | ['OS != "ios"', { |
| 682 | 'dependencies': [ |
| 683 | '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 684 | ], |
| 685 | }, { # OS == ios |
| 686 | 'sources!': [ |
| 687 | 'common/net/net_resource_provider.cc', |
| 688 | 'common/net/x509_certificate_model.cc', |
| 689 | ], |
| 690 | }], |
| 691 | ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
[email protected] | 638e9df4 | 2011-05-31 17:19:30 | [diff] [blame] | 692 | 'dependencies': [ |
| 693 | '../build/linux/system.gyp:ssl', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 694 | ], |
| 695 | }, |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 696 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 697 | ['os_posix != 1 or OS == "mac" or OS == "ios"', { |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 698 | 'sources!': [ |
| 699 | 'common/net/x509_certificate_model_nss.cc', |
| 700 | 'common/net/x509_certificate_model_openssl.cc', |
| 701 | ], |
| 702 | }, |
| 703 | ], |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 704 | ['OS == "android"', { |
| 705 | 'dependencies': [ |
[email protected] | 8e853b14 | 2012-05-16 07:40:01 | [diff] [blame] | 706 | '../third_party/openssl/openssl.gyp:openssl', |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 707 | ], |
| 708 | }, |
| 709 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 710 | ['use_openssl==1', { |
| 711 | 'sources!': [ |
| 712 | 'common/net/x509_certificate_model_nss.cc', |
| 713 | ], |
| 714 | }, |
| 715 | { # else !use_openssl: remove the unneeded files |
| 716 | 'sources!': [ |
| 717 | 'common/net/x509_certificate_model_openssl.cc', |
| 718 | ], |
| 719 | }, |
| 720 | ], |
[email protected] | b1d2c74 | 2013-01-21 18:04:52 | [diff] [blame] | 721 | ['OS=="win"', { |
| 722 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 723 | 'msvs_disabled_warnings': [4267, ], |
| 724 | }, |
| 725 | ], |
[email protected] | 129d1145 | 2012-03-01 01:56:56 | [diff] [blame] | 726 | ], |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 727 | }, |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 728 | { |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 729 | # Protobuf compiler / generator for the safebrowsing client |
| 730 | # model proto and the client-side detection (csd) request |
| 731 | # protocol buffer. |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 732 | 'target_name': 'safe_browsing_proto', |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 733 | 'type': 'static_library', |
| 734 | 'sources': [ |
| 735 | 'common/safe_browsing/client_model.proto', |
[email protected] | 8e289f0b | 2013-12-17 17:49:07 | [diff] [blame] | 736 | 'common/safe_browsing/crx_info.proto', |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 737 | 'common/safe_browsing/csd.proto' |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 738 | ], |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 739 | 'variables': { |
| 740 | 'proto_in_dir': 'common/safe_browsing', |
| 741 | 'proto_out_dir': 'chrome/common/safe_browsing', |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 742 | }, |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 743 | 'includes': [ '../build/protoc.gypi' ], |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 744 | }, |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 745 | { |
| 746 | # Protobuf compiler / generator for UMA (User Metrics Analysis). |
| 747 | 'target_name': 'metrics_proto', |
| 748 | 'type': 'static_library', |
| 749 | 'sources': [ |
[email protected] | f89fdab1 | 2012-05-04 23:27:21 | [diff] [blame] | 750 | 'common/metrics/proto/chrome_experiments.proto', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 751 | 'common/metrics/proto/chrome_user_metrics_extension.proto', |
| 752 | 'common/metrics/proto/histogram_event.proto', |
| 753 | 'common/metrics/proto/omnibox_event.proto', |
[email protected] | f65859e | 2013-02-04 20:00:25 | [diff] [blame] | 754 | 'common/metrics/proto/perf_data.proto', |
[email protected] | 9d7c4a8 | 2013-05-07 12:10:49 | [diff] [blame] | 755 | 'common/metrics/proto/permuted_entropy_cache.proto', |
[email protected] | 2a08b1d | 2012-02-18 00:30:04 | [diff] [blame] | 756 | 'common/metrics/proto/profiler_event.proto', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 757 | 'common/metrics/proto/system_profile.proto', |
| 758 | 'common/metrics/proto/user_action_event.proto', |
| 759 | ], |
| 760 | 'variables': { |
| 761 | 'proto_in_dir': 'common/metrics/proto', |
| 762 | 'proto_out_dir': 'chrome/common/metrics/proto', |
| 763 | }, |
| 764 | 'includes': [ '../build/protoc.gypi' ], |
| 765 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 766 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 767 | } |