diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 06:16:26 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 06:16:26 +0000 |
commit | 53761253f5a95f72bbd2bf5acaf91a0cbe6a55f7 (patch) | |
tree | 508310290775003706ae4e641e8cc1242285aba3 /webkit | |
parent | 2bfe57b0ef7c4b2af0941de8adbfe40042041838 (diff) | |
download | chromium_src-53761253f5a95f72bbd2bf5acaf91a0cbe6a55f7.zip chromium_src-53761253f5a95f72bbd2bf5acaf91a0cbe6a55f7.tar.gz chromium_src-53761253f5a95f72bbd2bf5acaf91a0cbe6a55f7.tar.bz2 |
Gyp updates for webkit build:
* Add missing resources (generated .rc files) to the Windows
'test_shell' sources, with appropriate dependences on
the net_resources and webkit_{resources,strings} targets.
* Add <(SHARED_INTERMEDIATE_DIR)/webkit to the 'webcore'
include_dirs, and in direct_dependent_settings, so webcore
and its targets can find the generated webkit/HTMLNames.h.
* Only remove build/precompiled_webkit.{cc,h} on non-Windows platforms.
* Add the glue/devtools/*.js files to the 'inspector_resources' target
so they get copied into resources\inspector.
Review URL: http://codereview.chromium.org/100355
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/test_shell/test_shell.gyp | 21 | ||||
-rw-r--r-- | webkit/webkit.gyp | 22 |
2 files changed, 36 insertions, 7 deletions
diff --git a/webkit/tools/test_shell/test_shell.gyp b/webkit/tools/test_shell/test_shell.gyp index f9a643e..2a31fff 100644 --- a/webkit/tools/test_shell/test_shell.gyp +++ b/webkit/tools/test_shell/test_shell.gyp @@ -181,14 +181,21 @@ }, 'conditions': [ ['OS=="win"', { - 'sources': [ '<@(test_shell_windows_resource_files)' ], + 'sources': [ + '<@(test_shell_windows_resource_files)', + # TODO: It would be nice to have these pulled in + # automatically from direct_dependent_settings in + # their various targets (net.gyp:net_resources, etc.), + # but that causes errors in other targets when + # resulting .res files get referenced multiple times. + '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', + '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', + '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', + ], }], ['OS=="linux"', { 'dependencies': [ '../../../build/linux/system.gyp:gtk', - '../../../net/net.gyp:net_resources', - '../../webkit.gyp:webkit_resources', - '../../webkit.gyp:webkit_strings', 'test_shell_resources', ], 'actions': [ @@ -239,6 +246,12 @@ 'process_outputs_as_mac_bundle_resources': 1, }, ] + }, { # OS != "mac" + 'dependencies': [ + '../../../net/net.gyp:net_resources', + '../../webkit.gyp:webkit_resources', + '../../webkit.gyp:webkit_strings', + ] }], ], }, diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index 71308a6..026f6b8 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -324,9 +324,6 @@ 'sources!': [ # GLib/GTK, even though its name doesn't really indicate. '../third_party/WebKit/JavaScriptCore/wtf/GOwnPtr.cpp', - - 'build/precompiled_webkit.cc', - 'build/precompiled_webkit.h', ], 'sources/': [ ['exclude', '(Default|Gtk|Mac|None|Qt|Win|Wx)\\.(cpp|mm)$'], @@ -369,6 +366,11 @@ 'include_dirs!': [ '<(SHARED_INTERMEDIATE_DIR)/webkit', ], + }, { # OS != "win" + 'sources!': [ + 'build/precompiled_webkit.cc', + 'build/precompiled_webkit.h', + ], }], ['OS=="linux"', { 'defines': ['WTF_USE_PTHREADS=1'], @@ -624,6 +626,7 @@ ], 'include_dirs': [ '<(INTERMEDIATE_DIR)', + '<(SHARED_INTERMEDIATE_DIR)/webkit', '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', 'port/bindings/v8', '<@(webcore_include_dirs)', @@ -3931,6 +3934,7 @@ ], 'direct_dependent_settings': { 'include_dirs': [ + '<(SHARED_INTERMEDIATE_DIR)/webkit', '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', 'port/bindings/v8', '<@(webcore_include_dirs)', @@ -4613,6 +4617,18 @@ { 'destination': '<(PRODUCT_DIR)/resources/inspector', 'files': [ + 'glue/devtools/js/base.js', + 'glue/devtools/js/debugger_agent.js', + 'glue/devtools/js/devtools.html', + 'glue/devtools/js/devtools.js', + 'glue/devtools/js/devtools_callback.js', + 'glue/devtools/js/devtools_host_stub.js', + 'glue/devtools/js/dom_agent.js', + 'glue/devtools/js/inject.js', + 'glue/devtools/js/inspector_controller.js', + 'glue/devtools/js/inspector_controller_impl.js', + 'glue/devtools/js/json.js', + 'glue/devtools/js/net_agent.js', 'inspector/debugger.css', 'inspector/debugger.html', 'inspector/DebuggerConsole.js', |