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

Unified Diff: chrome/browser/ui/libgtkui/libgtkui_export.h

Issue 2449243002: Gtk3 ui: Add libgtk3ui as a separate build component (Closed)
Patch Set: Add theme_properties dep to //chrome/browser/ui Created 4 years, 2 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 | « chrome/browser/ui/libgtkui/gtk2_util.cc ('k') | chrome/browser/ui/libgtkui/menu_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/libgtkui_export.h
diff --git a/chrome/browser/ui/libgtkui/libgtkui_export.h b/chrome/browser/ui/libgtkui/libgtkui_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..3d643493d4ad08c3bc49c3d19ec401ea1fb544d2
--- /dev/null
+++ b/chrome/browser/ui/libgtkui/libgtkui_export.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 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 CHROME_BROWSER_UI_LIBGTKUI_LIBGTKUI_EXPORT_H_
+#define CHROME_BROWSER_UI_LIBGTKUI_LIBGTKUI_EXPORT_H_
+
+// Defines LIBGTKUI_EXPORT so that functionality implemented by our limited
+// gtk2 module can be exported to consumers.
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#error "LIBGTKUI does not build on Windows."
+
+#else // defined(WIN32)
+#if defined(LIBGTKUI_IMPLEMENTATION)
+#define LIBGTKUI_EXPORT __attribute__((visibility("default")))
+#else
+#define LIBGTKUI_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define LIBGTKUI_EXPORT
+#endif
+
+#endif // CHROME_BROWSER_UI_LIBGTKUI_LIBGTKUI_EXPORT_H_
« no previous file with comments | « chrome/browser/ui/libgtkui/gtk2_util.cc ('k') | chrome/browser/ui/libgtkui/menu_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698