From b654f2c287fd6504da2b46317c919b100842a96c Mon Sep 17 00:00:00 2001 From: Jerome Gaillard Date: Wed, 31 Jul 2024 15:52:09 +0000 Subject: [PATCH] Remove Windows-specific code from Trace.h libcutils builds for Windows, so there is no need to handle Windows differently in Trace.h. Bug: 322360037 Test: build libutils for Windows Change-Id: If17de95a2222c7d17c74988695d68754f06957ea --- libutils/include/utils/Trace.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libutils/include/utils/Trace.h b/libutils/include/utils/Trace.h index 9986bf5f9..180910003 100644 --- a/libutils/include/utils/Trace.h +++ b/libutils/include/utils/Trace.h @@ -17,13 +17,6 @@ #ifndef ANDROID_TRACE_H #define ANDROID_TRACE_H -#if defined(_WIN32) - -#define ATRACE_NAME(...) -#define ATRACE_CALL() - -#else // !_WIN32 - #include #include @@ -56,6 +49,4 @@ private: } // namespace android -#endif // _WIN32 - #endif // ANDROID_TRACE_H