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

Side by Side Diff: webkit/user_agent/webkit_user_agent.gypi

Issue 14096010: Remove Chromium dependency on WebCore/Configurations/Version.xcconfig file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove a bogus comment Created 7 years, 8 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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 'variables': { 6 'variables': {
7 'conditions': [ 7 'webkit_src_dir': '../../third_party/WebKit/Source',
8 ['inside_chromium_build==0', {
9 'webkit_src_dir': '../../../../..',
10 },{
11 'webkit_src_dir': '../../third_party/WebKit',
12 }],
13 ],
14 }, 8 },
15 'targets': [ 9 'targets': [
16 { 10 {
17 'target_name': 'user_agent', 11 'target_name': 'user_agent',
18 'type': '<(component)', 12 'type': '<(component)',
19 'defines': [ 13 'defines': [
20 'WEBKIT_USER_AGENT_IMPLEMENTATION', 14 'WEBKIT_USER_AGENT_IMPLEMENTATION',
21 ], 15 ],
22 'dependencies': [ 16 'dependencies': [
23 '<(DEPTH)/base/base.gyp:base', 17 '<(DEPTH)/base/base.gyp:base',
(...skipping 28 matching lines...) Expand all
52 ['OS != "ios"', { 46 ['OS != "ios"', {
53 'targets': [ 47 'targets': [
54 { 48 {
55 'target_name': 'webkit_version', 49 'target_name': 'webkit_version',
56 'type': 'none', 50 'type': 'none',
57 'actions': [ 51 'actions': [
58 { 52 {
59 'action_name': 'webkit_version', 53 'action_name': 'webkit_version',
60 'inputs': [ 54 'inputs': [
61 '<(script)', 55 '<(script)',
62 '<(webkit_src_dir)<(version_file)',
63 '../../build/util/lastchange.py', # Used by the script. 56 '../../build/util/lastchange.py', # Used by the script.
57 # This depends on the svn revision of webkit_src_dir but does
58 # not list it as a dependency. Incremental builds will have
59 # the wrong WEBKIT_SVN_REVISION.
64 ], 60 ],
65 'outputs': [ 61 'outputs': [
66 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', 62 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
67 ], 63 ],
68 'action': ['python', '<(script)', '<(webkit_src_dir)', 64 'action': ['python', '<(script)', '<(webkit_src_dir)',
69 '<(version_file)', '<(SHARED_INTERMEDIATE_DIR)'], 65 '<(SHARED_INTERMEDIATE_DIR)'],
70 'variables': { 66 'variables': {
71 'script': '../build/webkit_version.py', 67 'script': '../build/webkit_version.py',
72 # version_file is a relative path from |webkit_src_dir| to
73 # the version file. But gyp will eat the variable unless
74 # it looks like an absolute path, so write it like one and
75 # then use it carefully above.
76 'version_file': '/Source/WebCore/Configurations/Version.xcconfig ',
77 }, 68 },
78 }, 69 },
79 ], 70 ],
80 'direct_dependent_settings': { 71 'direct_dependent_settings': {
81 'include_dirs': [ 72 'include_dirs': [
82 '<(SHARED_INTERMEDIATE_DIR)', 73 '<(SHARED_INTERMEDIATE_DIR)',
83 ], 74 ],
84 }, 75 },
85 # Dependents may rely on files generated by this target or one of its 76 # Dependents may rely on files generated by this target or one of its
86 # own hard dependencies. 77 # own hard dependencies.
87 'hard_dependency': 1, 78 'hard_dependency': 1,
88 }, 79 },
89 ], 80 ],
90 }], 81 }],
91 ], 82 ],
92 } 83 }
OLDNEW
« webkit/build/webkit_version.py ('K') | « webkit/build/webkit_version.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698