Index: mojo/converters/geometry/mojo_transform_export.h |
diff --git a/mojo/converters/geometry/mojo_transform_export.h b/mojo/converters/geometry/mojo_transform_export.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..49ea4bea977ce49f04d9bfc212b344958d9734ff |
--- /dev/null |
+++ b/mojo/converters/geometry/mojo_transform_export.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
jamesr
2015/02/13 01:06:46
2015
wtc
2015/02/13 03:04:19
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef MOJO_CONVERTERS_GEOMETRY_MOJO_TRANSFORM_EXPORT_H_ |
+#define MOJO_CONVERTERS_GEOMETRY_MOJO_TRANSFORM_EXPORT_H_ |
+ |
+#if defined(COMPONENT_BUILD) |
+ |
+#if defined(WIN32) |
+ |
+#if defined(MOJO_TRANSFORM_IMPLEMENTATION) |
+#define MOJO_TRANSFORM_EXPORT __declspec(dllexport) |
+#else |
+#define MOJO_TRANSFORM_EXPORT __declspec(dllimport) |
+#endif |
+ |
+#else // !defined(WIN32) |
+ |
+#if defined(MOJO_TRANSFORM_IMPLEMENTATION) |
+#define MOJO_TRANSFORM_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define MOJO_TRANSFORM_EXPORT |
+#endif |
+ |
+#endif // defined(WIN32) |
+ |
+#else // !defined(COMPONENT_BUILD) |
+#define MOJO_TRANSFORM_EXPORT |
+#endif |
+ |
+#endif // MOJO_CONVERTERS_GEOMETRY_MOJO_TRANSFORM_EXPORT_H_ |