Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: webkit/webkit.gyp

Issue 219007: Rolling back 26904, didn't take chrome branding into account.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/tools/test_shell/test_shell.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'includes': [ 6 'includes': [
7 '../third_party/WebKit/WebCore/WebCore.gypi', 7 '../third_party/WebKit/WebCore/WebCore.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 # TODO: remove this helper when we have loops in GYP 10 # TODO: remove this helper when we have loops in GYP
11 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py'], 11 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',],
12 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'],
13 'grit_cmd': ['python', '../tools/grit/grit.py'],
14 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
15 12
16 # We can't turn on warnings on Windows and Linux until we upstream the 13 # We can't turn on warnings on Windows and Linux until we upstream the
17 # WebKit API. 14 # WebKit API.
18 'conditions': [ 15 'conditions': [
19 ['OS=="mac"', { 16 ['OS=="mac"', {
20 'chromium_code': 1, 17 'chromium_code': 1,
21 }], 18 }],
22 ], 19 ],
23 }, 20 },
24 'targets': [ 21 'targets': [
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 ], 236 ],
240 }, { # else: OS!="win" 237 }, { # else: OS!="win"
241 'sources/': [['exclude', '/win/']], 238 'sources/': [['exclude', '/win/']],
242 }], 239 }],
243 ], 240 ],
244 }, 241 },
245 { 242 {
246 'target_name': 'webkit_resources', 243 'target_name': 'webkit_resources',
247 'type': 'none', 244 'type': 'none',
248 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9', 245 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9',
246 'variables': {
247 'grit_path': '../tools/grit/grit.py',
248 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
249 },
249 'actions': [ 250 'actions': [
250 { 251 {
251 'action_name': 'webkit_resources', 252 'action_name': 'webkit_resources',
252 'variables': { 253 'variables': {
253 'input_path': 'glue/webkit_resources.grd', 254 'input_path': 'glue/webkit_resources.grd',
254 }, 255 },
255 'inputs': [ 256 'inputs': [
256 '<!@(<(grit_info_cmd) --inputs <(input_path))', 257 '<(input_path)',
257 ], 258 ],
258 'outputs': [ 259 'outputs': [
259 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/webkit_resources\' <(input_path))', 260 '<(grit_out_dir)/grit/webkit_resources.h',
261 '<(grit_out_dir)/webkit_resources.pak',
262 '<(grit_out_dir)/webkit_resources.rc',
260 ], 263 ],
261 'action': ['<@(grit_cmd)', '-i', '<(input_path)', 'build', 264 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', ' -o', '<(grit_out_dir)'],
262 '-o', '<(grit_out_dir)/webkit_resources'],
263 'message': 'Generating resources from <(input_path)', 265 'message': 'Generating resources from <(input_path)',
264 }, 266 },
265 ], 267 ],
266 'direct_dependent_settings': { 268 'direct_dependent_settings': {
267 'include_dirs': [ 269 'include_dirs': [
268 '<(grit_out_dir)/webkit_resources', 270 '<(SHARED_INTERMEDIATE_DIR)/webkit',
269 ], 271 ],
270 }, 272 },
271 'conditions': [ 273 'conditions': [
272 ['OS=="win"', { 274 ['OS=="win"', {
273 'dependencies': ['../build/win/system.gyp:cygwin'], 275 'dependencies': ['../build/win/system.gyp:cygwin'],
274 }], 276 }],
275 ], 277 ],
276 }, 278 },
277 { 279 {
278 'target_name': 'webkit_strings', 280 'target_name': 'webkit_strings',
279 'type': 'none', 281 'type': 'none',
280 'msvs_guid': '60B43839-95E6-4526-A661-209F16335E0E', 282 'msvs_guid': '60B43839-95E6-4526-A661-209F16335E0E',
283 'variables': {
284 'grit_path': '../tools/grit/grit.py',
285 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
286 },
281 'actions': [ 287 'actions': [
282 { 288 {
283 'action_name': 'webkit_strings', 289 'action_name': 'webkit_strings',
284 'variables': { 290 'variables': {
285 'input_path': 'glue/webkit_strings.grd', 291 'input_path': 'glue/webkit_strings.grd',
286 }, 292 },
287 'inputs': [ 293 'inputs': [
288 '<!@(<(grit_info_cmd) --inputs <(input_path))', 294 '<(input_path)',
289 ], 295 ],
290 'outputs': [ 296 'outputs': [
291 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/webkit_strings\' < (input_path))', 297 '<(grit_out_dir)/grit/webkit_strings.h',
298 # TODO: remove this helper when we have loops in GYP
299 '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/webkit_strings_ZZLOCALE. pak\' <(locales))',
292 ], 300 ],
293 'action': ['<@(grit_cmd)', '-i', '<(input_path)', 'build', 301 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', ' -o', '<(grit_out_dir)'],
294 '-o', '<(grit_out_dir)/webkit_strings'],
295 'message': 'Generating resources from <(input_path)', 302 'message': 'Generating resources from <(input_path)',
296 }, 303 },
297 ], 304 ],
298 'direct_dependent_settings': { 305 'direct_dependent_settings': {
299 'include_dirs': [ 306 'include_dirs': [
300 '<(grit_out_dir)/webkit_strings', 307 '<(SHARED_INTERMEDIATE_DIR)/webkit',
301 ], 308 ],
302 }, 309 },
303 'conditions': [ 310 'conditions': [
304 ['OS=="win"', { 311 ['OS=="win"', {
305 'dependencies': ['../build/win/system.gyp:cygwin'], 312 'dependencies': ['../build/win/system.gyp:cygwin'],
306 }], 313 }],
307 ], 314 ],
308 }, 315 },
309 { 316 {
310 'target_name': 'appcache', 317 'target_name': 'appcache',
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 'files': [ 673 'files': [
667 674
668 '<@(webinspector_image_files)', 675 '<@(webinspector_image_files)',
669 676
670 ], 677 ],
671 }, 678 },
672 ], 679 ],
673 }, 680 },
674 ], # targets 681 ], # targets
675 } 682 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698