OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |