Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1248)

Unified Diff: content/content_common.gypi

Issue 186883002: Move user_agent code from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm build directory Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content.gyp ('k') | content/content_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_common.gypi
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 2a23d522e5341056dbab81ad4377e5b9324fd1d5..0c46e2a12ac964c031b3b45780232017d5128e9a 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -16,7 +16,6 @@
'../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
'../ui/ui.gyp:ui',
'../url/url.gyp:url_lib',
- '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
],
'include_dirs': [
'..',
@@ -32,6 +31,7 @@
'public/common/child_process_sandbox_support_linux.h',
'public/common/color_suggestion.cc',
'public/common/color_suggestion.h',
+ 'public/common/console_message_level.h',
'public/common/content_constants.cc',
'public/common/content_constants.h',
'public/common/content_descriptors.h',
@@ -41,7 +41,6 @@
'public/common/content_switches.h',
'public/common/context_menu_params.cc',
'public/common/context_menu_params.h',
- 'public/common/console_message_level.h',
'public/common/drop_data.cc',
'public/common/drop_data.h',
'public/common/favicon_url.cc',
@@ -89,8 +88,8 @@
'public/common/signed_certificate_timestamp_id_and_status.h',
'public/common/speech_recognition_error.h',
'public/common/speech_recognition_grammar.h',
- 'public/common/speech_recognition_result.h',
'public/common/speech_recognition_result.cc',
+ 'public/common/speech_recognition_result.h',
'public/common/ssl_status.cc',
'public/common/ssl_status.h',
'public/common/stop_find_action.h',
@@ -102,6 +101,7 @@
'public/common/url_fetcher.h',
'public/common/url_utils.cc',
'public/common/url_utils.h',
+ 'public/common/user_agent.h',
'public/common/webplugininfo.cc',
'public/common/webplugininfo.h',
'public/common/zygote_fork_delegate_linux.h',
@@ -395,6 +395,8 @@
'common/swapped_out_messages.cc',
'common/swapped_out_messages.h',
'common/text_input_client_messages.h',
+ 'common/user_agent.cc',
+ 'common/user_agent_ios.mm',
'common/url_schemes.cc',
'common/url_schemes.h',
'common/utility_messages.h',
@@ -419,6 +421,12 @@
],
'conditions': [
['OS=="ios"', {
+ # iOS has different user-agent construction utilities, since the
+ # version strings is not derived from webkit_version, and follows
+ # a different format.
+ 'sources!': [
+ 'common/user_agent.cc',
+ ],
'sources/': [
# iOS only needs a small portion of content; exclude all the
# implementation, and re-include what is used.
@@ -461,6 +469,7 @@
'../webkit/common/webkit_common.gyp:webkit_common',
'../webkit/storage_browser.gyp:webkit_storage_browser',
'../webkit/storage_common.gyp:webkit_storage_common',
+ 'content.gyp:webkit_version',
],
}],
['OS=="mac"', {
« no previous file with comments | « content/content.gyp ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698