summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/npobject_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin/npobject_util.cc')
-rw-r--r--chrome/plugin/npobject_util.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/plugin/npobject_util.cc b/chrome/plugin/npobject_util.cc
index 7bed9b4..71c6ab5 100644
--- a/chrome/plugin/npobject_util.cc
+++ b/chrome/plugin/npobject_util.cc
@@ -2,12 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// TODO(port) Just compile an empty file on posix so we can generate the
+// libplugin target needed by other targets. This whole file does compile (see
+// r9934), but it doesn't link because of undefined refs to files which aren't
+// compiling yet (e.g. npobject_proxy stuff).
+#if defined(OS_WIN)
#include "chrome/plugin/npobject_util.h"
-#if defined(OS_WIN)
#include "chrome/common/plugin_messages.h"
#include "chrome/common/win_util.h"
-#endif
#include "chrome/plugin/npobject_proxy.h"
#include "chrome/plugin/plugin_channel_base.h"
@@ -249,3 +252,4 @@ void CreateNPVariant(const NPVariant_Param& param,
}
}
#endif
+#endif