[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] | 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] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 29 | 'metrics_proto', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 30 | '<(DEPTH)/base/base.gyp:base', |
| 31 | '<(DEPTH)/base/base.gyp:base_i18n', |
[email protected] | f59f33e | 2012-11-01 12:05:27 | [diff] [blame] | 32 | '<(DEPTH)/base/base.gyp:base_prefs', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 33 | '<(DEPTH)/base/base.gyp:base_static', |
| 34 | '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
[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] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 39 | '<(DEPTH)/content/content.gyp:content_common', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 40 | '<(DEPTH)/net/net.gyp:net', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 41 | '<(DEPTH)/skia/skia.gyp:skia', |
| 42 | '<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2', |
| 43 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 44 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 45 | '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
[email protected] | 20f999b5 | 2012-08-24 22:32:59 | [diff] [blame] | 46 | '<(DEPTH)/third_party/mt19937ar/mt19937ar.gyp:mt19937ar', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 47 | '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
[email protected] | 262220e | 2012-10-18 18:55:07 | [diff] [blame] | 48 | '<(DEPTH)/third_party/zlib/zlib.gyp:minizip', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 49 | '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
| 50 | '<(DEPTH)/ui/ui.gyp:ui_resources', |
[email protected] | f87d7cb | 2012-09-10 10:01:07 | [diff] [blame] | 51 | '<(DEPTH)/webkit/support/webkit_support.gyp:user_agent', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 52 | ], |
| 53 | 'sources': [ |
[email protected] | 885c0e9 | 2012-11-13 20:27:42 | [diff] [blame] | 54 | '../extensions/common/constants.cc', |
| 55 | '../extensions/common/constants.h', |
[email protected] | e9f541a | 2012-11-19 21:52:31 | [diff] [blame] | 56 | '../extensions/common/error_utils.cc', |
| 57 | '../extensions/common/error_utils.h', |
[email protected] | 885c0e9 | 2012-11-13 20:27:42 | [diff] [blame] | 58 | '../extensions/common/url_pattern.cc', |
| 59 | '../extensions/common/url_pattern.h', |
[email protected] | e9f541a | 2012-11-19 21:52:31 | [diff] [blame] | 60 | '../extensions/common/url_pattern_set.cc', |
| 61 | '../extensions/common/url_pattern_set.h', |
[email protected] | 4a6d7415 | 2011-09-26 20:42:30 | [diff] [blame] | 62 | 'common/all_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 63 | 'common/attrition_experiments.h', |
| 64 | 'common/auto_start_linux.cc', |
| 65 | 'common/auto_start_linux.h', |
[email protected] | 72a3a52 | 2013-01-03 23:41:07 | [diff] [blame] | 66 | 'common/autofill/web_element_descriptor.cc', |
| 67 | 'common/autofill/web_element_descriptor.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 68 | 'common/autofill_messages.h', |
[email protected] | cdb8bc28 | 2010-11-22 19:23:06 | [diff] [blame] | 69 | 'common/automation_constants.cc', |
| 70 | 'common/automation_constants.h', |
[email protected] | 165901feb | 2012-05-23 15:38:22 | [diff] [blame] | 71 | 'common/automation_events.cc', |
| 72 | 'common/automation_events.h', |
[email protected] | c54ab233 | 2011-12-05 21:05:42 | [diff] [blame] | 73 | 'common/automation_id.cc', |
| 74 | 'common/automation_id.h', |
[email protected] | cdb8bc28 | 2010-11-22 19:23:06 | [diff] [blame] | 75 | 'common/automation_messages.cc', |
| 76 | 'common/automation_messages.h', |
| 77 | 'common/automation_messages_internal.h', |
| 78 | 'common/badge_util.cc', |
| 79 | 'common/badge_util.h', |
[email protected] | 23bb71f | 2011-04-21 22:22:10 | [diff] [blame] | 80 | 'common/bzip2_error_handler.cc', |
[email protected] | 62867b0 | 2012-11-03 07:21:03 | [diff] [blame] | 81 | 'common/cancelable_task_tracker.cc', |
| 82 | 'common/cancelable_task_tracker.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 83 | 'common/child_process_logging.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 84 | 'common/child_process_logging_mac.mm', |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 85 | 'common/child_process_logging_posix.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 86 | 'common/child_process_logging_win.cc', |
[email protected] | 50e52cd | 2011-03-10 00:57:29 | [diff] [blame] | 87 | 'common/chrome_content_client.cc', |
| 88 | 'common/chrome_content_client.h', |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 89 | 'common/chrome_content_client_ios.mm', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 90 | 'common/chrome_notification_types.h', |
[email protected] | c530c85 | 2011-10-24 18:18:34 | [diff] [blame] | 91 | 'common/chrome_result_codes.h', |
[email protected] | dbd82584 | 2011-11-25 20:55:24 | [diff] [blame] | 92 | 'common/chrome_sandbox_type_mac.h', |
[email protected] | 19a5c744 | 2011-10-21 20:00:41 | [diff] [blame] | 93 | 'common/chrome_utility_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 94 | 'common/chrome_version_info.cc', |
[email protected] | 281288d | 2012-11-09 03:03:23 | [diff] [blame] | 95 | 'common/chrome_version_info_android.cc', |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 96 | 'common/chrome_version_info_chromeos.cc', |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 97 | 'common/chrome_version_info_posix.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 98 | 'common/chrome_version_info_mac.mm', |
| 99 | 'common/chrome_version_info_win.cc', |
| 100 | 'common/chrome_version_info.h', |
[email protected] | 13aec6c4 | 2011-10-27 21:22:08 | [diff] [blame] | 101 | 'common/cloud_print/cloud_print_class_mac.h', |
| 102 | 'common/cloud_print/cloud_print_class_mac.mm', |
[email protected] | 3eadbf2 | 2012-12-03 08:34:46 | [diff] [blame] | 103 | 'common/cloud_print/cloud_print_constants.cc', |
| 104 | 'common/cloud_print/cloud_print_constants.h', |
[email protected] | b106ca5 | 2012-03-13 06:08:46 | [diff] [blame] | 105 | 'common/cloud_print/cloud_print_helpers.cc', |
| 106 | 'common/cloud_print/cloud_print_helpers.h', |
[email protected] | de119cf2 | 2011-05-11 20:41:35 | [diff] [blame] | 107 | 'common/cloud_print/cloud_print_proxy_info.cc', |
| 108 | 'common/cloud_print/cloud_print_proxy_info.h', |
[email protected] | fffaf97 | 2011-03-24 01:34:35 | [diff] [blame] | 109 | 'common/common_message_generator.cc', |
| 110 | 'common/common_message_generator.h', |
[email protected] | 79d68c6 | 2011-04-15 21:07:03 | [diff] [blame] | 111 | 'common/common_param_traits.cc', |
| 112 | 'common/common_param_traits.h', |
[email protected] | af049dd | 2012-06-26 01:01:42 | [diff] [blame] | 113 | 'common/common_param_traits_macros.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 114 | 'common/content_settings.cc', |
| 115 | 'common/content_settings.h', |
| 116 | 'common/content_settings_helper.cc', |
| 117 | 'common/content_settings_helper.h', |
[email protected] | 1d03fa3 | 2011-09-21 08:19:27 | [diff] [blame] | 118 | 'common/content_settings_pattern.cc', |
| 119 | 'common/content_settings_pattern.h', |
| 120 | 'common/content_settings_pattern_parser.cc', |
| 121 | 'common/content_settings_pattern_parser.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 122 | 'common/content_settings_types.h', |
[email protected] | 50cdead | 2013-01-03 18:36:33 | [diff] [blame] | 123 | 'common/crash_keys.cc', |
| 124 | 'common/crash_keys.h', |
[email protected] | 083917c8 | 2011-07-13 00:34:35 | [diff] [blame] | 125 | 'common/custom_handlers/protocol_handler.cc', |
| 126 | 'common/custom_handlers/protocol_handler.h', |
[email protected] | 29699c2 | 2012-10-03 23:57:39 | [diff] [blame] | 127 | 'common/descriptors_android.h', |
[email protected] | d356c98 | 2012-12-12 19:32:55 | [diff] [blame] | 128 | 'common/extensions/api/extension_api.cc', |
| 129 | 'common/extensions/api/extension_api.h', |
| 130 | 'common/extensions/api/extension_api_stub.cc', |
[email protected] | 4af6559 | 2013-01-04 21:06:19 | [diff] [blame] | 131 | 'common/extensions/api/input_ime/input_components_handler.cc', |
| 132 | 'common/extensions/api/input_ime/input_components_handler.h', |
[email protected] | d356c98 | 2012-12-12 19:32:55 | [diff] [blame] | 133 | 'common/extensions/api/omnibox/omnibox_handler.cc', |
| 134 | 'common/extensions/api/omnibox/omnibox_handler.h', |
[email protected] | 692a806 | 2013-01-10 04:14:42 | [diff] [blame] | 135 | 'common/extensions/api/speech/tts_engine_manifest_handler.cc', |
| 136 | 'common/extensions/api/speech/tts_engine_manifest_handler.h', |
[email protected] | 6590794 | 2012-05-22 19:59:47 | [diff] [blame] | 137 | 'common/extensions/command.cc', |
| 138 | 'common/extensions/command.h', |
[email protected] | ee0be77 | 2011-12-02 08:02:10 | [diff] [blame] | 139 | 'common/extensions/csp_validator.cc', |
| 140 | 'common/extensions/csp_validator.h', |
[email protected] | 6d4aef2 | 2012-09-28 03:40:48 | [diff] [blame] | 141 | 'common/extensions/draggable_region.cc', |
[email protected] | a0629af9 | 2012-08-08 00:39:37 | [diff] [blame] | 142 | 'common/extensions/draggable_region.h', |
[email protected] | 4df8ef1 | 2012-05-18 05:29:39 | [diff] [blame] | 143 | 'common/extensions/event_filter.cc', |
| 144 | 'common/extensions/event_filter.h', |
| 145 | 'common/extensions/event_filtering_info.cc', |
| 146 | 'common/extensions/event_filtering_info.h', |
| 147 | 'common/extensions/event_matcher.cc', |
| 148 | 'common/extensions/event_matcher.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 149 | 'common/extensions/extension.cc', |
| 150 | 'common/extensions/extension.h', |
| 151 | 'common/extensions/extension_constants.cc', |
| 152 | 'common/extensions/extension_constants.h', |
[email protected] | 7c927b6 | 2010-02-24 09:54:13 | [diff] [blame] | 153 | 'common/extensions/extension_file_util.cc', |
| 154 | 'common/extensions/extension_file_util.h', |
[email protected] | 807871f | 2010-09-16 01:04:48 | [diff] [blame] | 155 | 'common/extensions/extension_icon_set.cc', |
| 156 | 'common/extensions/extension_icon_set.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 157 | 'common/extensions/extension_l10n_util.cc', |
| 158 | 'common/extensions/extension_l10n_util.h', |
[email protected] | 8a58f9a | 2010-05-18 18:38:09 | [diff] [blame] | 159 | 'common/extensions/extension_localization_peer.cc', |
| 160 | 'common/extensions/extension_localization_peer.h', |
[email protected] | a52c0e9 | 2012-03-23 06:02:24 | [diff] [blame] | 161 | 'common/extensions/extension_manifest_constants.cc', |
| 162 | 'common/extensions/extension_manifest_constants.h', |
[email protected] | 44c49c9 | 2011-03-28 16:17:23 | [diff] [blame] | 163 | 'common/extensions/extension_messages.cc', |
| 164 | 'common/extensions/extension_messages.h', |
[email protected] | 808d151 | 2011-12-14 16:29:59 | [diff] [blame] | 165 | 'common/extensions/extension_process_policy.cc', |
| 166 | 'common/extensions/extension_process_policy.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 167 | 'common/extensions/extension_resource.cc', |
| 168 | 'common/extensions/extension_resource.h', |
[email protected] | ec7db28 | 2011-01-29 01:11:36 | [diff] [blame] | 169 | 'common/extensions/extension_set.cc', |
| 170 | 'common/extensions/extension_set.h', |
[email protected] | ee837d3 | 2012-10-02 22:25:49 | [diff] [blame] | 171 | 'common/extensions/feature_switch.cc', |
| 172 | 'common/extensions/feature_switch.h', |
[email protected] | 4b927fe | 2012-12-15 20:30:45 | [diff] [blame] | 173 | 'common/extensions/features/base_feature_provider.cc', |
| 174 | 'common/extensions/features/base_feature_provider.h', |
| 175 | 'common/extensions/features/complex_feature.cc', |
| 176 | 'common/extensions/features/complex_feature.h', |
[email protected] | 5115ccc | 2012-06-11 19:47:07 | [diff] [blame] | 177 | 'common/extensions/features/feature.cc', |
| 178 | 'common/extensions/features/feature.h', |
| 179 | 'common/extensions/features/feature_provider.h', |
| 180 | 'common/extensions/features/manifest_feature.cc', |
| 181 | 'common/extensions/features/manifest_feature.h', |
| 182 | 'common/extensions/features/permission_feature.cc', |
| 183 | 'common/extensions/features/permission_feature.h', |
[email protected] | 4b927fe | 2012-12-15 20:30:45 | [diff] [blame] | 184 | 'common/extensions/features/simple_feature.cc', |
| 185 | 'common/extensions/features/simple_feature.h', |
[email protected] | 953620b | 2011-12-04 00:55:32 | [diff] [blame] | 186 | 'common/extensions/manifest.cc', |
| 187 | 'common/extensions/manifest.h', |
[email protected] | d356c98 | 2012-12-12 19:32:55 | [diff] [blame] | 188 | 'common/extensions/manifest_handler.cc', |
| 189 | 'common/extensions/manifest_handler.h', |
[email protected] | a405f6d | 2013-01-11 11:50:13 | [diff] [blame^] | 190 | 'common/extensions/manifest_url_handler.cc', |
| 191 | 'common/extensions/manifest_url_handler.h', |
[email protected] | 5bcf3b7 | 2012-09-14 00:20:28 | [diff] [blame] | 192 | 'common/extensions/matcher/regex_set_matcher.cc', |
| 193 | 'common/extensions/matcher/regex_set_matcher.h', |
| 194 | 'common/extensions/matcher/string_pattern.cc', |
| 195 | 'common/extensions/matcher/string_pattern.h', |
[email protected] | 63f1a9e | 2012-05-09 12:51:00 | [diff] [blame] | 196 | 'common/extensions/matcher/substring_set_matcher.cc', |
| 197 | 'common/extensions/matcher/substring_set_matcher.h', |
| 198 | 'common/extensions/matcher/url_matcher.cc', |
| 199 | 'common/extensions/matcher/url_matcher.h', |
| 200 | 'common/extensions/matcher/url_matcher_constants.cc', |
| 201 | 'common/extensions/matcher/url_matcher_constants.h', |
| 202 | 'common/extensions/matcher/url_matcher_factory.cc', |
| 203 | 'common/extensions/matcher/url_matcher_factory.h', |
| 204 | 'common/extensions/matcher/url_matcher_helpers.cc', |
| 205 | 'common/extensions/matcher/url_matcher_helpers.h', |
[email protected] | 40404bc | 2012-07-25 17:40:49 | [diff] [blame] | 206 | 'common/extensions/message_bundle.cc', |
| 207 | 'common/extensions/message_bundle.h', |
[email protected] | c2e66e1 | 2012-06-27 06:27:06 | [diff] [blame] | 208 | 'common/extensions/permissions/api_permission.cc', |
| 209 | 'common/extensions/permissions/api_permission.h', |
[email protected] | 1d8b79a | 2012-08-16 20:22:54 | [diff] [blame] | 210 | 'common/extensions/permissions/api_permission_set.cc', |
| 211 | 'common/extensions/permissions/api_permission_set.h', |
[email protected] | 288ce6c | 2012-12-03 21:05:24 | [diff] [blame] | 212 | 'common/extensions/permissions/bluetooth_device_permission.cc', |
| 213 | 'common/extensions/permissions/bluetooth_device_permission.h', |
[email protected] | f3cc8063 | 2012-12-06 19:30:25 | [diff] [blame] | 214 | 'common/extensions/permissions/bluetooth_device_permission_data.cc', |
| 215 | 'common/extensions/permissions/bluetooth_device_permission_data.h', |
[email protected] | c2e66e1 | 2012-06-27 06:27:06 | [diff] [blame] | 216 | 'common/extensions/permissions/permission_message.cc', |
| 217 | 'common/extensions/permissions/permission_message.h', |
| 218 | 'common/extensions/permissions/permission_set.cc', |
| 219 | 'common/extensions/permissions/permission_set.h', |
| 220 | 'common/extensions/permissions/permissions_info.cc', |
| 221 | 'common/extensions/permissions/permissions_info.h', |
[email protected] | f3cc8063 | 2012-12-06 19:30:25 | [diff] [blame] | 222 | 'common/extensions/permissions/set_disjunction_permission.h', |
[email protected] | 1d8b79a | 2012-08-16 20:22:54 | [diff] [blame] | 223 | 'common/extensions/permissions/socket_permission.cc', |
| 224 | 'common/extensions/permissions/socket_permission.h', |
| 225 | 'common/extensions/permissions/socket_permission_data.cc', |
| 226 | 'common/extensions/permissions/socket_permission_data.h', |
[email protected] | ad46f22 | 2012-12-11 07:18:15 | [diff] [blame] | 227 | 'common/extensions/permissions/usb_device_permission.cc', |
| 228 | 'common/extensions/permissions/usb_device_permission.h', |
| 229 | 'common/extensions/permissions/usb_device_permission_data.cc', |
| 230 | 'common/extensions/permissions/usb_device_permission_data.h', |
[email protected] | 0b9383a | 2012-10-26 00:58:16 | [diff] [blame] | 231 | 'common/extensions/request_media_access_permission_helper.cc', |
| 232 | 'common/extensions/request_media_access_permission_helper.h', |
[email protected] | b3fe68d | 2012-07-16 19:14:39 | [diff] [blame] | 233 | 'common/extensions/unpacker.cc', |
| 234 | 'common/extensions/unpacker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 235 | 'common/extensions/update_manifest.cc', |
| 236 | 'common/extensions/update_manifest.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 237 | 'common/extensions/user_script.cc', |
| 238 | 'common/extensions/user_script.h', |
[email protected] | d9e559d | 2012-07-05 01:04:57 | [diff] [blame] | 239 | 'common/extensions/value_counter.cc', |
| 240 | 'common/extensions/value_counter.h', |
[email protected] | 48147fd | 2013-01-11 05:54:20 | [diff] [blame] | 241 | 'common/extensions/web_intents_handler.cc', |
| 242 | 'common/extensions/web_intents_handler.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 243 | 'common/external_ipc_fuzzer.h', |
| 244 | 'common/external_ipc_fuzzer.cc', |
[email protected] | 1ecbe86 | 2012-10-05 01:29:14 | [diff] [blame] | 245 | 'common/form_data.cc', |
| 246 | 'common/form_data.h', |
| 247 | 'common/form_data_predictions.cc', |
| 248 | 'common/form_data_predictions.h', |
| 249 | 'common/form_field_data.cc', |
| 250 | 'common/form_field_data.h', |
| 251 | 'common/form_field_data_predictions.cc', |
| 252 | 'common/form_field_data_predictions.h', |
[email protected] | 6ae45eb | 2012-11-29 23:27:28 | [diff] [blame] | 253 | 'common/icon_with_badge_image_source.cc', |
| 254 | 'common/icon_with_badge_image_source.h', |
[email protected] | 0e7cb68 | 2012-08-15 04:04:38 | [diff] [blame] | 255 | 'common/instant_types.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 256 | 'common/instant_types.h', |
[email protected] | 367dbf7 | 2012-09-16 15:36:23 | [diff] [blame] | 257 | 'common/json_schema_constants.cc', |
| 258 | 'common/json_schema_constants.h', |
[email protected] | 639e671 | 2010-11-11 22:21:43 | [diff] [blame] | 259 | 'common/json_schema_validator.cc', |
| 260 | 'common/json_schema_validator.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 261 | 'common/jstemplate_builder.cc', |
| 262 | 'common/jstemplate_builder.h', |
[email protected] | 499512b | 2012-08-08 19:27:49 | [diff] [blame] | 263 | 'common/localized_error.cc', |
| 264 | 'common/localized_error.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 265 | 'common/logging_chrome.cc', |
| 266 | 'common/logging_chrome.h', |
[email protected] | 4682124 | 2011-08-19 13:59:59 | [diff] [blame] | 267 | 'common/mac/app_mode_common.h', |
| 268 | 'common/mac/app_mode_common.mm', |
[email protected] | 00ecec5 | 2011-08-19 20:01:24 | [diff] [blame] | 269 | 'common/mac/cfbundle_blocker.h', |
| 270 | 'common/mac/cfbundle_blocker.mm', |
[email protected] | 4682124 | 2011-08-19 13:59:59 | [diff] [blame] | 271 | 'common/mac/launchd.h', |
| 272 | 'common/mac/launchd.mm', |
[email protected] | d9b6d57 | 2012-10-22 16:41:19 | [diff] [blame] | 273 | 'common/mac/nscoder_util.h', |
| 274 | 'common/mac/nscoder_util.mm', |
[email protected] | d02437b | 2011-09-06 17:25:15 | [diff] [blame] | 275 | 'common/mac/objc_method_swizzle.h', |
| 276 | 'common/mac/objc_method_swizzle.mm', |
| 277 | 'common/mac/objc_zombie.h', |
| 278 | 'common/mac/objc_zombie.mm', |
[email protected] | 20f999b5 | 2012-08-24 22:32:59 | [diff] [blame] | 279 | 'common/metrics/entropy_provider.cc', |
| 280 | 'common/metrics/entropy_provider.h', |
[email protected] | e182be0 | 2012-01-27 02:35:44 | [diff] [blame] | 281 | 'common/metrics/metrics_log_base.cc', |
| 282 | 'common/metrics/metrics_log_base.h', |
[email protected] | 2e4cd1a | 2012-01-12 08:51:03 | [diff] [blame] | 283 | 'common/metrics/metrics_log_manager.cc', |
| 284 | 'common/metrics/metrics_log_manager.h', |
[email protected] | e182be0 | 2012-01-27 02:35:44 | [diff] [blame] | 285 | 'common/metrics/metrics_service_base.cc', |
| 286 | 'common/metrics/metrics_service_base.h', |
[email protected] | bca3494 | 2012-09-05 18:23:25 | [diff] [blame] | 287 | 'common/metrics/metrics_util.cc', |
| 288 | 'common/metrics/metrics_util.h', |
[email protected] | cf265dc0 | 2012-08-15 01:01:16 | [diff] [blame] | 289 | 'common/metrics/variations/variations_util.cc', |
| 290 | 'common/metrics/variations/variations_util.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 291 | 'common/multi_process_lock.h', |
| 292 | 'common/multi_process_lock_linux.cc', |
| 293 | 'common/multi_process_lock_mac.cc', |
| 294 | 'common/multi_process_lock_win.cc', |
| 295 | 'common/nacl_cmd_line.cc', |
| 296 | 'common/nacl_cmd_line.h', |
| 297 | 'common/nacl_messages.cc', |
| 298 | 'common/nacl_messages.h', |
[email protected] | 00d9954 | 2012-04-17 22:48:02 | [diff] [blame] | 299 | 'common/nacl_types.cc', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 300 | 'common/nacl_types.h', |
[email protected] | 1ecbe86 | 2012-10-05 01:29:14 | [diff] [blame] | 301 | 'common/password_form_fill_data.cc', |
| 302 | 'common/password_form_fill_data.h', |
[email protected] | 341370e | 2012-07-21 01:45:56 | [diff] [blame] | 303 | 'common/password_generation_util.cc', |
| 304 | 'common/password_generation_util.h', |
[email protected] | 9b4f608 | 2012-04-24 01:43:07 | [diff] [blame] | 305 | 'common/pepper_flash.cc', |
| 306 | 'common/pepper_flash.h', |
[email protected] | be85e7d | 2012-10-31 08:34:20 | [diff] [blame] | 307 | 'common/pref_names_util.cc', |
| 308 | 'common/pref_names_util.h', |
[email protected] | b4bd67a | 2011-08-22 19:04:09 | [diff] [blame] | 309 | 'common/print_messages.cc', |
[email protected] | 1375e3ab | 2011-03-24 17:07:22 | [diff] [blame] | 310 | 'common/print_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 311 | 'common/profiling.cc', |
| 312 | 'common/profiling.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 313 | 'common/ref_counted_util.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 314 | 'common/render_messages.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 315 | 'common/render_messages.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 316 | 'common/safe_browsing/safebrowsing_messages.h', |
[email protected] | c08e793 | 2011-03-29 04:08:14 | [diff] [blame] | 317 | 'common/search_provider.h', |
[email protected] | c391774 | 2012-11-21 01:51:14 | [diff] [blame] | 318 | 'common/search_types.h', |
[email protected] | 38fe196 | 2010-07-31 07:57:00 | [diff] [blame] | 319 | 'common/service_messages.h', |
[email protected] | 7a4de7a6 | 2010-08-17 18:38:24 | [diff] [blame] | 320 | 'common/service_process_util.cc', |
| 321 | 'common/service_process_util.h', |
[email protected] | 56f0f26 | 2011-02-24 17:14:36 | [diff] [blame] | 322 | 'common/service_process_util_linux.cc', |
| 323 | 'common/service_process_util_mac.mm', |
[email protected] | 14635494 | 2010-10-13 20:27:04 | [diff] [blame] | 324 | 'common/service_process_util_posix.cc', |
[email protected] | 56f0f26 | 2011-02-24 17:14:36 | [diff] [blame] | 325 | 'common/service_process_util_posix.h', |
[email protected] | 14635494 | 2010-10-13 20:27:04 | [diff] [blame] | 326 | 'common/service_process_util_win.cc', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 327 | 'common/spellcheck_common.cc', |
| 328 | 'common/spellcheck_common.h', |
[email protected] | 3e26719 | 2011-03-25 01:55:45 | [diff] [blame] | 329 | 'common/spellcheck_messages.h', |
[email protected] | 7ed49c2 | 2012-02-17 02:14:53 | [diff] [blame] | 330 | 'common/spellcheck_result.h', |
[email protected] | b5febf7 | 2012-07-29 18:10:09 | [diff] [blame] | 331 | 'common/startup_metric_utils.cc', |
| 332 | 'common/startup_metric_utils.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 333 | 'common/switch_utils.cc', |
| 334 | 'common/switch_utils.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 335 | 'common/thumbnail_score.cc', |
| 336 | 'common/thumbnail_score.h', |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 337 | 'common/time_format.cc', |
| 338 | 'common/time_format.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 339 | 'common/url_constants.cc', |
| 340 | 'common/url_constants.h', |
[email protected] | 299d7f1 | 2012-05-23 05:31:15 | [diff] [blame] | 341 | 'common/view_type.cc', |
| 342 | 'common/view_type.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 343 | 'common/visitedlink_common.cc', |
| 344 | 'common/visitedlink_common.h', |
[email protected] | 38789d8 | 2010-11-17 06:03:44 | [diff] [blame] | 345 | 'common/web_apps.cc', |
| 346 | 'common/web_apps.h', |
[email protected] | cdb8bc28 | 2010-11-22 19:23:06 | [diff] [blame] | 347 | 'common/web_resource/web_resource_unpacker.cc', |
| 348 | 'common/web_resource/web_resource_unpacker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 349 | 'common/worker_thread_ticker.cc', |
| 350 | 'common/worker_thread_ticker.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 351 | 'common/zip.cc', # Requires zlib directly. |
| 352 | 'common/zip.h', |
[email protected] | 79b2024f | 2011-11-09 19:32:12 | [diff] [blame] | 353 | 'common/zip_internal.cc', |
| 354 | 'common/zip_internal.h', |
[email protected] | 198e7782 | 2011-11-11 18:50:03 | [diff] [blame] | 355 | 'common/zip_reader.cc', |
| 356 | 'common/zip_reader.h', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 357 | ], |
| 358 | 'conditions': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 359 | ['OS != "ios"', { |
| 360 | 'dependencies': [ |
| 361 | '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
| 362 | '<(DEPTH)/chrome/common/extensions/api/api.gyp:api', |
| 363 | '<(DEPTH)/ipc/ipc.gyp:ipc', |
| 364 | '<(DEPTH)/printing/printing.gyp:printing', |
| 365 | '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
| 366 | '<(DEPTH)/third_party/re2/re2.gyp:re2', |
| 367 | '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
| 368 | '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
| 369 | ], |
| 370 | }, { # OS == ios |
| 371 | 'sources/': [ |
| 372 | ['exclude', '^common/automation_'], |
| 373 | ['exclude', '^common/child_process_'], |
| 374 | ['exclude', '^common/chrome_content_client\\.cc$'], |
| 375 | ['exclude', '^common/chrome_version_info_posix\\.cc$'], |
| 376 | ['exclude', '^common/common_message_generator\\.cc$'], |
| 377 | ['exclude', '^common/common_param_traits'], |
| 378 | ['exclude', '^common/custom_handlers/'], |
| 379 | ['exclude', '^common/extensions/'], |
| 380 | ['exclude', '^common/external_ipc_fuzzer\\.'], |
| 381 | ['exclude', '^common/logging_chrome\\.'], |
| 382 | ['exclude', '^common/multi_process_'], |
| 383 | ['exclude', '^common/nacl_'], |
| 384 | ['exclude', '^common/pepper_flash\\.'], |
| 385 | ['exclude', '^common/profiling\\.'], |
| 386 | ['exclude', '^common/service_process_util_'], |
| 387 | ['exclude', '^common/spellcheck_'], |
| 388 | ['exclude', '^common/web_apps\\.'], |
| 389 | # TODO(ios): Include files here as they are made to work; once |
| 390 | # everything is online, remove everything below here and just |
| 391 | # use the exclusions above. |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 392 | ['exclude', '\\.(cc|mm)$'], |
| 393 | ['include', '_ios\\.(cc|mm)$'], |
| 394 | ['include', '(^|/)ios/'], |
| 395 | ['include', '^common/chrome_version_info\\.cc$'], |
| 396 | ['include', '^common/zip'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 397 | ], |
| 398 | }], |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 399 | ['OS=="android"', { |
| 400 | 'sources/': [ |
[email protected] | 281288d | 2012-11-09 03:03:23 | [diff] [blame] | 401 | ['exclude', '^common/chrome_version_info_posix.cc'], |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 402 | ['exclude', '^common/service_'], |
| 403 | ], |
[email protected] | ccd90f0 | 2012-11-01 19:52:15 | [diff] [blame] | 404 | 'dependencies!': [ |
| 405 | '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
| 406 | ], |
[email protected] | 9f6167c | 2012-03-16 02:28:17 | [diff] [blame] | 407 | }], |
[email protected] | 93156cec | 2011-09-12 21:14:44 | [diff] [blame] | 408 | ['OS=="win"', { |
| 409 | 'include_dirs': [ |
| 410 | '<(DEPTH)/third_party/wtl/include', |
[email protected] | ef777a4 | 2011-11-25 13:15:43 | [diff] [blame] | 411 | ] |
| 412 | }], |
[email protected] | cb5e507 | 2011-05-19 21:49:41 | [diff] [blame] | 413 | ['toolkit_uses_gtk == 1', { |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 414 | 'dependencies': [ |
| 415 | '../build/linux/system.gyp:gtk', |
| 416 | ], |
| 417 | 'export_dependent_settings': [ |
| 418 | '../third_party/sqlite/sqlite.gyp:sqlite', |
| 419 | ], |
| 420 | 'link_settings': { |
| 421 | 'libraries': [ |
| 422 | '-lX11', |
| 423 | '-lXrender', |
[email protected] | 8b46c13b | 2010-01-26 19:50:54 | [diff] [blame] | 424 | '-lXss', |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 425 | '-lXext', |
| 426 | ], |
| 427 | }, |
[email protected] | 0ce3485 | 2011-09-23 20:00:51 | [diff] [blame] | 428 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 429 | ['OS=="linux" and selinux==1', { |
| 430 | 'dependencies': [ |
| 431 | '../build/linux/system.gyp:selinux', |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 432 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 433 | }], |
[email protected] | 89886fa3 | 2012-10-08 23:46:33 | [diff] [blame] | 434 | ['chromeos==1', { |
[email protected] | 3a12f88 | 2011-12-14 06:39:25 | [diff] [blame] | 435 | 'sources!': [ |
| 436 | 'common/chrome_version_info_linux.cc', |
| 437 | ], |
| 438 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 439 | ['OS=="mac"', { |
| 440 | 'dependencies': [ |
| 441 | '../third_party/mach_override/mach_override.gyp:mach_override', |
| 442 | ], |
| 443 | 'include_dirs': [ |
| 444 | '../third_party/GTM', |
| 445 | ], |
[email protected] | 1f26b9a | 2012-02-28 00:29:38 | [diff] [blame] | 446 | 'sources!': [ |
| 447 | 'common/child_process_logging_posix.cc', |
| 448 | 'common/chrome_version_info_posix.cc', |
| 449 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 450 | }], |
[email protected] | e78b47c | 2012-12-04 15:34:23 | [diff] [blame] | 451 | ['enable_extensions==1', { |
| 452 | 'sources!': [ |
| 453 | 'common/extensions/api/extension_api_stub.cc', |
| 454 | ], |
[email protected] | 06af6a4 | 2012-12-14 00:16:40 | [diff] [blame] | 455 | 'dependencies': [ |
| 456 | '../device/device.gyp:device_usb', |
| 457 | ], |
[email protected] | e78b47c | 2012-12-04 15:34:23 | [diff] [blame] | 458 | }, { # enable_extensions == 0 |
| 459 | 'sources/': [ |
| 460 | ['exclude', '^common/extensions/api/'], |
| 461 | ['include', 'common/extensions/api/extension_api_stub.cc'], |
| 462 | ], |
| 463 | }], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 464 | ['remoting==1', { |
| 465 | 'dependencies': [ |
| 466 | '../remoting/remoting.gyp:remoting_client_plugin', |
| 467 | ], |
| 468 | }], |
| 469 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 470 | 'target_conditions': [ |
| 471 | ['OS == "ios"', { |
| 472 | 'sources/': [ |
| 473 | # Pull in specific Mac files for iOS (which have been filtered out |
| 474 | # by file name rules). |
| 475 | ['include', '^common/chrome_version_info_mac\\.mm$'], |
[email protected] | b7d1efa6 | 2012-11-16 11:22:02 | [diff] [blame] | 476 | ['include', '^common/mac/nscoder_util\\.'], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 477 | ], |
| 478 | }], |
| 479 | ], |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 480 | 'export_dependent_settings': [ |
| 481 | '../base/base.gyp:base', |
[email protected] | 8a59a08 | 2012-03-07 02:27:30 | [diff] [blame] | 482 | 'metrics_proto', |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 483 | ], |
| 484 | }, |
| 485 | { |
| 486 | 'target_name': 'common_version', |
| 487 | 'type': 'none', |
| 488 | 'conditions': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 489 | ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
[email protected] | b9bbf553 | 2011-11-03 07:35:22 | [diff] [blame] | 490 | 'direct_dependent_settings': { |
| 491 | 'include_dirs': [ |
| 492 | '<(SHARED_INTERMEDIATE_DIR)', |
| 493 | ], |
| 494 | }, |
[email protected] | 79440c5 | 2010-08-27 22:53:02 | [diff] [blame] | 495 | # Because posix_version generates a header, we must set the |
| 496 | # hard_dependency flag. |
| 497 | 'hard_dependency': 1, |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 498 | 'actions': [ |
| 499 | { |
| 500 | 'action_name': 'posix_version', |
| 501 | 'variables': { |
| 502 | 'lastchange_path': |
[email protected] | 9046a11 | 2012-01-31 20:45:25 | [diff] [blame] | 503 | '<(DEPTH)/build/util/LASTCHANGE', |
[email protected] | 4641d3c | 2010-08-26 21:44:13 | [diff] [blame] | 504 | 'version_py_path': 'tools/build/version.py', |
| 505 | 'version_path': 'VERSION', |
| 506 | 'template_input_path': 'common/chrome_version_info_posix.h.version', |
| 507 | }, |
| 508 | 'conditions': [ |
| 509 | [ 'branding == "Chrome"', { |
| 510 | 'variables': { |
| 511 | 'branding_path': |
| 512 | 'app/theme/google_chrome/BRANDING', |
| 513 | }, |
| 514 | }, { # else branding!="Chrome" |
| 515 | 'variables': { |
| 516 | 'branding_path': |
| 517 | 'app/theme/chromium/BRANDING', |
| 518 | }, |
| 519 | }], |
| 520 | ], |
| 521 | 'inputs': [ |
| 522 | '<(template_input_path)', |
| 523 | '<(version_path)', |
| 524 | '<(branding_path)', |
| 525 | '<(lastchange_path)', |
| 526 | ], |
| 527 | 'outputs': [ |
| 528 | '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_posix.h', |
| 529 | ], |
| 530 | 'action': [ |
| 531 | 'python', |
| 532 | '<(version_py_path)', |
| 533 | '-f', '<(version_path)', |
| 534 | '-f', '<(branding_path)', |
| 535 | '-f', '<(lastchange_path)', |
| 536 | '<(template_input_path)', |
| 537 | '<@(_outputs)', |
| 538 | ], |
| 539 | 'message': 'Generating version information', |
| 540 | }, |
| 541 | ], |
| 542 | }], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 543 | ], |
| 544 | }, |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 545 | { |
| 546 | 'target_name': 'common_net', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 547 | 'type': 'static_library', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 548 | 'sources': [ |
[email protected] | 0630596 | 2012-05-09 22:34:36 | [diff] [blame] | 549 | 'common/net/net_resource_provider.cc', |
| 550 | 'common/net/net_resource_provider.h', |
| 551 | 'common/net/predictor_common.h', |
| 552 | 'common/net/url_util.cc', |
| 553 | 'common/net/url_util.h', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 554 | 'common/net/x509_certificate_model.cc', |
| 555 | 'common/net/x509_certificate_model_nss.cc', |
| 556 | 'common/net/x509_certificate_model_openssl.cc', |
| 557 | 'common/net/x509_certificate_model.h', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 558 | ], |
| 559 | 'dependencies': [ |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 560 | '<(DEPTH)/base/base.gyp:base', |
| 561 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
| 562 | '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
| 563 | '<(DEPTH)/crypto/crypto.gyp:crypto', |
[email protected] | 37794d0 | 2011-11-30 18:24:29 | [diff] [blame] | 564 | '<(DEPTH)/net/net.gyp:net_resources', |
| 565 | '<(DEPTH)/net/net.gyp:net', |
| 566 | '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 567 | '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 568 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 569 | 'conditions': [ |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 570 | ['OS != "ios"', { |
| 571 | 'dependencies': [ |
| 572 | '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 573 | ], |
| 574 | }, { # OS == ios |
| 575 | 'sources!': [ |
| 576 | 'common/net/net_resource_provider.cc', |
| 577 | 'common/net/x509_certificate_model.cc', |
| 578 | ], |
| 579 | }], |
| 580 | ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
[email protected] | 638e9df4 | 2011-05-31 17:19:30 | [diff] [blame] | 581 | 'dependencies': [ |
| 582 | '../build/linux/system.gyp:ssl', |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 583 | ], |
| 584 | }, |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 585 | ], |
[email protected] | fdaed545c | 2012-10-20 19:13:04 | [diff] [blame] | 586 | ['os_posix != 1 or OS == "mac" or OS == "ios"', { |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 587 | 'sources!': [ |
| 588 | 'common/net/x509_certificate_model_nss.cc', |
| 589 | 'common/net/x509_certificate_model_openssl.cc', |
| 590 | ], |
| 591 | }, |
| 592 | ], |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 593 | ['OS == "android"', { |
| 594 | 'dependencies': [ |
[email protected] | 8e853b14 | 2012-05-16 07:40:01 | [diff] [blame] | 595 | '../third_party/openssl/openssl.gyp:openssl', |
[email protected] | af221ff | 2012-04-03 05:22:39 | [diff] [blame] | 596 | ], |
| 597 | }, |
| 598 | ], |
[email protected] | b1c2a554 | 2010-10-08 12:44:40 | [diff] [blame] | 599 | ['use_openssl==1', { |
| 600 | 'sources!': [ |
| 601 | 'common/net/x509_certificate_model_nss.cc', |
| 602 | ], |
| 603 | }, |
| 604 | { # else !use_openssl: remove the unneeded files |
| 605 | 'sources!': [ |
| 606 | 'common/net/x509_certificate_model_openssl.cc', |
| 607 | ], |
| 608 | }, |
| 609 | ], |
[email protected] | 129d1145 | 2012-03-01 01:56:56 | [diff] [blame] | 610 | ], |
[email protected] | 3c3065d | 2010-05-06 21:59:55 | [diff] [blame] | 611 | }, |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 612 | { |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 613 | # Protobuf compiler / generator for the safebrowsing client |
| 614 | # model proto and the client-side detection (csd) request |
| 615 | # protocol buffer. |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 616 | 'target_name': 'safe_browsing_proto', |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 617 | 'type': 'static_library', |
| 618 | 'sources': [ |
| 619 | 'common/safe_browsing/client_model.proto', |
| 620 | 'common/safe_browsing/csd.proto' |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 621 | ], |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 622 | 'variables': { |
| 623 | 'proto_in_dir': 'common/safe_browsing', |
| 624 | 'proto_out_dir': 'chrome/common/safe_browsing', |
[email protected] | cae64fe | 2011-06-17 17:54:50 | [diff] [blame] | 625 | }, |
[email protected] | 1c20dd6 | 2011-08-19 21:54:33 | [diff] [blame] | 626 | 'includes': [ '../build/protoc.gypi' ], |
[email protected] | 13313977 | 2011-04-14 22:14:13 | [diff] [blame] | 627 | }, |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 628 | { |
| 629 | # Protobuf compiler / generator for UMA (User Metrics Analysis). |
| 630 | 'target_name': 'metrics_proto', |
| 631 | 'type': 'static_library', |
| 632 | 'sources': [ |
[email protected] | f89fdab1 | 2012-05-04 23:27:21 | [diff] [blame] | 633 | 'common/metrics/proto/chrome_experiments.proto', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 634 | 'common/metrics/proto/chrome_user_metrics_extension.proto', |
| 635 | 'common/metrics/proto/histogram_event.proto', |
| 636 | 'common/metrics/proto/omnibox_event.proto', |
[email protected] | 2a08b1d | 2012-02-18 00:30:04 | [diff] [blame] | 637 | 'common/metrics/proto/profiler_event.proto', |
[email protected] | 7ae45d050 | 2012-01-31 00:29:26 | [diff] [blame] | 638 | 'common/metrics/proto/system_profile.proto', |
| 639 | 'common/metrics/proto/user_action_event.proto', |
| 640 | ], |
| 641 | 'variables': { |
| 642 | 'proto_in_dir': 'common/metrics/proto', |
| 643 | 'proto_out_dir': 'chrome/common/metrics/proto', |
| 644 | }, |
| 645 | 'includes': [ '../build/protoc.gypi' ], |
| 646 | }, |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 647 | ], |
[email protected] | dd36368 | 2009-12-28 20:30:46 | [diff] [blame] | 648 | } |