Finish refactoring of DomCodeToUsLayoutKeyboardCode().
[chromium-blink-merge.git] / third_party / mozilla / MozillaExport.h
blob489eade50d971538e5cca53de50a00a01c4e036b
1 // Copyright 2013 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.
5 #ifndef THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_
6 #define THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_
8 #if defined(COMPONENT_BUILD)
10 #if defined(MOZILLA_IMPLEMENTATION)
11 #define MOZILLA_EXPORT __attribute__((visibility("default")))
12 #else
13 #define MOZILLA_EXPORT
14 #endif
16 #else // !defined(COMPONENT_BUILD)
18 #define MOZILLA_EXPORT
20 #endif
22 #endif // THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_