summaryrefslogtreecommitdiffstats
path: root/printing/printing_export.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 06:34:04 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 06:34:04 +0000
commit69f5b1e6690af4184fc5fdc8734ad4b7936123bd (patch)
tree1ce92b715b5bee418b6d3e88f96a72a2177e4890 /printing/printing_export.h
parent0e3c7d88f2fd4070e0b373e97ce400e522d15245 (diff)
downloadchromium_src-69f5b1e6690af4184fc5fdc8734ad4b7936123bd.zip
chromium_src-69f5b1e6690af4184fc5fdc8734ad4b7936123bd.tar.gz
chromium_src-69f5b1e6690af4184fc5fdc8734ad4b7936123bd.tar.bz2
Add printing.dll to the component build.
R=rvargas,thestig Review URL: http://codereview.chromium.org/7799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_export.h')
-rw-r--r--printing/printing_export.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/printing/printing_export.h b/printing/printing_export.h
new file mode 100644
index 0000000..2365c01
--- /dev/null
+++ b/printing/printing_export.h
@@ -0,0 +1,26 @@
+// 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 PRINTING_PRINTING_EXPORT_H_
+#define PRINTING_PRINTING_EXPORT_H_
+#pragma once
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(PRINTING_IMPLEMENTATION)
+#define PRINTING_EXPORT __declspec(dllexport)
+#else
+#define PRINTING_EXPORT __declspec(dllimport)
+#endif // defined(PRINTING_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#define PRINTING_EXPORT __attribute__((visibility("default")))
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define PRINTING_EXPORT
+#endif
+
+#endif // PRINTING_PRINTING_EXPORT_H_