Add a condition to prevent a thread annotation meant for blaze from showing up to emscripten

Change-Id: Ie84d3fd6ae1625cd0e5b0959a30b94f9142ee30e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273876
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
This commit is contained in:
Nathaniel Nifong 2020-02-27 16:25:41 -05:00 committed by Skia Commit-Bot
parent 2d6261557e
commit e71bcc61e8

View File

@ -76,7 +76,7 @@
#define SK_NO_THREAD_SAFETY_ANALYSIS \
SK_THREAD_ANNOTATION_ATTRIBUTE(no_thread_safety_analysis)
#if defined(SK_BUILD_FOR_GOOGLE3)
#if defined(SK_BUILD_FOR_GOOGLE3) && !defined(SK_BUILD_FOR_WASM_IN_GOOGLE3)
extern "C" {
void __google_potentially_blocking_region_begin(void);
void __google_potentially_blocking_region_end (void);