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

Side by Side Diff: mojo/public/cpp/system/system_export.h

Issue 2358133002: Turn //mojo/public/cpp/bindings and //mojo/public/cpp/system into components (Closed)
Patch Set: Fix wording Created 4 years, 3 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
« no previous file with comments | « mojo/public/cpp/system/platform_handle.h ('k') | mojo/public/cpp/system/watcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_PUBLIC_CPP_SYSTEM_SYSTEM_EXPORT_H_
6 #define MOJO_PUBLIC_CPP_SYSTEM_SYSTEM_EXPORT_H_
7
8 #if defined(COMPONENT_BUILD)
9
10 #if defined(WIN32)
11
12 #if defined(MOJO_CPP_SYSTEM_IMPLEMENTATION)
13 #define MOJO_CPP_SYSTEM_EXPORT __declspec(dllexport)
14 #else
15 #define MOJO_CPP_SYSTEM_EXPORT __declspec(dllimport)
16 #endif
17
18 #else // !defined(WIN32)
19
20 #if defined(MOJO_CPP_SYSTEM_IMPLEMENTATION)
21 #define MOJO_CPP_SYSTEM_EXPORT __attribute((visibility("default")))
22 #else
23 #define MOJO_CPP_SYSTEM_EXPORT
24 #endif
25
26 #endif // defined(WIN32)
27
28 #else // !defined(COMPONENT_BUILD)
29
30 #define MOJO_CPP_SYSTEM_EXPORT
31
32 #endif // defined(COMPONENT_BUILD)
33
34 #endif // MOJO_PUBLIC_CPP_SYSTEM_SYSTEM_EXPORT_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/system/platform_handle.h ('k') | mojo/public/cpp/system/watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698