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

Unified Diff: include/gpu/GrConfig.h

Issue 22881005: Replace uses of GR_API by SK_API. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 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 | « gyp/gpu.gyp ('k') | include/gpu/GrContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrConfig.h
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h
index df53fa2cebbfe1995986b8f367ecf2e7849fc87d..d47ccb3fe85a8211a7be675170677d327e3bc78c 100644
--- a/include/gpu/GrConfig.h
+++ b/include/gpu/GrConfig.h
@@ -157,36 +157,6 @@ typedef unsigned __int64 uint64_t;
// postconfig section:
//
-// GR_IMPLEMENTATION should be define to 1 when building Gr and 0 when including
-// it in another dependent build. The Gr makefile/ide-project should define this
-// to 1.
-#if !defined(GR_IMPLEMENTATION)
- #define GR_IMPLEMENTATION 0
-#endif
-
-// If Gr is built as a shared library then GR_DLL should be defined to 1 (both
-// when building Gr and when including its headers in dependent builds). Only
-// currently supported minimally for Chrome's Win32 Multi-DLL build (TODO:
-// correctly exort all of the public API correctly and support shared lib on
-// other platforms).
-#if !defined(GR_DLL)
- #define GR_DLL 0
-#endif
-
-#if GR_DLL
- #if GR_WIN32_BUILD
- #if GR_IMPLEMENTATION
- #define GR_API __declspec(dllexport)
- #else
- #define GR_API __declspec(dllimport)
- #endif
- #else
- #define GR_API __attribute__((visibility("default")))
- #endif
-#else
- #define GR_API
-#endif
-
// By now we must have a GR_..._BUILD symbol set to 1, and a decision about
// debug -vs- release
//
« no previous file with comments | « gyp/gpu.gyp ('k') | include/gpu/GrContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698