From 6613cc5186c200e053c5df9bd8f051ffba6e3564 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Tue, 19 Dec 2017 09:09:33 -0500 Subject: GOOGLE3 -> SK_BUILD_FOR_GOOGLE3 This is more consistent with our other SK_BUILD_FOR_... macros, and less likely to collide with other preprocessor logic. (Luckily, this was defined in public.bzl, so we can do this all in one CL in the Skia repo.) Change-Id: I5f232888288c9c53fad445545d983d0fb0b4add8 Reviewed-on: https://skia-review.googlesource.com/86940 Reviewed-by: Mike Klein Commit-Queue: Mike Klein --- src/jumper/SkJumper_vectors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jumper') diff --git a/src/jumper/SkJumper_vectors.h b/src/jumper/SkJumper_vectors.h index 44e4247f06..e7919f75fc 100644 --- a/src/jumper/SkJumper_vectors.h +++ b/src/jumper/SkJumper_vectors.h @@ -656,7 +656,7 @@ SI F approx_powf(F x, F y) { } SI F from_half(U16 h) { -#if defined(__aarch64__) && !defined(GOOGLE3) // Temporary workaround for some Google3 builds. +#if defined(__aarch64__) && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds. return vcvt_f32_f16(h); #elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512) @@ -676,7 +676,7 @@ SI F from_half(U16 h) { } SI U16 to_half(F f) { -#if defined(__aarch64__) && !defined(GOOGLE3) // Temporary workaround for some Google3 builds. +#if defined(__aarch64__) && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds. return vcvt_f16_f32(f); #elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512) -- cgit v1.2.3