Index: chromecast/public/chromecast_export.h |
diff --git a/chromecast/public/chromecast_export.h b/chromecast/public/chromecast_export.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..022ffc7843af54add9158e3ac86bbd585ebe0a4a |
--- /dev/null |
+++ b/chromecast/public/chromecast_export.h |
@@ -0,0 +1,12 @@ |
+// Copyright 2015 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 CHROMECAST_PUBLIC_CHROMECAST_EXPORT_H_ |
+#define CHROMECAST_PUBLIC_CHROMECAST_EXPORT_H_ |
+ |
+// Export attribute for classes that are exposed in shared libraries, |
+// allowing OEM partners to replace with their own implementations. |
+#define CHROMECAST_EXPORT __attribute__((visibility("default"))) |
+ |
+#endif // CHROMECAST_PUBLIC_CHROMECAST_EXPORT_H_ |