a64c48f4f9
This fixes two problems: 1) #include SK_SOME_DEFINE doesn't work well for all our clients. 2) Things in include/ are #including things in src/, which we don't like. TBR=reed@google.com BUG=skia: Review URL: https://codereview.chromium.org/862983002
16 lines
390 B
C
16 lines
390 B
C
#ifndef SkBarriers_DEFINED
|
|
#define SkBarriers_DEFINED
|
|
|
|
// This file is not part of the public Skia API.
|
|
#include "SkTypes.h"
|
|
|
|
#if SK_HAS_COMPILER_FEATURE(thread_sanitizer)
|
|
#include "../ports/SkBarriers_tsan.h"
|
|
#elif defined(SK_CPU_ARM32) || defined(SK_CPU_ARM64)
|
|
#include "../ports/SkBarriers_arm.h"
|
|
#else
|
|
#include "../ports/SkBarriers_x86.h"
|
|
#endif
|
|
|
|
#endif//SkBarriers_DEFINED
|