1 // Copyright 2023 The Chromium Authors 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 BASE_TEST_TEST_TRACE_PROCESSOR_EXPORT_H_ 6 #define BASE_TEST_TEST_TRACE_PROCESSOR_EXPORT_H_ 7 8 #if defined(WIN32) 9 10 #if defined(TEST_TRACE_PROCESSOR_IMPL) 11 #define TEST_TRACE_PROCESSOR_EXPORT __declspec(dllexport) 12 #else 13 #define TEST_TRACE_PROCESSOR_EXPORT __declspec(dllimport) 14 #endif // defined(TEST_TRACE_PROCESSOR_IMPL) 15 16 #else // defined(WIN32) 17 18 #if defined(TEST_TRACE_PROCESSOR_IMPL) 19 #define TEST_TRACE_PROCESSOR_EXPORT __attribute__((visibility("default"))) 20 #else 21 #define TEST_TRACE_PROCESSOR_EXPORT 22 #endif // defined(TEST_TRACE_PROCESSOR_IMPL) 23 24 #endif // defined(WIN32) 25 26 #endif // BASE_TEST_TEST_TRACE_PROCESSOR_EXPORT_H_ 27