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

Side by Side Diff: webkit/common/user_agent/webkit_user_agent.gyp

Issue 191093002: Simplify the user agent code some more since after r255534 it's not affected by the site's URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: patchset 15 which works 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/common/user_agent/user_agent.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'user_agent', 8 'target_name': 'user_agent',
9 'type': '<(component)', 9 'type': '<(component)',
10 'defines': [ 10 'defines': [
11 'WEBKIT_USER_AGENT_IMPLEMENTATION', 11 'WEBKIT_USER_AGENT_IMPLEMENTATION',
12 ], 12 ],
13 'variables': { 13 'variables': {
14 'chromium_code': 1, 14 'chromium_code': 1,
15 }, 15 },
16 'dependencies': [ 16 'dependencies': [
17 '<(DEPTH)/base/base.gyp:base', 17 '<(DEPTH)/base/base.gyp:base',
18 '<(DEPTH)/base/base.gyp:base_i18n', 18 '<(DEPTH)/base/base.gyp:base_i18n',
19 '<(DEPTH)/url/url.gyp:url_lib', 19 '<(DEPTH)/url/url.gyp:url_lib',
20 ], 20 ],
21 'sources': [ 21 'sources': [
22 'user_agent.cc',
23 'user_agent.h',
24 'user_agent_util.cc', 22 'user_agent_util.cc',
25 'user_agent_util_ios.mm', 23 'user_agent_util_ios.mm',
26 'user_agent_util.h', 24 'user_agent_util.h',
27 'webkit_user_agent_export.h', 25 'webkit_user_agent_export.h',
28 ], 26 ],
29 'conditions': [ 27 'conditions': [
30 ['OS == "ios"', { 28 ['OS == "ios"', {
31 # iOS has different user-agent construction utilities, since the 29 # iOS has different user-agent construction utilities, since the
32 # version strings is not derived from webkit_version, and follows 30 # version strings is not derived from webkit_version, and follows
33 # a different format. 31 # a different format.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ], 77 ],
80 }, 78 },
81 # Dependents may rely on files generated by this target or one of its 79 # Dependents may rely on files generated by this target or one of its
82 # own hard dependencies. 80 # own hard dependencies.
83 'hard_dependency': 1, 81 'hard_dependency': 1,
84 }, 82 },
85 ], 83 ],
86 }], 84 }],
87 ], 85 ],
88 } 86 }
OLDNEW
« no previous file with comments | « webkit/common/user_agent/user_agent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698