1 // Copyright 2014 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 SANDBOX_SANDBOX_EXPORT_H_ 6 #define SANDBOX_SANDBOX_EXPORT_H_ 7 8 #if defined(WIN32) 9 #error "sandbox_export.h does not support WIN32." 10 #endif 11 12 #if defined(COMPONENT_BUILD) 13 14 #if defined(SANDBOX_IMPLEMENTATION) 15 #define SANDBOX_EXPORT __attribute__((visibility("default"))) 16 #else 17 #define SANDBOX_EXPORT 18 #endif // defined(SANDBOX_IMPLEMENTATION) 19 20 #else // defined(COMPONENT_BUILD) 21 22 #define SANDBOX_EXPORT 23 24 #endif // defined(COMPONENT_BUILD) 25 26 #endif // SANDBOX_SANDBOX_EXPORT_H_ 27