| Index: media/types/media_types_export.h
|
| diff --git a/media/types/media_types_export.h b/media/types/media_types_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a2b761f330be1b7aa6ec28e3d365968baff8189
|
| --- /dev/null
|
| +++ b/media/types/media_types_export.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2014 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 MEDIA_TYPES_MEDIA_TYPES_EXPORT_H_
|
| +#define MEDIA_TYPES_MEDIA_TYPES_EXPORT_H_
|
| +
|
| +// Defines MEDIA_TYPES_EXPORT so that functionality implemented by the
|
| +// MEDIA_TYPES module can be exported to consumers.
|
| +
|
| +#if defined(COMPONENT_BUILD)
|
| +
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(MEDIA_TYPES_IMPLEMENTATION)
|
| +#define MEDIA_TYPES_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define MEDIA_TYPES_EXPORT __declspec(dllimport)
|
| +#endif
|
| +
|
| +#else // !defined(WIN32)
|
| +
|
| +#if defined(MEDIA_TYPES_IMPLEMENTATION)
|
| +#define MEDIA_TYPES_EXPORT __attribute__((visibility("default")))
|
| +#else
|
| +#define MEDIA_TYPES_EXPORT
|
| +#endif
|
| +
|
| +#endif
|
| +
|
| +#else // !defined(COMPONENT_BUILD)
|
| +
|
| +#define MEDIA_TYPES_EXPORT
|
| +
|
| +#endif
|
| +
|
| +#endif // MEDIA_TYPES_MEDIA_TYPES_EXPORT_H_
|
|
|