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

Side by Side Diff: webkit/webkit.gyp

Issue 100174: add .pak files to list of grd outputs (so make can compute dependencies) (Closed)
Patch Set: rebase Created 11 years, 7 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 'variables': { 6 'variables': {
7 'feature_defines': [ 7 'feature_defines': [
8 'ENABLE_CHANNEL_MESSAGING=1', 8 'ENABLE_CHANNEL_MESSAGING=1',
9 'ENABLE_DATABASE=1', 9 'ENABLE_DATABASE=1',
10 'ENABLE_DASHBOARD_SUPPORT=0', 10 'ENABLE_DASHBOARD_SUPPORT=0',
(...skipping 4233 matching lines...) Expand 10 before | Expand all | Expand 10 after
4244 ], 4244 ],
4245 }, { # else: OS!="win" 4245 }, { # else: OS!="win"
4246 'sources/': [['exclude', '/win/']], 4246 'sources/': [['exclude', '/win/']],
4247 }], 4247 }],
4248 ], 4248 ],
4249 }, 4249 },
4250 { 4250 {
4251 'target_name': 'webkit_resources', 4251 'target_name': 'webkit_resources',
4252 'type': 'none', 4252 'type': 'none',
4253 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9', 4253 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9',
4254 'dependencies': [ 4254 'variables': {
4255 'webcore', 4255 'grit_path': '../tools/grit/grit.py',
4256 'webkit', 4256 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
4257 '../net/net.gyp:net', 4257 },
4258 ], 4258 'actions': [
4259 'rules': [
4260 { 4259 {
4261 'rule_name': 'grit', 4260 'action_name': 'webkit_resources',
4262 'extension': 'grd', 4261 'variables': {
4262 'input_path': 'glue/webkit_resources.grd',
4263 },
4263 'inputs': [ 4264 'inputs': [
4264 '../tools/grit/grit.py', 4265 '<(input_path)',
4265 ], 4266 ],
4266 'outputs': [ 4267 'outputs': [
4267 '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/<(RULE_INPUT_ROOT).h', 4268 '<(grit_out_dir)/grit/webkit_resources.h',
4269 '<(grit_out_dir)/webkit_resources.pak',
4270 '<(grit_out_dir)/webkit_resources.rc',
4268 ], 4271 ],
4269 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build ', '-o', '<(SHARED_INTERMEDIATE_DIR)/webkit'], 4272 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', ' -o', '<(grit_out_dir)'],
4273 'message': 'Generating resources from <(input_path)',
4270 }, 4274 },
4271 ], 4275 ],
4272 'sources': [
4273 # grit rule
4274 'glue/webkit_resources.grd',
4275 'glue/webkit_strings.grd',
4276 ],
4277 'direct_dependent_settings': { 4276 'direct_dependent_settings': {
4278 'include_dirs': [ 4277 'include_dirs': [
4278 '<(SHARED_INTERMEDIATE_DIR)/webkit',
4279 ],
4280 },
4281 },
4282 {
4283 'target_name': 'webkit_strings',
4284 'type': 'none',
4285 'msvs_guid': '60B43839-95E6-4526-A661-209F16335E0E',
4286 'variables': {
4287 'grit_path': '../tools/grit/grit.py',
4288 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
4289 },
4290 'actions': [
4291 {
4292 'action_name': 'webkit_strings',
4293 'variables': {
4294 'input_path': 'glue/webkit_strings.grd',
4295 },
4296 'inputs': [
4297 '<(input_path)',
4298 ],
4299 'outputs': [
4300 '<(grit_out_dir)/grit/webkit_strings.h',
4301 '<(grit_out_dir)/webkit_strings_en-US.pak',
4302 '<(grit_out_dir)/webkit_strings_en-US.rc',
4303 ],
4304 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', ' -o', '<(grit_out_dir)'],
4305 'message': 'Generating resources from <(input_path)',
4306 },
4307 ],
4308 'direct_dependent_settings': {
4309 'include_dirs': [
4279 '<(SHARED_INTERMEDIATE_DIR)/webkit', 4310 '<(SHARED_INTERMEDIATE_DIR)/webkit',
4280 ], 4311 ],
4281 }, 4312 },
4282 }, 4313 },
4283 { 4314 {
4284 'target_name': 'glue', 4315 'target_name': 'glue',
4285 'type': '<(library)', 4316 'type': '<(library)',
4286 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09', 4317 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09',
4287 'dependencies': [ 4318 'dependencies': [
4288 'webcore', 4319 'webcore',
4289 'webkit', 4320 'webkit',
4290 '../net/net.gyp:net', 4321 '../net/net.gyp:net',
4291 'webkit_resources', 4322 'webkit_resources',
4323 'webkit_strings',
4292 ], 4324 ],
4293 'actions': [ 4325 'actions': [
4294 { 4326 {
4295 'action_name': 'webkit_version', 4327 'action_name': 'webkit_version',
4296 'inputs': [ 4328 'inputs': [
4297 'build/webkit_version.py', 4329 'build/webkit_version.py',
4298 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig', 4330 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig',
4299 ], 4331 ],
4300 'outputs': [ 4332 'outputs': [
4301 '<(INTERMEDIATE_DIR)/webkit_version.h', 4333 '<(INTERMEDIATE_DIR)/webkit_version.h',
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
4472 'glue/webhistoryitem_impl.cc', 4504 'glue/webhistoryitem_impl.cc',
4473 'glue/webhistoryitem_impl.h', 4505 'glue/webhistoryitem_impl.h',
4474 'glue/webkit_glue.cc', 4506 'glue/webkit_glue.cc',
4475 'glue/webkit_glue.h', 4507 'glue/webkit_glue.h',
4476 'glue/webkitclient_impl.cc', 4508 'glue/webkitclient_impl.cc',
4477 'glue/webkitclient_impl.h', 4509 'glue/webkitclient_impl.h',
4478 'glue/webmediaplayer.h', 4510 'glue/webmediaplayer.h',
4479 'glue/webmediaplayer_delegate.h', 4511 'glue/webmediaplayer_delegate.h',
4480 'glue/webmediaplayer_impl.cc', 4512 'glue/webmediaplayer_impl.cc',
4481 'glue/webmediaplayer_impl.h', 4513 'glue/webmediaplayer_impl.h',
4482 » 'glue/webmenurunner_mac.h', 4514 'glue/webmenurunner_mac.h',
4483 » 'glue/webmenurunner_mac.mm', 4515 'glue/webmenurunner_mac.mm',
4484 'glue/webplugin.h', 4516 'glue/webplugin.h',
4485 'glue/webplugin_delegate.cc', 4517 'glue/webplugin_delegate.cc',
4486 'glue/webplugin_delegate.h', 4518 'glue/webplugin_delegate.h',
4487 'glue/webplugin_impl.cc', 4519 'glue/webplugin_impl.cc',
4488 'glue/webplugin_impl.h', 4520 'glue/webplugin_impl.h',
4489 'glue/webplugininfo.h', 4521 'glue/webplugininfo.h',
4490 'glue/webpreferences.h', 4522 'glue/webpreferences.h',
4491 'glue/webresponse.h', 4523 'glue/webresponse.h',
4492 'glue/webresponse_impl.h', 4524 'glue/webresponse_impl.h',
4493 'glue/webtextinput.h', 4525 'glue/webtextinput.h',
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
4742 '../third_party/WebKit/WebCore/inspector/front-end/Images/userInputP reviousIcon.png', 4774 '../third_party/WebKit/WebCore/inspector/front-end/Images/userInputP reviousIcon.png',
4743 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningIco n.png', 4775 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningIco n.png',
4744 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningMed iumIcon.png', 4776 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningMed iumIcon.png',
4745 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningsEr rors.png', 4777 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningsEr rors.png',
4746 ], 4778 ],
4747 }, 4779 },
4748 ], 4780 ],
4749 }, 4781 },
4750 ], 4782 ],
4751 } 4783 }
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