Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1303)

Unified Diff: media/gpu/media_gpu_export.h

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix prefix to content references in content_gpu.gypi Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/gpu/jpeg_decode_accelerator_unittest.cc ('k') | media/gpu/rendering_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « media/gpu/jpeg_decode_accelerator_unittest.cc ('k') | media/gpu/rendering_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698