summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 01:44:18 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 01:44:18 +0000
commit08ca70052ad87e2fe620313585074b7ae453e64b (patch)
tree891a3a534949099fb714af1391495093dd0b3a75
parent46c4e184b382e2d385778882890d3f241b574ecb (diff)
downloadchromium_src-08ca70052ad87e2fe620313585074b7ae453e64b.zip
chromium_src-08ca70052ad87e2fe620313585074b7ae453e64b.tar.gz
chromium_src-08ca70052ad87e2fe620313585074b7ae453e64b.tar.bz2
Workaround scons and xcode not understanding #include MESSAGES_INTERNAL_FILE.
BUG=7828 Original patch by Craig Schlenter <craig.schlenter@gmail.com> at http://codereview.chromium.org/20529/show Review URL: http://codereview.chromium.org/27374 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10772 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/ipc_message_macros.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/common/ipc_message_macros.h b/chrome/common/ipc_message_macros.h
index cd8ed9b..18b6e9f 100644
--- a/chrome/common/ipc_message_macros.h
+++ b/chrome/common/ipc_message_macros.h
@@ -46,6 +46,16 @@
#error This file should only be included by X_messages.h, which needs to define MESSAGES_INTERNAL_FILE first.
#endif
+// Trick scons and xcode into seeing the possible real dependencies since they
+// don't understand #include MESSAGES_INTERNAL_FILE. See http://crbug.com/7828
+#if 0
+#include "chrome/common/ipc_sync_message_unittest.h"
+#include "chrome/common/plugin_messages_internal.h"
+#include "chrome/common/render_messages_internal.h"
+#include "chrome/renderer/dev_tools_messages_internal.h"
+#include "chrome/test/automation/automation_messages_internal.h"
+#endif
+
#ifndef IPC_MESSAGE_MACROS_INCLUDE_BLOCK
#define IPC_MESSAGE_MACROS_INCLUDE_BLOCK