diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 02:03:47 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 02:03:47 +0000 |
commit | 2cc098e42e7b46513687c210de4bacbae4009ec3 (patch) | |
tree | 4a3e26216656218e428880bd6f28d1ab8f9eae18 /webkit | |
parent | 19efc6bed985bff75f74652ea0583503809f66ff (diff) | |
download | chromium_src-2cc098e42e7b46513687c210de4bacbae4009ec3.zip chromium_src-2cc098e42e7b46513687c210de4bacbae4009ec3.tar.gz chromium_src-2cc098e42e7b46513687c210de4bacbae4009ec3.tar.bz2 |
Move devtool resources from webkit_resources.grd to an upstream grd file.
This gets rid of third_party references in webkit_resources.grd which will allow us to build this file upstream.
Review URL: http://codereview.chromium.org/792005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webkit_resources.grd | 2 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell.gypi | 3 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell_devtools_agent.cc | 2 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell_win.cc | 1 | ||||
-rw-r--r-- | webkit/webkit.gyp | 16 |
5 files changed, 21 insertions, 3 deletions
diff --git a/webkit/glue/webkit_resources.grd b/webkit/glue/webkit_resources.grd index aaeea52..2d2df0f 100644 --- a/webkit/glue/webkit_resources.grd +++ b/webkit/glue/webkit_resources.grd @@ -18,8 +18,6 @@ <include name="IDR_SEARCH_MAGNIFIER" file="resources\search_magnifier.png" type="BINDATA" /> <include name="IDR_SEARCH_MAGNIFIER_RESULTS" file="resources\search_magnifier_results.png" type="BINDATA" /> <include name="IDR_TEXTAREA_RESIZER" file="resources\textarea_resize_corner.png" type="BINDATA" /> - <include name="IDR_DEVTOOLS_INJECT_DISPATCH_JS" file="..\..\third_party\WebKit\WebKit\chromium\src\js\InjectDispatch.js" type="BINDATA"/> - <include name="IDR_DEVTOOLS_INJECT_WEBKIT_JS" file="..\..\third_party\WebKit\WebCore\inspector\front-end\InjectedScript.js" type="BINDATA"/> <include name="IDR_MEDIA_PLAY_BUTTON" file="resources\media_play.png" type="BINDATA" /> <include name="IDR_MEDIA_PLAY_BUTTON_DISABLED" file="resources\media_play_disabled.png" type="BINDATA" /> <include name="IDR_MEDIA_PAUSE_BUTTON" file="resources\media_pause.png" type="BINDATA" /> diff --git a/webkit/tools/test_shell/test_shell.gypi b/webkit/tools/test_shell/test_shell.gypi index a1bd3cb..ef02fb3 100644 --- a/webkit/tools/test_shell/test_shell.gypi +++ b/webkit/tools/test_shell/test_shell.gypi @@ -201,6 +201,7 @@ 'pak_inputs': [ '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/test_shell/test_shell_resources.pak', + '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak', ], @@ -277,6 +278,7 @@ # 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_chromium_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', ], @@ -310,6 +312,7 @@ 'action_name': 'repack_locale', 'variables': { 'pak_inputs': [ + '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', ], diff --git a/webkit/tools/test_shell/test_shell_devtools_agent.cc b/webkit/tools/test_shell/test_shell_devtools_agent.cc index 04308cd..d517709 100644 --- a/webkit/tools/test_shell/test_shell_devtools_agent.cc +++ b/webkit/tools/test_shell/test_shell_devtools_agent.cc @@ -6,7 +6,7 @@ #include "third_party/WebKit/WebKit/chromium/src/WebViewImpl.h" #undef LOG -#include "grit/webkit_resources.h" +#include "grit/webkit_chromium_resources.h" #include "webkit/tools/test_shell/test_shell_devtools_agent.h" #include "webkit/tools/test_shell/test_shell_devtools_callargs.h" #include "webkit/tools/test_shell/test_shell_devtools_client.h" diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc index b553ee9..0e4e6c1 100644 --- a/webkit/tools/test_shell/test_shell_win.cc +++ b/webkit/tools/test_shell/test_shell_win.cc @@ -24,6 +24,7 @@ #include "base/win_util.h" #include "breakpad/src/client/windows/handler/exception_handler.h" #include "grit/webkit_resources.h" +#include "grit/webkit_chromium_resources.h" #include "net/base/net_module.h" #include "net/url_request/url_request_file_job.h" #include "skia/ext/bitmap_platform_device.h" diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index 0754c9f..6422e6a 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -70,6 +70,22 @@ '-o', '<(grit_out_dir)'], 'message': 'Generating resources from <(input_path)', }, + { + 'action_name': 'webkit_chromium_resources', + 'variables': { + 'input_path': '../third_party/WebKit/WebKit/chromium/WebKit.grd', + }, + 'inputs': [ + '<!@(<(grit_info_cmd) --inputs <(input_path))', + ], + 'outputs': [ + '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))', + ], + 'action': ['<@(grit_cmd)', + '-i', '<(input_path)', 'build', + '-o', '<(grit_out_dir)'], + 'message': 'Generating resources from <(input_path)', + }, ], 'direct_dependent_settings': { 'include_dirs': [ |