diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 05:13:14 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 05:13:14 +0000 |
commit | 4d5b96b229869f27a1ab1bb31e952615ef770e12 (patch) | |
tree | 0784dfc8244b534651f8f04e5b923c1770155592 /webkit/blob/blob_export.h | |
parent | 1311a0786ef2de3cb44ca9684b8d66ed1013e01b (diff) | |
download | chromium_src-4d5b96b229869f27a1ab1bb31e952615ef770e12.zip chromium_src-4d5b96b229869f27a1ab1bb31e952615ef770e12.tar.gz chromium_src-4d5b96b229869f27a1ab1bb31e952615ef770e12.tar.bz2 |
build blob as a component.
This is needed to fix a failing ui_test on the linux dbg shared bot; the failure
was introduced in r109534 when I enabled the component build of content.
This fix isn't perfect but it should do for now.
TBR=michaeln@chromium.org
BUG=90442
TEST=
Review URL: http://codereview.chromium.org/8508059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109589 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/blob/blob_export.h')
-rw-r--r-- | webkit/blob/blob_export.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/webkit/blob/blob_export.h b/webkit/blob/blob_export.h new file mode 100644 index 0000000..7e1bd4c --- /dev/null +++ b/webkit/blob/blob_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 WEBKIT_BLOB_BLOB_EXPORT_H_ +#define WEBKIT_BLOB_BLOB_EXPORT_H_ +#pragma once + +#if defined(COMPONENT_BUILD) +#if defined(WIN32) + +#if defined(BLOB_IMPLEMENTATION) +#define BLOB_EXPORT __declspec(dllexport) +#else +#define BLOB_EXPORT __declspec(dllimport) +#endif // defined(BLOB_IMPLEMENTATION) + +#else // defined(WIN32) +#define BLOB_EXPORT __attribute__((visibility("default"))) +#endif + +#else // defined(COMPONENT_BUILD) +#define BLOB_EXPORT +#endif + +#endif // WEBKIT_BLOB_BLOB_EXPORT_H_ |