OLD | NEW |
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': { | |
7 'webkit_src_dir': '../../third_party/WebKit/Source', | |
8 }, | |
9 'targets': [ | 6 'targets': [ |
10 { | 7 { |
11 'target_name': 'user_agent', | 8 'target_name': 'user_agent', |
12 'type': '<(component)', | 9 'type': '<(component)', |
13 'defines': [ | 10 'defines': [ |
14 'WEBKIT_USER_AGENT_IMPLEMENTATION', | 11 'WEBKIT_USER_AGENT_IMPLEMENTATION', |
15 ], | 12 ], |
16 'dependencies': [ | 13 'dependencies': [ |
17 '<(DEPTH)/base/base.gyp:base', | 14 '<(DEPTH)/base/base.gyp:base', |
18 '<(DEPTH)/base/base.gyp:base_i18n', | 15 '<(DEPTH)/base/base.gyp:base_i18n', |
(...skipping 28 matching lines...) Expand all Loading... |
47 'targets': [ | 44 'targets': [ |
48 { | 45 { |
49 'target_name': 'webkit_version', | 46 'target_name': 'webkit_version', |
50 'type': 'none', | 47 'type': 'none', |
51 'actions': [ | 48 'actions': [ |
52 { | 49 { |
53 'action_name': 'webkit_version', | 50 'action_name': 'webkit_version', |
54 'inputs': [ | 51 'inputs': [ |
55 '<(script)', | 52 '<(script)', |
56 '../../build/util/lastchange.py', # Used by the script. | 53 '../../build/util/lastchange.py', # Used by the script. |
57 # This depends on the svn revision of webkit_src_dir but does | 54 # This depends on the svn revision of third_party/WebKit but doe
s |
58 # not list it as a dependency. Incremental builds will have | 55 # not list it as a dependency. Incremental builds will have |
59 # the wrong WEBKIT_SVN_REVISION. | 56 # the wrong WEBKIT_SVN_REVISION. |
60 ], | 57 ], |
61 'outputs': [ | 58 'outputs': [ |
62 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', | 59 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', |
63 ], | 60 ], |
64 'action': ['python', '<(script)', '<(webkit_src_dir)', | 61 'action': ['python', '<(script)', '../../third_party/WebKit/Source
', |
65 '<(SHARED_INTERMEDIATE_DIR)'], | 62 '<(SHARED_INTERMEDIATE_DIR)'], |
66 'variables': { | 63 'variables': { |
67 'script': '../build/webkit_version.py', | 64 'script': '../build/webkit_version.py', |
68 }, | 65 }, |
69 }, | 66 }, |
70 ], | 67 ], |
71 'direct_dependent_settings': { | 68 'direct_dependent_settings': { |
72 'include_dirs': [ | 69 'include_dirs': [ |
73 '<(SHARED_INTERMEDIATE_DIR)', | 70 '<(SHARED_INTERMEDIATE_DIR)', |
74 ], | 71 ], |
75 }, | 72 }, |
76 # Dependents may rely on files generated by this target or one of its | 73 # Dependents may rely on files generated by this target or one of its |
77 # own hard dependencies. | 74 # own hard dependencies. |
78 'hard_dependency': 1, | 75 'hard_dependency': 1, |
79 }, | 76 }, |
80 ], | 77 ], |
81 }], | 78 }], |
82 ], | 79 ], |
83 } | 80 } |
OLD | NEW |