Index: base/base_api.h |
=================================================================== |
--- base/base_api.h (revision 0) |
+++ base/base_api.h (revision 0) |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2011 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 BASE_BASE_API_H_ |
+#define BASE_BASE_API_H_ |
+#pragma once |
+ |
+#if !defined(BASE_IMPLEMENTATION) |
+#define BASE_IMPLEMENTATION 0 |
wtc
2011/03/23 22:05:12
I think we should not define BASE_IMPLEMENTATION a
rvargas (doing something else)
2011/03/23 22:59:04
BASE_DLL and BASE_IMPLEMENTATION are defined on th
|
+#endif |
+ |
+#if defined(WIN32) && defined(BASE_DLL) |
wtc
2011/03/23 22:05:12
Nit: I think we prefer our own OS_WIN macro over W
rvargas (doing something else)
2011/03/23 22:59:04
That's an interesting point, but in order to do th
|
+#if BASE_IMPLEMENTATION |
wtc
2011/03/25 18:17:29
Thank you for the reply. I agree base_api.h shoul
brettw
2011/03/26 18:09:46
This sounds fine to me.
rvargas (doing something else)
2011/03/28 18:52:21
Yeah. A CL with this change is up for review (http
|
+#define BASE_API __declspec(dllexport) |
+#else |
+#define BASE_API __declspec(dllimport) |
+#endif |
+#else |
+#define BASE_API |
+#endif |
+ |
+#endif // BASE_BASE_API_H_ |
Property changes on: base\base_api.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |