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