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

Side by Side Diff: sync/base/sync_export.h

Issue 11412211: [sync] Componentize sync: Part Final: Target 'sync' is now its own component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Merge + Undo copyright changes Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/jingle.gyp ('k') | sync/internal_api/public/base/unique_position.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_SYNC_EXPORT_H_ 5 #ifndef SYNC_SYNC_EXPORT_H_
6 #define SYNC_SYNC_EXPORT_H_ 6 #define SYNC_SYNC_EXPORT_H_
7 7
8 // TODO(akalin): Remove '0 && ' when sync becomes a component. 8 #if defined(COMPONENT_BUILD)
9 #if 0 && defined(COMPONENT_BUILD)
10 #if defined(WIN32) 9 #if defined(WIN32)
11 10
12 #if defined(SYNC_IMPLEMENTATION) 11 #if defined(SYNC_IMPLEMENTATION)
13 #define SYNC_EXPORT __declspec(dllexport) 12 #define SYNC_EXPORT __declspec(dllexport)
14 #define SYNC_EXPORT_PRIVATE __declspec(dllexport) 13 #define SYNC_EXPORT_PRIVATE __declspec(dllexport)
15 #elif defined(SYNC_TEST) 14 #elif defined(SYNC_TEST)
16 #define SYNC_EXPORT __declspec(dllimport) 15 #define SYNC_EXPORT __declspec(dllimport)
17 #define SYNC_EXPORT_PRIVATE __declspec(dllimport) 16 #define SYNC_EXPORT_PRIVATE __declspec(dllimport)
18 #else 17 #else
19 #define SYNC_EXPORT __declspec(dllimport) 18 #define SYNC_EXPORT __declspec(dllimport)
(...skipping 12 matching lines...) Expand all
32 #define SYNC_EXPORT_PRIVATE 31 #define SYNC_EXPORT_PRIVATE
33 #endif // defined(SYNC_IMPLEMENTATION) 32 #endif // defined(SYNC_IMPLEMENTATION)
34 #endif 33 #endif
35 34
36 #else // defined(COMPONENT_BUILD) 35 #else // defined(COMPONENT_BUILD)
37 #define SYNC_EXPORT 36 #define SYNC_EXPORT
38 #define SYNC_EXPORT_PRIVATE 37 #define SYNC_EXPORT_PRIVATE
39 #endif 38 #endif
40 39
41 #endif // SYNC_SYNC_EXPORT_H_ 40 #endif // SYNC_SYNC_EXPORT_H_
OLDNEW
« no previous file with comments | « jingle/jingle.gyp ('k') | sync/internal_api/public/base/unique_position.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698