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 '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': [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 ['OS != "ios"', { | 43 ['OS != "ios"', { |
44 'targets': [ | 44 'targets': [ |
45 { | 45 { |
46 'target_name': 'webkit_version', | 46 'target_name': 'webkit_version', |
47 'type': 'none', | 47 'type': 'none', |
48 'actions': [ | 48 'actions': [ |
49 { | 49 { |
50 'action_name': 'webkit_version', | 50 'action_name': 'webkit_version', |
51 'inputs': [ | 51 'inputs': [ |
52 '<(script)', | 52 '<(script)', |
53 '../../../build/util/lastchange.py', # Used by the script. | 53 '<(lastchange)', |
54 # This depends on the svn revision of third_party/WebKit but doe
s | 54 '<(template)', |
55 # not list it as a dependency. Incremental builds will have | |
56 # the wrong WEBKIT_SVN_REVISION. | |
57 ], | 55 ], |
58 'outputs': [ | 56 'outputs': [ |
59 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', | 57 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', |
60 ], | 58 ], |
61 'action': ['python', '<(script)', '../../../third_party/WebKit/Sou
rce', | 59 'action': ['python', |
62 '<(SHARED_INTERMEDIATE_DIR)'], | 60 '<(script)', |
| 61 '-f', '<(lastchange)', |
| 62 '<(template)', |
| 63 '<@(_outputs)', |
| 64 ], |
63 'variables': { | 65 'variables': { |
64 'script': '../build/webkit_version.py', | 66 'script': '<(DEPTH)/chrome/tools/build/version.py', |
| 67 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink', |
| 68 'template': '<(DEPTH)/webkit/build/webkit_version.h.in', |
65 }, | 69 }, |
66 }, | 70 }, |
67 ], | 71 ], |
68 'direct_dependent_settings': { | 72 'direct_dependent_settings': { |
69 'include_dirs': [ | 73 'include_dirs': [ |
70 '<(SHARED_INTERMEDIATE_DIR)', | 74 '<(SHARED_INTERMEDIATE_DIR)', |
71 ], | 75 ], |
72 }, | 76 }, |
73 # Dependents may rely on files generated by this target or one of its | 77 # Dependents may rely on files generated by this target or one of its |
74 # own hard dependencies. | 78 # own hard dependencies. |
75 'hard_dependency': 1, | 79 'hard_dependency': 1, |
76 }, | 80 }, |
77 ], | 81 ], |
78 }], | 82 }], |
79 ], | 83 ], |
80 } | 84 } |
OLD | NEW |