summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 20:42:39 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 20:42:39 +0000
commita82151cc51eab71162a356a8b9f83885d9386ef8 (patch)
treec2fe49e664055bec7dd216555773f38d4ce9bc9c /content
parente811162117c95c46d555d5241f68f6e8378fc391 (diff)
downloadchromium_src-a82151cc51eab71162a356a8b9f83885d9386ef8.zip
chromium_src-a82151cc51eab71162a356a8b9f83885d9386ef8.tar.gz
chromium_src-a82151cc51eab71162a356a8b9f83885d9386ef8.tar.bz2
Get rid of some more dependencies on chrome\common from plugin, in preparation for moving the plugin directory to content.
TBR=avi Review URL: http://codereview.chromium.org/6677053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/common/plugin_carbon_interpose_constants_mac.cc17
-rw-r--r--content/common/plugin_carbon_interpose_constants_mac.h21
-rw-r--r--content/content_common.gypi2
3 files changed, 40 insertions, 0 deletions
diff --git a/content/common/plugin_carbon_interpose_constants_mac.cc b/content/common/plugin_carbon_interpose_constants_mac.cc
new file mode 100644
index 0000000..956d6fc
--- /dev/null
+++ b/content/common/plugin_carbon_interpose_constants_mac.cc
@@ -0,0 +1,17 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#if !defined(__LP64__)
+
+#include "content/common/plugin_carbon_interpose_constants_mac.h"
+
+namespace plugin_interpose_strings {
+
+const char kDYLDInsertLibrariesKey[] = "DYLD_INSERT_LIBRARIES";
+const char kInterposeLibraryPath[] =
+ "@executable_path/libplugin_carbon_interpose.dylib";
+
+} // namespace plugin_interpose_strings
+
+#endif // !__LP64__
diff --git a/content/common/plugin_carbon_interpose_constants_mac.h b/content/common/plugin_carbon_interpose_constants_mac.h
new file mode 100644
index 0000000..9f7948e
--- /dev/null
+++ b/content/common/plugin_carbon_interpose_constants_mac.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_
+#define CONTENT_COMMON_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_
+#pragma once
+
+#if !defined(__LP64__)
+
+// Strings used in setting up Carbon interposing for the plugin process.
+namespace plugin_interpose_strings {
+
+extern const char kDYLDInsertLibrariesKey[];
+extern const char kInterposeLibraryPath[];
+
+} // namespace plugin_interpose_strings
+
+#endif // !__LP64__
+
+#endif // CONTENT_COMMON_PLUGIN_CARBON_INTERPOSE_CONSTANTS_MAC_H_
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 2530189..5ac18de 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -94,6 +94,8 @@
'common/notification_type.h',
'common/p2p_messages.h',
'common/p2p_sockets.h',
+ 'common/plugin_carbon_interpose_constants_mac.cc',
+ 'common/plugin_carbon_interpose_constants_mac.h',
'common/plugin_messages.h',
'common/property_bag.cc',
'common/property_bag.h',