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 '../../../build/util/lastchange.py', # Used by the script. |
54 # This depends on the svn revision of third_party/WebKit but doe
s | 54 # This depends on the svn revision of third_party/WebKit but doe
s |
55 # not list it as a dependency. Incremental builds will have | 55 # not list it as a dependency. Incremental builds will have |
56 # the wrong WEBKIT_SVN_REVISION. | 56 # the wrong WEBKIT_SVN_REVISION. |
57 ], | 57 ], |
58 'outputs': [ | 58 'outputs': [ |
59 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', | 59 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h', |
60 ], | 60 ], |
61 'action': ['python', '<(script)', '../../third_party/WebKit/Source
', | 61 'action': ['python', '<(script)', '../../../third_party/WebKit/Sou
rce', |
62 '<(SHARED_INTERMEDIATE_DIR)'], | 62 '<(SHARED_INTERMEDIATE_DIR)'], |
63 'variables': { | 63 'variables': { |
64 'script': '../build/webkit_version.py', | 64 'script': '../build/webkit_version.py', |
65 }, | 65 }, |
66 }, | 66 }, |
67 ], | 67 ], |
68 'direct_dependent_settings': { | 68 'direct_dependent_settings': { |
69 'include_dirs': [ | 69 'include_dirs': [ |
70 '<(SHARED_INTERMEDIATE_DIR)', | 70 '<(SHARED_INTERMEDIATE_DIR)', |
71 ], | 71 ], |
72 }, | 72 }, |
73 # 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 |
74 # own hard dependencies. | 74 # own hard dependencies. |
75 'hard_dependency': 1, | 75 'hard_dependency': 1, |
76 }, | 76 }, |
77 ], | 77 ], |
78 }], | 78 }], |
79 ], | 79 ], |
80 } | 80 } |
OLD | NEW |