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

Unified Diff: ui/oobe/oobe_ui_export.h

Issue 941973003: New OOBE implementation skeleton using WUG toolkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Builds with gn using is_component_build=false. Created 5 years, 10 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
Index: ui/oobe/oobe_ui_export.h
diff --git a/ui/oobe/oobe_ui_export.h b/ui/oobe/oobe_ui_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..e9c9459152ff55d536cc6d3e7f8845a2692e9483
--- /dev/null
+++ b/ui/oobe/oobe_ui_export.h
@@ -0,0 +1,32 @@
+// Copyright (c) 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 UI_OOBE_UI_OOBE_UI_EXPORT_H_
+#define UI_OOBE_UI_OOBE_UI_EXPORT_H_
+
+// Defines OOBE_UI_EXPORT so that functionality implemented by the
+// keyboard module can be exported to consumers.
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(OOBE_UI_IMPLEMENTATION)
+#define OOBE_UI_EXPORT __declspec(dllexport)
+#else
+#define OOBE_UI_EXPORT __declspec(dllimport)
+#endif // defined(OOBE_UI_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(OOBE_UI_IMPLEMENTATION)
+#define OOBE_UI_EXPORT __attribute__((visibility("default")))
+#else
+#define OOBE_UI_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define OOBE_UI_EXPORT
+#endif
+
+#endif // UI_OOBE_UI_OOBE_UI_EXPORT_H_
« ui/oobe/OWNERS ('K') | « ui/oobe/oobe_ui.gyp ('k') | ui/oobe/oobe_ui_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698