diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 21:27:30 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 21:27:30 +0000 |
commit | 1d4ecf498386569dfb438f7536b573213bbcaaba (patch) | |
tree | 2f05a90aa931e14aac6f9acee38ba471b5e55ea4 /webkit/glue/webkit_glue.gypi | |
parent | 80f6c7266b94973ce98e96ff743507a750dd7ae0 (diff) | |
download | chromium_src-1d4ecf498386569dfb438f7536b573213bbcaaba.zip chromium_src-1d4ecf498386569dfb438f7536b573213bbcaaba.tar.gz chromium_src-1d4ecf498386569dfb438f7536b573213bbcaaba.tar.bz2 |
Add support for exporting IPC messages from component DLLs.
This removes MessageWithTuple and MessageWithReply since it
is not easy to export a class that inherits from a template
specialization. The functionality of those classes are split
now between new classes, MessageSchema and SyncMessageSchema,
and being declared inline via macros.
The key point is that we want to avoid inlining the constructor
and Read functions for messages. That avoids code bloat since
those functions contain all of the parameter serialization and
deserialization code. Those are the functions that we really
want to have contained with component DLLs.
To export IPC messages from a DLL, it is necessary to #define
IPC_MESSAGE_EXPORT above message declarations. You can see this
in action here:
http://codereview.chromium.org/7687005/diff/41012/ppapi/proxy/ppapi_messages.h
Review URL: http://codereview.chromium.org/7768001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.gypi')
-rw-r--r-- | webkit/glue/webkit_glue.gypi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi index e6c9cea..9f648ec 100644 --- a/webkit/glue/webkit_glue.gypi +++ b/webkit/glue/webkit_glue.gypi @@ -104,7 +104,7 @@ 'type': 'static_library', 'dependencies': [ '<(DEPTH)/base/base.gyp:base_i18n', - '<(DEPTH)/base/base.gyp:base_static', + '<(DEPTH)/base/base.gyp:base_static', '<(DEPTH)/gpu/gpu.gyp:gles2_implementation', '<(DEPTH)/net/net.gyp:net', '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c', |