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 'conditions': [ |
| 136 ], |
| 137 }, |
| 138 { |
108 'target_name': 'glue', | 139 'target_name': 'glue', |
109 'type': '<(library)', | 140 'type': '<(library)', |
110 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09', | 141 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09', |
111 'dependencies': [ | 142 'dependencies': [ |
112 '<(DEPTH)/app/app.gyp:app_base', | 143 '<(DEPTH)/app/app.gyp:app_base', |
113 '<(DEPTH)/base/base.gyp:base_i18n', | 144 '<(DEPTH)/base/base.gyp:base_i18n', |
114 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', | 145 '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', |
115 '<(DEPTH)/net/net.gyp:net', | 146 '<(DEPTH)/net/net.gyp:net', |
116 '<(DEPTH)/printing/printing.gyp:printing', | 147 '<(DEPTH)/printing/printing.gyp:printing', |
117 '<(DEPTH)/skia/skia.gyp:skia', | 148 '<(DEPTH)/skia/skia.gyp:skia', |
118 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 149 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
119 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 150 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
120 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 151 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
121 '<(DEPTH)/third_party/ppapi/ppapi.gyp:ppapi_c', | 152 '<(DEPTH)/third_party/ppapi/ppapi.gyp:ppapi_c', |
122 'webkit_resources', | 153 'webkit_resources', |
123 'webkit_strings', | 154 'webkit_strings', |
| 155 'webkit_user_agent', |
124 ], | 156 ], |
125 'actions': [ | 157 '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 ], | 158 ], |
138 'include_dirs': [ | 159 'include_dirs': [ |
139 '<(INTERMEDIATE_DIR)', | 160 '<(INTERMEDIATE_DIR)', |
140 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 161 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
141 ], | 162 ], |
142 'sources': [ | 163 'sources': [ |
143 # This list contains all .h, .cc, and .mm files in glue except for | 164 # 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 | 165 # those in the test subdirectory and those with unittest in in their |
145 # names. | 166 # names. |
146 'media/buffered_data_source.cc', | 167 'media/buffered_data_source.cc', |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 }], | 446 }], |
426 ['inside_chromium_build==0', { | 447 ['inside_chromium_build==0', { |
427 'dependencies': [ | 448 'dependencies': [ |
428 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 449 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
429 ], | 450 ], |
430 }], | 451 }], |
431 ], | 452 ], |
432 }, | 453 }, |
433 ], | 454 ], |
434 } | 455 } |
OLD | NEW |