| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 The Android Open Source Project | 2 * Copyright (C) 2006 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
| 6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
| 7 * | 7 * |
| 8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 * | 9 * |
| 10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 // The default crash macro writes to badbeef which can cause some strange | 227 // The default crash macro writes to badbeef which can cause some strange |
| 228 // problems. Instead, pipe this through to the logging function as a fatal | 228 // problems. Instead, pipe this through to the logging function as a fatal |
| 229 // assertion. | 229 // assertion. |
| 230 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") | 230 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") |
| 231 | 231 |
| 232 // Uncomment the following line to forward skia trace events to Chrome | 232 // Uncomment the following line to forward skia trace events to Chrome |
| 233 // tracing. | 233 // tracing. |
| 234 // #define SK_USER_TRACE_INCLUDE_FILE "skia/ext/skia_trace_shim.h" | 234 // #define SK_USER_TRACE_INCLUDE_FILE "skia/ext/skia_trace_shim.h" |
| 235 | 235 |
| 236 #ifndef SK_ATOMICS_PLATFORM_H |
| 237 #if defined(SK_BUILD_FOR_WIN) |
| 238 #define SK_ATOMICS_PLATFORM_H "third_party/skia/src/ports/SkAtomics_win.h" |
| 239 #elif defined(SK_BUILD_FOR_ANDROID_FRAMEWORK) |
| 240 #define SK_ATOMICS_PLATFORM_H "third_party/skia/src/ports/SkAtomics_android.
h" |
| 241 #else |
| 242 #define SK_ATOMICS_PLATFORM_H "third_party/skia/src/ports/SkAtomics_sync.h" |
| 243 #endif |
| 244 #endif |
| 245 |
| 246 #ifndef SK_MUTEX_PLATFORM_H |
| 247 #if defined(SK_BUILD_FOR_WIN) |
| 248 #define SK_MUTEX_PLATFORM_H "third_party/skia/src/ports/SkMutex_win.h" |
| 249 #else |
| 250 #define SK_MUTEX_PLATFORM_H "third_party/skia/src/ports/SkMutex_pthread.h" |
| 251 #endif |
| 252 #endif |
| 253 |
| 236 // ===== End Chrome-specific definitions ===== | 254 // ===== End Chrome-specific definitions ===== |
| 237 | 255 |
| 238 #endif | 256 #endif |
| OLD | NEW |