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