Chromium Code Reviews| Index: media/gpu/media_gpu_export.h |
| diff --git a/components/mus/common/mus_common_export.h b/media/gpu/media_gpu_export.h |
| similarity index 36% |
| copy from components/mus/common/mus_common_export.h |
| copy to media/gpu/media_gpu_export.h |
| index 3a2e9306426b0810fa946c4363fb9e2219637cee..5ed53ee8479e342d9929443195a47145df619011 100644 |
| --- a/components/mus/common/mus_common_export.h |
| +++ b/media/gpu/media_gpu_export.h |
| @@ -2,28 +2,31 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef COMPONENTS_MUS_COMMON_MUS_COMMON_EXPORT_H_ |
| -#define COMPONENTS_MUS_COMMON_MUS_COMMON_EXPORT_H_ |
| +#ifndef MEDIA_GPU_MEDIA_GPU_EXPORT_H_ |
| +#define MEDIA_GPU_MEDIA_GPU_EXPORT_H_ |
| + |
| +// Define MEDIA_GPU_EXPORT so that functionality implemented by the Media module |
|
xhwang
2016/04/15 15:54:45
media gpu module?
Mark Dittmer
2016/04/17 02:08:15
Done.
|
| +// can be exported to consumers. |
| #if defined(COMPONENT_BUILD) |
| #if defined(WIN32) |
| -#if defined(MUS_IPC_IMPLEMENTATION) |
| -#define MUS_COMMON_EXPORT __declspec(dllexport) |
| +#if defined(MEDIA_GPU_IMPLEMENTATION) |
| +#define MEDIA_GPU_EXPORT __declspec(dllexport) |
| #else |
| -#define MUS_COMMON_EXPORT __declspec(dllimport) |
| -#endif // defined(MUS_IPC_IMPLEMENTATION) |
| +#define MEDIA_GPU_EXPORT __declspec(dllimport) |
| +#endif // defined(MEDIA_GPU_IMPLEMENTATION) |
| #else // defined(WIN32) |
| -#if defined(MUS_IPC_IMPLEMENTATION) |
| -#define MUS_COMMON_EXPORT __attribute__((visibility("default"))) |
| +#if defined(MEDIA_GPU_IMPLEMENTATION) |
| +#define MEDIA_GPU_EXPORT __attribute__((visibility("default"))) |
| #else |
| -#define MUS_COMMON_EXPORT |
| +#define MEDIA_GPU_EXPORT |
| #endif |
| #endif |
| #else // defined(COMPONENT_BUILD) |
| -#define MUS_COMMON_EXPORT |
| +#define MEDIA_GPU_EXPORT |
| #endif |
| -#endif // COMPONENTS_MUS_COMMON_MUS_COMMON_EXPORT_H_ |
| +#endif // MEDIA_GPU_MEDIA_GPU_EXPORT_H_ |