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

Unified Diff: components/policy/policy_export.h

Issue 124393003: Break dependency of chrome.gyp:common on content.gyp:content_browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix header macro Created 6 years, 11 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 | « components/policy/policy_common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/policy_export.h
diff --git a/components/policy/policy_export.h b/components/policy/policy_export.h
index 47376acaa855769d8e8c02412f6e927627931518..b6030aa17874707e343f8eab06e27beaa273db51 100644
--- a/components/policy/policy_export.h
+++ b/components/policy/policy_export.h
@@ -6,24 +6,29 @@
#define COMPONENTS_POLICY_POLICY_EXPORT_H_
#if defined(COMPONENT_BUILD)
+
#if defined(WIN32)
#if defined(POLICY_COMPONENT_IMPLEMENTATION)
#define POLICY_EXPORT __declspec(dllexport)
#else
#define POLICY_EXPORT __declspec(dllimport)
-#endif // defined(BASE_PREFS_IMPLEMENTATION)
+#endif // defined(POLICY_COMPONENT_IMPLEMENTATION)
#else // defined(WIN32)
+
#if defined(POLICY_COMPONENT_IMPLEMENTATION)
#define POLICY_EXPORT __attribute__((visibility("default")))
#else
#define POLICY_EXPORT
-#endif
-#endif
+#endif // defined(POLICY_COMPONENT_IMPLEMENTATION)
+
+#endif // defined(WIN32)
#else // defined(COMPONENT_BUILD)
+
#define POLICY_EXPORT
-#endif
+
+#endif // defined(COMPONENT_BUILD)
#endif // COMPONENTS_POLICY_POLICY_EXPORT_H_
« no previous file with comments | « components/policy/policy_common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698