[email protected] | 3a80ea33 | 2012-01-09 19:53:29 | [diff] [blame] | 1 | # Copyright (c) 2012 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] | 1cd90f7 | 2011-11-21 18:02:44 | [diff] [blame] | 12 | # TODO(thakis): Turn this on. Blocked on g_log_function_mapping in |
| 13 | # ipc_message_macros.h. http://crbug.com/101600 |
| 14 | #'enable_wexit_time_destructors': 1, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 15 | }, |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 16 | 'include_dirs': [ |
| 17 | '..', |
[email protected] | b50368b | 2012-02-18 00:02:13 | [diff] [blame] | 18 | '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 19 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 20 | 'direct_dependent_settings': { |
| 21 | 'include_dirs': [ |
| 22 | '..', |
| 23 | ], |
| 24 | }, |
| 25 | 'dependencies': [ |
| 26 | # TODO(gregoryd): chrome_resources and chrome_strings could be |
| 27 | # shared with the 64-bit target, but it does not work due to a gyp |
| 28 | # issue. |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 29 | 'common_constants', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 30 | 'common_net', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 31 | 'common_version', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 32 | 'metrics_proto', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 33 | '<(DEPTH)/base/base.gyp:base', |
| 34 | '<(DEPTH)/base/base.gyp:base_i18n', |
| 35 | '<(DEPTH)/base/base.gyp:base_static', |
| 36 | '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 37 | '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
| 38 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 39 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 40 | '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', |
[email protected] | ae33d32 | 2012-03-19 22:24:35 | [diff] [blame] | 41 | '<(DEPTH)/chrome/common/extensions/api/api.gyp:api', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 42 | '<(DEPTH)/content/content.gyp:content_common', |
| 43 | '<(DEPTH)/ipc/ipc.gyp:ipc', |
| 44 | '<(DEPTH)/net/net.gyp:net', |
| 45 | '<(DEPTH)/printing/printing.gyp:printing', |
| 46 | '<(DEPTH)/skia/skia.gyp:skia', |
[email protected] | b50368b | 2012-02-18 00:02:13 | [diff] [blame] | 47 | '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 48 | '<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2', |
| 49 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 50 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 51 | '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
| 52 | '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
| 53 | '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
| 54 | '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 55 | '<(DEPTH)/ui/ui.gyp:ui_resources_standard', |
| 56 | '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 57 | ], |
| 58 | 'sources': [ |
[email protected] | 4a6d7415 | 2011-09-26 20:42:30 | [diff] [blame] | 59 | 'common/all_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 60 | 'common/attrition_experiments.h', |
| 61 | 'common/auto_start_linux.cc', |
| 62 | 'common/auto_start_linux.h', |
| 63 | 'common/autofill_messages.h', |
[email protected] | cdb8bc28 | 2010-11-22 19:23:06 | [diff] [blame] | 64 | 'common/automation_constants.cc', |
| 65 | 'common/automation_constants.h', |
[email protected] | c54ab233 | 2011-12-05 21:05:42 | [diff] [blame] | 66 | 'common/automation_id.cc', |
| 67 | 'common/automation_id.h', |
[email protected] | cdb8bc28 | 2010-11-22 19:23:06 | [diff] [blame] | 68 | 'common/automation_messages.cc', |
| 69 | 'common/automation_messages.h', |
| 70 | 'common/automation_messages_internal.h', |
| 71 | 'common/badge_util.cc', |
| 72 | 'common/badge_util.h', |
[email protected] | 23bb71f | 2011-04-21 22:22:10 | [diff] [blame] | 73 | 'common/bzip2_error_handler.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 74 | 'common/child_process_logging.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 75 | 'common/child_process_logging_mac.mm', |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 76 | 'common/child_process_logging_posix.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 77 | 'common/child_process_logging_win.cc', |
[email protected] | 50e52cd | 2011-03-10 00:57:29 | [diff] [blame] | 78 | 'common/chrome_content_client.cc', |
| 79 | 'common/chrome_content_client.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 80 | 'common/chrome_notification_types.h', |
[email protected] | c530c85 | 2011-10-24 18:18:34 | [diff] [blame] | 81 | 'common/chrome_result_codes.h', |
[email protected] | dbd82584 | 2011-11-25 20:55:24 | [diff] [blame] | 82 | 'common/chrome_sandbox_type_mac.h', |
[email protected] | 19a5c744 | 2011-10-21 20:00:41 | [diff] [blame] | 83 | 'common/chrome_utility_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 84 | 'common/chrome_version_info.cc', |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 85 | 'common/chrome_version_info_chromeos.cc', |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 86 | 'common/chrome_version_info_posix.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 87 | 'common/chrome_version_info_mac.mm', |
| 88 | 'common/chrome_version_info_win.cc', |
| 89 | 'common/chrome_version_info.h', |
[email protected] | 13aec6c4 | 2011-10-27 21:22:08 | [diff] [blame] | 90 | 'common/cloud_print/cloud_print_class_mac.h', |
| 91 | 'common/cloud_print/cloud_print_class_mac.mm', |
[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] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 100 | 'common/content_settings.cc', |
| 101 | 'common/content_settings.h', |
| 102 | 'common/content_settings_helper.cc', |
| 103 | 'common/content_settings_helper.h', |
[email protected] | 1d03fa3 | 2011-09-21 08:19:27 | [diff] [blame] | 104 | 'common/content_settings_pattern.cc', |
| 105 | 'common/content_settings_pattern.h', |
| 106 | 'common/content_settings_pattern_parser.cc', |
| 107 | 'common/content_settings_pattern_parser.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 108 | 'common/content_settings_types.h', |
[email protected] | 083917c8 | 2011-07-13 00:34:35 | [diff] [blame] | 109 | 'common/custom_handlers/protocol_handler.cc', |
| 110 | 'common/custom_handlers/protocol_handler.h', |
[email protected] | ee0be77 | 2011-12-02 08:02:10 | [diff] [blame] | 111 | 'common/extensions/csp_validator.cc', |
| 112 | 'common/extensions/csp_validator.h', |
[email protected] | 4df8ef1 | 2012-05-18 05:29:39 | [diff] [blame^] | 113 | 'common/extensions/event_filter.cc', |
| 114 | 'common/extensions/event_filter.h', |
| 115 | 'common/extensions/event_filtering_info.cc', |
| 116 | 'common/extensions/event_filtering_info.h', |
| 117 | 'common/extensions/event_matcher.cc', |
| 118 | 'common/extensions/event_matcher.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 119 | 'common/extensions/extension.cc', |
| 120 | 'common/extensions/extension.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 121 | 'common/extensions/extension_action.cc', |
| 122 | 'common/extensions/extension_action.h', |
[email protected] | 3fc5f6a | 2012-05-04 14:23:59 | [diff] [blame] | 123 | 'common/extensions/extension_commands.cc', |
| 124 | 'common/extensions/extension_commands.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 125 | 'common/extensions/extension_constants.cc', |
| 126 | 'common/extensions/extension_constants.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 127 | 'common/extensions/extension_error_utils.cc', |
| 128 | 'common/extensions/extension_error_utils.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 129 | 'common/extensions/extension_file_util.cc', |
| 130 | 'common/extensions/extension_file_util.h', |
[email protected] | 807871f | 2010-09-16 01:04:48 | [diff] [blame] | 131 | 'common/extensions/extension_icon_set.cc', |
| 132 | 'common/extensions/extension_icon_set.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 133 | 'common/extensions/extension_l10n_util.cc', |
| 134 | 'common/extensions/extension_l10n_util.h', |
[email protected] | 8a58f9a | 2010-05-18 18:38:09 | [diff] [blame] | 135 | 'common/extensions/extension_localization_peer.cc', |
| 136 | 'common/extensions/extension_localization_peer.h', |
[email protected] | a52c0e9 | 2012-03-23 06:02:24 | [diff] [blame] | 137 | 'common/extensions/extension_manifest_constants.cc', |
| 138 | 'common/extensions/extension_manifest_constants.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 139 | 'common/extensions/extension_message_bundle.cc', |
| 140 | 'common/extensions/extension_message_bundle.h', |
[email protected] | 44c49c9 | 2011-03-28 16:17:23 | [diff] [blame] | 141 | 'common/extensions/extension_messages.cc', |
| 142 | 'common/extensions/extension_messages.h', |
[email protected] | 0d3e4a2 | 2011-06-23 19:02:52 | [diff] [blame] | 143 | 'common/extensions/extension_permission_set.cc', |
| 144 | 'common/extensions/extension_permission_set.h', |
[email protected] | 808d151 | 2011-12-14 16:29:59 | [diff] [blame] | 145 | 'common/extensions/extension_process_policy.cc', |
| 146 | 'common/extensions/extension_process_policy.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 147 | 'common/extensions/extension_resource.cc', |
| 148 | 'common/extensions/extension_resource.h', |
[email protected] | ec7db28 | 2011-01-29 01:11:36 | [diff] [blame] | 149 | 'common/extensions/extension_set.cc', |
| 150 | 'common/extensions/extension_set.h', |
[email protected] | adcf0f0 | 2012-05-02 20:24:50 | [diff] [blame] | 151 | 'common/extensions/extension_switch_utils.cc', |
| 152 | 'common/extensions/extension_switch_utils.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 153 | 'common/extensions/extension_unpacker.cc', |
| 154 | 'common/extensions/extension_unpacker.h', |
[email protected] | 9cd8a1a | 2012-02-15 02:52:47 | [diff] [blame] | 155 | 'common/extensions/feature.cc', |
| 156 | 'common/extensions/feature.h', |
[email protected] | 5bc248a | 2012-04-04 23:38:11 | [diff] [blame] | 157 | 'common/extensions/feature_provider.h', |
[email protected] | b6b805e9 | 2011-04-16 09:24:14 | [diff] [blame] | 158 | 'common/extensions/file_browser_handler.cc', |
[email protected] | 3381f17 | 2011-05-25 00:20:42 | [diff] [blame] | 159 | 'common/extensions/file_browser_handler.h', |
[email protected] | 953620b | 2011-12-04 00:55:32 | [diff] [blame] | 160 | 'common/extensions/manifest.cc', |
| 161 | 'common/extensions/manifest.h', |
[email protected] | 5bc248a | 2012-04-04 23:38:11 | [diff] [blame] | 162 | 'common/extensions/manifest_feature.cc', |
| 163 | 'common/extensions/manifest_feature.h', |
[email protected] | 63f1a9e | 2012-05-09 12:51:00 | [diff] [blame] | 164 | 'common/extensions/matcher/substring_set_matcher.cc', |
| 165 | 'common/extensions/matcher/substring_set_matcher.h', |
| 166 | 'common/extensions/matcher/url_matcher.cc', |
| 167 | 'common/extensions/matcher/url_matcher.h', |
| 168 | 'common/extensions/matcher/url_matcher_constants.cc', |
| 169 | 'common/extensions/matcher/url_matcher_constants.h', |
| 170 | 'common/extensions/matcher/url_matcher_factory.cc', |
| 171 | 'common/extensions/matcher/url_matcher_factory.h', |
| 172 | 'common/extensions/matcher/url_matcher_helpers.cc', |
| 173 | 'common/extensions/matcher/url_matcher_helpers.h', |
[email protected] | 5bc248a | 2012-04-04 23:38:11 | [diff] [blame] | 174 | 'common/extensions/permission_feature.cc', |
| 175 | 'common/extensions/permission_feature.h', |
[email protected] | ae655e4e | 2012-03-16 21:47:55 | [diff] [blame] | 176 | 'common/extensions/simple_feature_provider.cc', |
| 177 | 'common/extensions/simple_feature_provider.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 178 | 'common/extensions/update_manifest.cc', |
| 179 | 'common/extensions/update_manifest.h', |
| 180 | 'common/extensions/url_pattern.cc', |
| 181 | 'common/extensions/url_pattern.h', |
[email protected] | cced75a | 2011-05-20 08:31:12 | [diff] [blame] | 182 | 'common/extensions/url_pattern_set.cc', |
| 183 | 'common/extensions/url_pattern_set.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 184 | 'common/extensions/user_script.cc', |
| 185 | 'common/extensions/user_script.h', |
[email protected] | 83820d4 | 2011-11-12 22:03:11 | [diff] [blame] | 186 | 'common/extensions/api/extension_api.cc', |
| 187 | 'common/extensions/api/extension_api.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 188 | 'common/external_ipc_fuzzer.h', |
| 189 | 'common/external_ipc_fuzzer.cc', |
[email protected] | ae4efe4 | 2011-04-18 21:28:05 | [diff] [blame] | 190 | 'common/favicon_url.cc', |
| 191 | 'common/favicon_url.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 192 | 'common/guid.cc', |
| 193 | 'common/guid.h', |
| 194 | 'common/guid_posix.cc', |
| 195 | 'common/guid_win.cc', |
| 196 | 'common/icon_messages.h', |
[email protected] | 6658ca8 | 2010-05-20 18:20:29 | [diff] [blame] | 197 | 'common/important_file_writer.cc', |
| 198 | 'common/important_file_writer.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 199 | 'common/instant_types.h', |
[email protected] | ea587b0 | 2010-05-21 15:01:35 | [diff] [blame] | 200 | 'common/json_pref_store.cc', |
| 201 | 'common/json_pref_store.h', |
[email protected] | 639e671 | 2010-11-11 22:21:43 | [diff] [blame] | 202 | 'common/json_schema_validator.cc', |
| 203 | 'common/json_schema_validator.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 204 | 'common/jstemplate_builder.cc', |
| 205 | 'common/jstemplate_builder.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 206 | 'common/logging_chrome.cc', |
| 207 | 'common/logging_chrome.h', |
[email protected] | 4682124 | 2011-08-19 13:59:59 | [diff] [blame] | 208 | 'common/mac/app_mode_common.h', |
| 209 | 'common/mac/app_mode_common.mm', |
[email protected] | 00ecec5 | 2011-08-19 20:01:24 | [diff] [blame] | 210 | 'common/mac/cfbundle_blocker.h', |
| 211 | 'common/mac/cfbundle_blocker.mm', |
[email protected] | 4682124 | 2011-08-19 13:59:59 | [diff] [blame] | 212 | 'common/mac/launchd.h', |
| 213 | 'common/mac/launchd.mm', |
[email protected] | d02437b | 2011-09-06 17:25:15 | [diff] [blame] | 214 | 'common/mac/objc_method_swizzle.h', |
| 215 | 'common/mac/objc_method_swizzle.mm', |
| 216 | 'common/mac/objc_zombie.h', |
| 217 | 'common/mac/objc_zombie.mm', |
[email protected] | 4cb3c1fc | 2012-04-05 07:23:48 | [diff] [blame] | 218 | 'common/metrics/experiments_helper.cc', |
| 219 | 'common/metrics/experiments_helper.h', |
[email protected] | e182be0 | 2012-01-27 02:35:44 | [diff] [blame] | 220 | 'common/metrics/histogram_sender.cc', |
| 221 | 'common/metrics/histogram_sender.h', |
| 222 | 'common/metrics/metrics_log_base.cc', |
| 223 | 'common/metrics/metrics_log_base.h', |
[email protected] | 2e4cd1a | 2012-01-12 08:51:03 | [diff] [blame] | 224 | 'common/metrics/metrics_log_manager.cc', |
| 225 | 'common/metrics/metrics_log_manager.h', |
[email protected] | e182be0 | 2012-01-27 02:35:44 | [diff] [blame] | 226 | 'common/metrics/metrics_service_base.cc', |
| 227 | 'common/metrics/metrics_service_base.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 228 | 'common/multi_process_lock.h', |
| 229 | 'common/multi_process_lock_linux.cc', |
| 230 | 'common/multi_process_lock_mac.cc', |
| 231 | 'common/multi_process_lock_win.cc', |
| 232 | 'common/nacl_cmd_line.cc', |
| 233 | 'common/nacl_cmd_line.h', |
| 234 | 'common/nacl_messages.cc', |
| 235 | 'common/nacl_messages.h', |
[email protected] | 00d9954 | 2012-04-17 22:48:02 | [diff] [blame] | 236 | 'common/nacl_types.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 237 | 'common/nacl_types.h', |
[email protected] | 9b4f608 | 2012-04-24 01:43:07 | [diff] [blame] | 238 | 'common/pepper_flash.cc', |
| 239 | 'common/pepper_flash.h', |
[email protected] | f2d1f61 | 2010-12-09 15:10:17 | [diff] [blame] | 240 | 'common/persistent_pref_store.h', |
[email protected] | 0f1afed | 2010-12-15 17:22:28 | [diff] [blame] | 241 | 'common/pref_store.cc', |
[email protected] | ce1850e9 | 2010-10-15 08:40:58 | [diff] [blame] | 242 | 'common/pref_store.h', |
[email protected] | b4bd67a | 2011-08-22 19:04:09 | [diff] [blame] | 243 | 'common/print_messages.cc', |
[email protected] | 1375e3ab | 2011-03-24 17:07:22 | [diff] [blame] | 244 | 'common/print_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 245 | 'common/profiling.cc', |
| 246 | 'common/profiling.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 247 | 'common/ref_counted_util.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 248 | 'common/render_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 249 | 'common/render_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 250 | 'common/safe_browsing/safebrowsing_messages.h', |
[email protected] | c08e793 | 2011-03-29 04:08:14 | [diff] [blame] | 251 | 'common/search_provider.h', |
[email protected] | 38fe196 | 2010-07-31 07:57:00 | [diff] [blame] | 252 | 'common/service_messages.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 253 | 'common/service_process_util.cc', |
| 254 | 'common/service_process_util.h', |
[email protected] | 56f0f26 | 2011-02-24 17:14:36 | [diff] [blame] | 255 | 'common/service_process_util_linux.cc', |
| 256 | 'common/service_process_util_mac.mm', |
[email protected] | 14635494 | 2010-10-13 20:27:04 | [diff] [blame] | 257 | 'common/service_process_util_posix.cc', |
[email protected] | 56f0f26 | 2011-02-24 17:14:36 | [diff] [blame] | 258 | 'common/service_process_util_posix.h', |
[email protected] | 14635494 | 2010-10-13 20:27:04 | [diff] [blame] | 259 | 'common/service_process_util_win.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 260 | 'common/spellcheck_common.cc', |
| 261 | 'common/spellcheck_common.h', |
[email protected] | 3e26719 | 2011-03-25 01:55:45 | [diff] [blame] | 262 | 'common/spellcheck_messages.h', |
[email protected] | 7ed49c2 | 2012-02-17 02:14:53 | [diff] [blame] | 263 | 'common/spellcheck_result.h', |
[email protected] | e917a28 | 2011-10-27 14:35:38 | [diff] [blame] | 264 | 'common/string_ordinal.cc', |
| 265 | 'common/string_ordinal.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 266 | 'common/switch_utils.cc', |
| 267 | 'common/switch_utils.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 268 | 'common/thumbnail_score.cc', |
| 269 | 'common/thumbnail_score.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 270 | 'common/time_format.cc', |
| 271 | 'common/time_format.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 272 | 'common/url_constants.cc', |
| 273 | 'common/url_constants.h', |
[email protected] | 14afc01 | 2011-12-01 01:04:39 | [diff] [blame] | 274 | 'common/chrome_view_type.cc', |
| 275 | 'common/chrome_view_type.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 276 | 'common/visitedlink_common.cc', |
| 277 | 'common/visitedlink_common.h', |
[email protected] | 38789d8 | 2010-11-17 06:03:44 | [diff] [blame] | 278 | 'common/web_apps.cc', |
| 279 | 'common/web_apps.h', |
[email protected] | cdb8bc28 | 2010-11-22 19:23:06 | [diff] [blame] | 280 | 'common/web_resource/web_resource_unpacker.cc', |
| 281 | 'common/web_resource/web_resource_unpacker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 282 | 'common/worker_thread_ticker.cc', |
| 283 | 'common/worker_thread_ticker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 284 | 'common/zip.cc', # Requires zlib directly. |
| 285 | 'common/zip.h', |
[email protected] | 79b2024f | 2011-11-09 19:32:12 | [diff] [blame] | 286 | 'common/zip_internal.cc', |
| 287 | 'common/zip_internal.h', |
[email protected] | 198e7782 | 2011-11-11 18:50:03 | [diff] [blame] | 288 | 'common/zip_reader.cc', |
| 289 | 'common/zip_reader.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 290 | ], |
| 291 | 'conditions': [ |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 292 | ['OS=="android"', { |
| 293 | 'sources/': [ |
| 294 | ['exclude', '^common/service_'], |
| 295 | ], |
| 296 | }], |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 297 | ['OS=="win"', { |
| 298 | 'include_dirs': [ |
| 299 | '<(DEPTH)/third_party/wtl/include', |
[email protected] | ef777a4 | 2011-11-25 13:15:43 | [diff] [blame] | 300 | ] |
| 301 | }], |
[email protected] | cb5e507 | 2011-05-19 21:49:41 | [diff] [blame] | 302 | ['toolkit_uses_gtk == 1', { |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 303 | 'dependencies': [ |
| 304 | '../build/linux/system.gyp:gtk', |
| 305 | ], |
| 306 | 'export_dependent_settings': [ |
| 307 | '../third_party/sqlite/sqlite.gyp:sqlite', |
| 308 | ], |
| 309 | 'link_settings': { |
| 310 | 'libraries': [ |
| 311 | '-lX11', |
| 312 | '-lXrender', |
[email protected] | 8b46c13b | 2010-01-26 19:50:54 | [diff] [blame] | 313 | '-lXss', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 314 | '-lXext', |
| 315 | ], |
| 316 | }, |
[email protected] | 0ce3485 | 2011-09-23 20:00:51 | [diff] [blame] | 317 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 318 | ['OS=="linux" and selinux==1', { |
| 319 | 'dependencies': [ |
| 320 | '../build/linux/system.gyp:selinux', |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 321 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 322 | }], |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 323 | ['chromeos==0', { |
| 324 | 'sources!': [ |
| 325 | 'common/chrome_version_info_chromeos.cc', |
| 326 | ], |
[email protected] | 129d1145 | 2012-03-01 01:56:56 | [diff] [blame] | 327 | }, { # chromeos==1 |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 328 | 'sources!': [ |
| 329 | 'common/chrome_version_info_linux.cc', |
| 330 | ], |
| 331 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 332 | ['OS=="mac"', { |
| 333 | 'dependencies': [ |
| 334 | '../third_party/mach_override/mach_override.gyp:mach_override', |
| 335 | ], |
| 336 | 'include_dirs': [ |
| 337 | '../third_party/GTM', |
| 338 | ], |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 339 | 'sources!': [ |
| 340 | 'common/child_process_logging_posix.cc', |
| 341 | 'common/chrome_version_info_posix.cc', |
| 342 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 343 | }], |
| 344 | ['remoting==1', { |
| 345 | 'dependencies': [ |
| 346 | '../remoting/remoting.gyp:remoting_client_plugin', |
| 347 | ], |
| 348 | }], |
| 349 | ], |
| 350 | 'export_dependent_settings': [ |
| 351 | '../base/base.gyp:base', |
[email protected] | 8a59a08 | 2012-03-07 02:27:30 | [diff] [blame] | 352 | 'metrics_proto', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 353 | ], |
| 354 | }, |
| 355 | { |
| 356 | 'target_name': 'common_version', |
| 357 | 'type': 'none', |
| 358 | 'conditions': [ |
| 359 | ['os_posix == 1 and OS != "mac"', { |
| 360 | 'direct_dependent_settings': { |
| 361 | 'include_dirs': [ |
| 362 | '<(SHARED_INTERMEDIATE_DIR)', |
| 363 | ], |
| 364 | }, |
[email protected] | 79440c5 | 2010-08-27 22:53:02 | [diff] [blame] | 365 | # Because posix_version generates a header, we must set the |
| 366 | # hard_dependency flag. |
| 367 | 'hard_dependency': 1, |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 368 | 'actions': [ |
| 369 | { |
| 370 | 'action_name': 'posix_version', |
| 371 | 'variables': { |
| 372 | 'lastchange_path': |
[email protected] | 9046a11 | 2012-01-31 20:45:25 | [diff] [blame] | 373 | '<(DEPTH)/build/util/LASTCHANGE', |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 374 | 'version_py_path': 'tools/build/version.py', |
| 375 | 'version_path': 'VERSION', |
| 376 | 'template_input_path': 'common/chrome_version_info_posix.h.version', |
| 377 | }, |
| 378 | 'conditions': [ |
| 379 | [ 'branding == "Chrome"', { |
| 380 | 'variables': { |
| 381 | 'branding_path': |
| 382 | 'app/theme/google_chrome/BRANDING', |
| 383 | }, |
| 384 | }, { # else branding!="Chrome" |
| 385 | 'variables': { |
| 386 | 'branding_path': |
| 387 | 'app/theme/chromium/BRANDING', |
| 388 | }, |
| 389 | }], |
| 390 | ], |
| 391 | 'inputs': [ |
| 392 | '<(template_input_path)', |
| 393 | '<(version_path)', |
| 394 | '<(branding_path)', |
| 395 | '<(lastchange_path)', |
| 396 | ], |
| 397 | 'outputs': [ |
| 398 | '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h', |
| 399 | ], |
| 400 | 'action': [ |
| 401 | 'python', |
| 402 | '<(version_py_path)', |
| 403 | '-f', '<(version_path)', |
| 404 | '-f', '<(branding_path)', |
| 405 | '-f', '<(lastchange_path)', |
| 406 | '<(template_input_path)', |
| 407 | '<@(_outputs)', |
| 408 | ], |
| 409 | 'message': 'Generating version information', |
| 410 | }, |
| 411 | ], |
| 412 | }], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 413 | ], |
| 414 | }, |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 415 | { |
| 416 | 'target_name': 'common_net', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 417 | 'type': 'static_library', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 418 | 'sources': [ |
[email protected] | d2f05d0 | 2011-01-27 18:51:01 | [diff] [blame] | 419 | 'common/net/gaia/gaia_auth_consumer.cc', |
[email protected] | a0e7704 | 2010-07-01 22:28:23 | [diff] [blame] | 420 | 'common/net/gaia/gaia_auth_consumer.h', |
[email protected] | 1d8fe71 | 2010-11-10 22:47:26 | [diff] [blame] | 421 | 'common/net/gaia/gaia_auth_fetcher.cc', |
| 422 | 'common/net/gaia/gaia_auth_fetcher.h', |
[email protected] | f3d0174 | 2010-05-07 02:53:55 | [diff] [blame] | 423 | 'common/net/gaia/gaia_authenticator.cc', |
| 424 | 'common/net/gaia/gaia_authenticator.h', |
[email protected] | 8fbfe66 | 2011-03-22 00:02:19 | [diff] [blame] | 425 | 'common/net/gaia/gaia_oauth_client.cc', |
| 426 | 'common/net/gaia/gaia_oauth_client.h', |
[email protected] | 63411a01 | 2011-06-15 19:14:24 | [diff] [blame] | 427 | 'common/net/gaia/gaia_urls.cc', |
| 428 | 'common/net/gaia/gaia_urls.h', |
[email protected] | 2b85b67a | 2011-02-10 23:41:40 | [diff] [blame] | 429 | 'common/net/gaia/google_service_auth_error.cc', |
[email protected] | 99074c5 | 2010-08-19 18:44:19 | [diff] [blame] | 430 | 'common/net/gaia/google_service_auth_error.h', |
[email protected] | 69c14c30 | 2011-06-19 23:40:35 | [diff] [blame] | 431 | 'common/net/gaia/oauth_request_signer.cc', |
| 432 | 'common/net/gaia/oauth_request_signer.h', |
[email protected] | dda6d0d | 2011-11-24 02:49:46 | [diff] [blame] | 433 | 'common/net/gaia/oauth2_access_token_consumer.h', |
| 434 | 'common/net/gaia/oauth2_access_token_fetcher.cc', |
| 435 | 'common/net/gaia/oauth2_access_token_fetcher.h', |
[email protected] | 944867f | 2012-03-30 22:20:55 | [diff] [blame] | 436 | 'common/net/gaia/oauth2_api_call_flow.cc', |
| 437 | 'common/net/gaia/oauth2_api_call_flow.h', |
[email protected] | 271398a | 2012-03-01 21:26:18 | [diff] [blame] | 438 | 'common/net/gaia/oauth2_mint_token_consumer.h', |
| 439 | 'common/net/gaia/oauth2_mint_token_fetcher.cc', |
| 440 | 'common/net/gaia/oauth2_mint_token_fetcher.h', |
[email protected] | f6c4259 | 2012-03-03 08:38:20 | [diff] [blame] | 441 | 'common/net/gaia/oauth2_mint_token_flow.cc', |
| 442 | 'common/net/gaia/oauth2_mint_token_flow.h', |
[email protected] | 992f31d | 2011-12-06 06:40:40 | [diff] [blame] | 443 | 'common/net/gaia/oauth2_revocation_consumer.h', |
| 444 | 'common/net/gaia/oauth2_revocation_fetcher.cc', |
| 445 | 'common/net/gaia/oauth2_revocation_fetcher.h', |
[email protected] | 0630596 | 2012-05-09 22:34:36 | [diff] [blame] | 446 | 'common/net/net_resource_provider.cc', |
| 447 | 'common/net/net_resource_provider.h', |
| 448 | 'common/net/predictor_common.h', |
| 449 | 'common/net/url_util.cc', |
| 450 | 'common/net/url_util.h', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 451 | 'common/net/x509_certificate_model.cc', |
| 452 | 'common/net/x509_certificate_model_nss.cc', |
| 453 | 'common/net/x509_certificate_model_openssl.cc', |
| 454 | 'common/net/x509_certificate_model.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 455 | ], |
| 456 | 'dependencies': [ |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 457 | '<(DEPTH)/base/base.gyp:base', |
| 458 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 459 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 460 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
| 461 | '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 462 | '<(DEPTH)/net/net.gyp:net_resources', |
| 463 | '<(DEPTH)/net/net.gyp:net', |
| 464 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 465 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 466 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 467 | 'conditions': [ |
[email protected] | 607eee0 | 2012-01-27 07:20:53 | [diff] [blame] | 468 | ['os_posix == 1 and OS != "mac" and OS != "android"', { |
[email protected] | 638e9df4 | 2011-05-31 17:19:30 | [diff] [blame] | 469 | 'dependencies': [ |
| 470 | '../build/linux/system.gyp:ssl', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 471 | ], |
| 472 | }, |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 473 | ], |
| 474 | ['os_posix != 1 or OS == "mac"', { |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 475 | 'sources!': [ |
| 476 | 'common/net/x509_certificate_model_nss.cc', |
| 477 | 'common/net/x509_certificate_model_openssl.cc', |
| 478 | ], |
| 479 | }, |
| 480 | ], |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 481 | ['OS == "android"', { |
| 482 | 'dependencies': [ |
[email protected] | 8e853b14 | 2012-05-16 07:40:01 | [diff] [blame] | 483 | '../third_party/openssl/openssl.gyp:openssl', |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 484 | ], |
| 485 | }, |
| 486 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 487 | ['use_openssl==1', { |
| 488 | 'sources!': [ |
| 489 | 'common/net/x509_certificate_model_nss.cc', |
| 490 | ], |
| 491 | }, |
| 492 | { # else !use_openssl: remove the unneeded files |
| 493 | 'sources!': [ |
| 494 | 'common/net/x509_certificate_model_openssl.cc', |
| 495 | ], |
| 496 | }, |
| 497 | ], |
[email protected] | 129d1145 | 2012-03-01 01:56:56 | [diff] [blame] | 498 | ], |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 499 | }, |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 500 | { |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 501 | # Protobuf compiler / generator for the safebrowsing client |
| 502 | # model proto and the client-side detection (csd) request |
| 503 | # protocol buffer. |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 504 | 'target_name': 'safe_browsing_proto', |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 505 | 'type': 'static_library', |
| 506 | 'sources': [ |
| 507 | 'common/safe_browsing/client_model.proto', |
| 508 | 'common/safe_browsing/csd.proto' |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 509 | ], |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 510 | 'variables': { |
| 511 | 'proto_in_dir': 'common/safe_browsing', |
| 512 | 'proto_out_dir': 'chrome/common/safe_browsing', |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 513 | }, |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 514 | 'includes': [ '../build/protoc.gypi' ], |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 515 | }, |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 516 | { |
| 517 | # Protobuf compiler / generator for UMA (User Metrics Analysis). |
| 518 | 'target_name': 'metrics_proto', |
| 519 | 'type': 'static_library', |
| 520 | 'sources': [ |
[email protected] | f89fdab1 | 2012-05-04 23:27:21 | [diff] [blame] | 521 | 'common/metrics/proto/chrome_experiments.proto', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 522 | 'common/metrics/proto/chrome_user_metrics_extension.proto', |
| 523 | 'common/metrics/proto/histogram_event.proto', |
| 524 | 'common/metrics/proto/omnibox_event.proto', |
[email protected] | 2a08b1d | 2012-02-18 00:30:04 | [diff] [blame] | 525 | 'common/metrics/proto/profiler_event.proto', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 526 | 'common/metrics/proto/system_profile.proto', |
| 527 | 'common/metrics/proto/user_action_event.proto', |
| 528 | ], |
| 529 | 'variables': { |
| 530 | 'proto_in_dir': 'common/metrics/proto', |
| 531 | 'proto_out_dir': 'chrome/common/metrics/proto', |
| 532 | }, |
| 533 | 'includes': [ '../build/protoc.gypi' ], |
| 534 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 535 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 536 | } |