OLD | NEW |
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_DATABASE=1', | 8 'ENABLE_DATABASE=1', |
9 'ENABLE_DASHBOARD_SUPPORT=0', | 9 'ENABLE_DASHBOARD_SUPPORT=0', |
10 'ENABLE_JAVASCRIPT_DEBUGGER=0', | 10 'ENABLE_JAVASCRIPT_DEBUGGER=0', |
(...skipping 4093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4104 ], | 4104 ], |
4105 'direct_dependent_settings': { | 4105 'direct_dependent_settings': { |
4106 'defines': [ | 4106 'defines': [ |
4107 'WEBKIT_USING_SKIA', | 4107 'WEBKIT_USING_SKIA', |
4108 ], | 4108 ], |
4109 }, | 4109 }, |
4110 }], | 4110 }], |
4111 ], | 4111 ], |
4112 }, | 4112 }, |
4113 { | 4113 { |
| 4114 'target_name': 'webkit_resources', |
| 4115 'type': 'none', |
| 4116 'dependencies': [ |
| 4117 'webcore', |
| 4118 'webkit', |
| 4119 '../net/net.gyp:net', |
| 4120 ], |
| 4121 'rules': [ |
| 4122 { |
| 4123 'rule_name': 'grit', |
| 4124 'extension': 'grd', |
| 4125 'inputs': [ |
| 4126 '../tools/grit/grit.py', |
| 4127 ], |
| 4128 'outputs': [ |
| 4129 '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/<(RULE_INPUT_ROOT).h', |
| 4130 ], |
| 4131 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build
', '-o', '<(SHARED_INTERMEDIATE_DIR)/webkit'], |
| 4132 }, |
| 4133 ], |
| 4134 'sources': [ |
| 4135 # grit rule |
| 4136 'glue/webkit_resources.grd', |
| 4137 'glue/webkit_strings.grd', |
| 4138 ], |
| 4139 'direct_dependent_settings': { |
| 4140 'include_dirs': [ |
| 4141 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 4142 ], |
| 4143 }, |
| 4144 }, |
| 4145 { |
4114 'target_name': 'glue', | 4146 'target_name': 'glue', |
4115 'type': 'static_library', | 4147 'type': 'static_library', |
4116 'dependencies': [ | 4148 'dependencies': [ |
4117 'webcore', | 4149 'webcore', |
4118 'webkit', | 4150 'webkit', |
4119 '../net/net.gyp:net', | 4151 '../net/net.gyp:net', |
| 4152 'webkit_resources', |
4120 ], | 4153 ], |
4121 'actions': [ | 4154 'actions': [ |
4122 { | 4155 { |
4123 'action_name': 'webkit_version', | 4156 'action_name': 'webkit_version', |
4124 'inputs': [ | 4157 'inputs': [ |
4125 'build/webkit_version.py', | 4158 'build/webkit_version.py', |
4126 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig', | 4159 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig', |
4127 ], | 4160 ], |
4128 'outputs': [ | 4161 'outputs': [ |
4129 '<(INTERMEDIATE_DIR)/webkit_version.h', | 4162 '<(INTERMEDIATE_DIR)/webkit_version.h', |
4130 ], | 4163 ], |
4131 'action': ['python', '<@(_inputs)', '<(INTERMEDIATE_DIR)'], | 4164 'action': ['python', '<@(_inputs)', '<(INTERMEDIATE_DIR)'], |
4132 }, | 4165 }, |
4133 ], | 4166 ], |
4134 'rules': [ | |
4135 { | |
4136 'rule_name': 'grit', | |
4137 'extension': 'grd', | |
4138 'inputs': [ | |
4139 '../tools/grit/grit.py', | |
4140 ], | |
4141 'outputs': [ | |
4142 '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/<(RULE_INPUT_ROOT).h', | |
4143 ], | |
4144 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build
', '-o', '<(SHARED_INTERMEDIATE_DIR)/webkit'], | |
4145 }, | |
4146 ], | |
4147 'include_dirs': [ | 4167 'include_dirs': [ |
4148 '<(INTERMEDIATE_DIR)', | 4168 '<(INTERMEDIATE_DIR)', |
4149 ], | 4169 ], |
4150 'sources': [ | 4170 'sources': [ |
4151 # webkit_version rule | 4171 # webkit_version rule |
4152 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig', | 4172 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig', |
4153 | 4173 |
4154 # grit rule | |
4155 'glue/webkit_resources.grd', | |
4156 'glue/webkit_strings.grd', | |
4157 | |
4158 # This list contains all .h, .cc, and .mm files in glue except for | 4174 # This list contains all .h, .cc, and .mm files in glue except for |
4159 # those in the test subdirectory and those with unittest in in their | 4175 # those in the test subdirectory and those with unittest in in their |
4160 # names. | 4176 # names. |
4161 'glue/plugins/mozilla_extensions.cc', | 4177 'glue/plugins/mozilla_extensions.cc', |
4162 'glue/plugins/mozilla_extensions.h', | 4178 'glue/plugins/mozilla_extensions.h', |
4163 'glue/plugins/nphostapi.h', | 4179 'glue/plugins/nphostapi.h', |
4164 'glue/plugins/plugin_constants_win.h', | 4180 'glue/plugins/plugin_constants_win.h', |
4165 'glue/plugins/plugin_host.cc', | 4181 'glue/plugins/plugin_host.cc', |
4166 'glue/plugins/plugin_host.h', | 4182 'glue/plugins/plugin_host.h', |
4167 'glue/plugins/plugin_instance.cc', | 4183 'glue/plugins/plugin_instance.cc', |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4333 'glue/weburlrequest_impl.h', | 4349 'glue/weburlrequest_impl.h', |
4334 'glue/webview.h', | 4350 'glue/webview.h', |
4335 'glue/webview_delegate.cc', | 4351 'glue/webview_delegate.cc', |
4336 'glue/webview_delegate.h', | 4352 'glue/webview_delegate.h', |
4337 'glue/webview_impl.cc', | 4353 'glue/webview_impl.cc', |
4338 'glue/webview_impl.h', | 4354 'glue/webview_impl.h', |
4339 'glue/webwidget.h', | 4355 'glue/webwidget.h', |
4340 'glue/webwidget_delegate.h', | 4356 'glue/webwidget_delegate.h', |
4341 'glue/webwidget_impl.cc', | 4357 'glue/webwidget_impl.cc', |
4342 'glue/webwidget_impl.h', | 4358 'glue/webwidget_impl.h', |
| 4359 'glue/webworker.h', |
| 4360 'glue/webworker_impl.cc', |
| 4361 'glue/webworker_impl.h', |
| 4362 'glue/webworkerclient_impl.cc', |
| 4363 'glue/webworkerclient_impl.h', |
4343 'glue/window_open_disposition.h', | 4364 'glue/window_open_disposition.h', |
4344 'pending/AccessibleBase.cpp', | 4365 'pending/AccessibleBase.cpp', |
4345 'pending/AccessibleBase.h', | 4366 'pending/AccessibleBase.h', |
4346 'pending/AccessibleDocument.cpp', | 4367 'pending/AccessibleDocument.cpp', |
4347 'pending/AccessibleDocument.h', | 4368 'pending/AccessibleDocument.h', |
4348 ], | 4369 ], |
4349 # When glue is a dependency, it needs to be a hard dependency. | 4370 # When glue is a dependency, it needs to be a hard dependency. |
4350 # Dependents may rely on files generated by this target or one of its | 4371 # Dependents may rely on files generated by this target or one of its |
4351 # own hard dependencies. | 4372 # own hard dependencies. |
4352 'hard_dependency': 1, | 4373 'hard_dependency': 1, |
(...skipping 19 matching lines...) Expand all Loading... |
4372 # renamed webplugin_delegate_impl_win.cc, then we could get rid | 4393 # renamed webplugin_delegate_impl_win.cc, then we could get rid |
4373 # of the explicit exclude. | 4394 # of the explicit exclude. |
4374 'glue/plugins/webplugin_delegate_impl.cc', | 4395 'glue/plugins/webplugin_delegate_impl.cc', |
4375 | 4396 |
4376 # These files are Windows-only now but may be ported to other | 4397 # These files are Windows-only now but may be ported to other |
4377 # platforms. | 4398 # platforms. |
4378 'glue/plugins/mozilla_extensions.cc', | 4399 'glue/plugins/mozilla_extensions.cc', |
4379 'glue/plugins/webplugin_delegate_impl.cc', | 4400 'glue/plugins/webplugin_delegate_impl.cc', |
4380 'glue/glue_accessibility.cc', | 4401 'glue/glue_accessibility.cc', |
4381 'glue/webdropdata.cc', | 4402 'glue/webdropdata.cc', |
| 4403 'glue/webworker.h', |
| 4404 'glue/webworker_impl.cc', |
| 4405 'glue/webworker_impl.h', |
| 4406 'glue/webworkerclient_impl.cc', |
| 4407 'glue/webworkerclient_impl.h', |
4382 'pending/AccessibleBase.cpp', | 4408 'pending/AccessibleBase.cpp', |
4383 'pending/AccessibleDocument.cpp', | 4409 'pending/AccessibleDocument.cpp', |
4384 ], | 4410 ], |
4385 }, { # else: OS=="win" | 4411 }, { # else: OS=="win" |
4386 'sources/': [['exclude', '_posix\\.cc$']], | 4412 'sources/': [['exclude', '_posix\\.cc$']], |
4387 'dependencies': [ | 4413 'dependencies': [ |
4388 'activex_shim/activex_shim.gyp:activex_shim', | 4414 'activex_shim/activex_shim.gyp:activex_shim', |
4389 'default_plugin/default_plugin.gyp:default_plugin', | 4415 'default_plugin/default_plugin.gyp:default_plugin', |
4390 ], | 4416 ], |
4391 'sources!': [ | 4417 'sources!': [ |
4392 'glue/plugins/plugin_stubs.cc', | 4418 'glue/plugins/plugin_stubs.cc', |
4393 ], | 4419 ], |
4394 }], | 4420 }], |
4395 ], | 4421 ], |
4396 }, | 4422 }, |
4397 ], | 4423 ], |
4398 } | 4424 } |
OLD | NEW |