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

Unified Diff: mojo/services/native_viewport/native_viewport_export.h

Issue 242973004: Get sample_app running on Android again (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check for component build in export Created 6 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 | « mojo/mojo_services.gypi ('k') | mojo/shell/android/mojo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/native_viewport_export.h
diff --git a/mojo/services/native_viewport/native_viewport_export.h b/mojo/services/native_viewport/native_viewport_export.h
index 647b6892e37b5e6d191ae7eee202598f793afa96..4870c566f9d91d54908fbf26aff84d2a32bb3009 100644
--- a/mojo/services/native_viewport/native_viewport_export.h
+++ b/mojo/services/native_viewport/native_viewport_export.h
@@ -5,6 +5,8 @@
#ifndef MOJO_SERVICES_NATIVE_VIEWPORT_EXPORT_H_
#define MOJO_SERVICES_NATIVE_VIEWPORT_EXPORT_H_
+#if defined(COMPONENT_BUILD)
+
#if defined(WIN32)
#if defined(MOJO_NATIVE_VIEWPORT_IMPLEMENTATION)
@@ -23,4 +25,8 @@
#endif // defined(WIN32)
+#else // !defined(COMPONENT_BUILD)
+#define MOJO_NATIVE_VIEWPORT_EXPORT
+#endif
+
#endif // MOJO_SERVICES_NATIVE_VIEWPORT_EXPORT_H_
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/shell/android/mojo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698