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. 4 5 #ifndef THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_ 6 #define THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_ 7 8 #if defined(COMPONENT_BUILD) 9 10 #if defined(MOZILLA_IMPLEMENTATION) 11 #define MOZILLA_EXPORT __attribute__((visibility("default"))) 12 #else 13 #define MOZILLA_EXPORT 14 #endif 15 16 #else // !defined(COMPONENT_BUILD) 17 18 #define MOZILLA_EXPORT 19 20 #endif 21 22 #endif // THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_ 23