OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'conditions': [ |
8 ['inside_chromium_build==0', { | 8 ['inside_chromium_build==0', { |
9 'webkit_src_dir': '../../../..', | 9 'webkit_src_dir': '../../../..', |
10 },{ | 10 },{ |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 98 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
99 ], | 99 ], |
100 }, | 100 }, |
101 'conditions': [ | 101 'conditions': [ |
102 ['OS=="win"', { | 102 ['OS=="win"', { |
103 'dependencies': ['<(DEPTH)/build/win/system.gyp:cygwin'], | 103 'dependencies': ['<(DEPTH)/build/win/system.gyp:cygwin'], |
104 }], | 104 }], |
105 ], | 105 ], |
106 }, | 106 }, |
107 { | 107 { |
| 108 'target_name': 'webkit_user_agent', |
| 109 'type': '<(library)', |
| 110 'msvs_guid': 'DB162DE1-7D56-4C4A-8A9F-80D396CD7AA8', |
| 111 'dependencies': [ |
| 112 '<(DEPTH)/app/app.gyp:app_base', |
| 113 '<(DEPTH)/base/base.gyp:base_i18n', |
| 114 ], |
| 115 'actions': [ |
| 116 { |
| 117 'action_name': 'webkit_version', |
| 118 'inputs': [ |
| 119 '../build/webkit_version.py', |
| 120 '<(webkit_src_dir)/WebCore/Configurations/Version.xcconfig', |
| 121 ], |
| 122 'outputs': [ |
| 123 '<(INTERMEDIATE_DIR)/webkit_version.h', |
| 124 ], |
| 125 'action': ['python', '<@(_inputs)', '<(INTERMEDIATE_DIR)'], |
| 126 }, |
| 127 ], |
| 128 'include_dirs': [ |
| 129 '<(INTERMEDIATE_DIR)', |
| 130 ], |
| 131 'sources': [ |
| 132 'user_agent.cc', |
| 133 'user_agent.h', |
| 134 ], |
| 135 # Dependents may rely on files generated by this target or one of its |
| 136 # own hard dependencies. |
| 137 'hard_dependency': 1, |
| 138 'conditions': [ |
| 139 ], |
| 140 }, |
| 141 { |
108 'target_name': 'glue', | 142 'target_name': 'glue', |
109 'type': '<(library)', | 143 'type': '<(library)', |
110 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09', | 144 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09', |
111 'dependencies': [ | 145 'dependencies': [ |
112 '<(DEPTH)/app/app.gyp:app_base', | 146 '<(DEPTH)/app/app.gyp:app_base', |
113 '<(DEPTH)/base/base.gyp:base_i18n', | 147 '<(DEPTH)/base/base.gyp:base_i18n', |
114 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', | 148 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', |
115 '<(DEPTH)/net/net.gyp:net', | 149 '<(DEPTH)/net/net.gyp:net', |
116 '<(DEPTH)/printing/printing.gyp:printing', | 150 '<(DEPTH)/printing/printing.gyp:printing', |
117 '<(DEPTH)/skia/skia.gyp:skia', | 151 '<(DEPTH)/skia/skia.gyp:skia', |
118 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 152 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
119 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 153 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
120 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 154 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
121 '<(DEPTH)/third_party/ppapi/ppapi.gyp:ppapi_c', | 155 '<(DEPTH)/third_party/ppapi/ppapi.gyp:ppapi_c', |
122 'webkit_resources', | 156 'webkit_resources', |
123 'webkit_strings', | 157 'webkit_strings', |
| 158 'webkit_user_agent', |
124 ], | 159 ], |
125 'actions': [ | 160 'actions': [ |
126 { | |
127 'action_name': 'webkit_version', | |
128 'inputs': [ | |
129 '../build/webkit_version.py', | |
130 '<(webkit_src_dir)/WebCore/Configurations/Version.xcconfig', | |
131 ], | |
132 'outputs': [ | |
133 '<(INTERMEDIATE_DIR)/webkit_version.h', | |
134 ], | |
135 'action': ['python', '<@(_inputs)', '<(INTERMEDIATE_DIR)'], | |
136 }, | |
137 ], | 161 ], |
138 'include_dirs': [ | 162 'include_dirs': [ |
139 '<(INTERMEDIATE_DIR)', | 163 '<(INTERMEDIATE_DIR)', |
140 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 164 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
141 ], | 165 ], |
142 'sources': [ | 166 'sources': [ |
143 # This list contains all .h, .cc, and .mm files in glue except for | 167 # This list contains all .h, .cc, and .mm files in glue except for |
144 # those in the test subdirectory and those with unittest in in their | 168 # those in the test subdirectory and those with unittest in in their |
145 # names. | 169 # names. |
146 'media/buffered_data_source.cc', | 170 'media/buffered_data_source.cc', |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 }], | 447 }], |
424 ['inside_chromium_build==0', { | 448 ['inside_chromium_build==0', { |
425 'dependencies': [ | 449 'dependencies': [ |
426 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 450 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
427 ], | 451 ], |
428 }], | 452 }], |
429 ], | 453 ], |
430 }, | 454 }, |
431 ], | 455 ], |
432 } | 456 } |
OLD | NEW |