Revert "Defined N32 to always be BGRA"

This reverts commit 33c7a468c8b4b306a20552581b65a44be0b7ddd0.

Reason for revert: wow, lots of gm diffs, need to investigate

Original change's description:
> Defined N32 to always be BGRA
> 
> 
> https://critique.corp.google.com/#review/294013931
> 
> Change-Id: I0e837b2a97b1d95918e9054c036e2a3d913009e2
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269636
> Commit-Queue: Mike Reed <reed@google.com>
> Reviewed-by: Mike Klein <mtklein@google.com>

TBR=djsollen@google.com,mtklein@google.com,bsalomon@google.com,reed@google.com

Change-Id: Ic8aeafbbed91ed4619737be168ca4cacedac68fe
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269916
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 2f8d53f..c32655e 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -294,23 +294,27 @@
     } while (false)
 #endif
 
-/**
- *  These define the shift values to access components in SkColor and SkPMColor.
- *
- *  Skia supports a wide-range of colortypes (pixel configurations), including RGBA and BGRA
- *  variations of 8888. Historically, it only supported one of these swizzles, which was lovingly
- *  called N32 (for "native"). Today there is broad support for both, and many other types, but
- *  we leave these in for compatibility with older clients.
- */
-#define SK_B32_SHIFT 0
+// If SK_R32_SHIFT is set, we'll use that to choose RGBA or BGRA.
+// If not, we'll default to RGBA everywhere except BGRA on Windows.
+#if defined(SK_R32_SHIFT)
+    static_assert(SK_R32_SHIFT == 0 || SK_R32_SHIFT == 16, "");
+#elif defined(SK_BUILD_FOR_WIN)
+    #define SK_R32_SHIFT 16
+#else
+    #define SK_R32_SHIFT 0
+#endif
+
+#if defined(SK_B32_SHIFT)
+    static_assert(SK_B32_SHIFT == (16-SK_R32_SHIFT), "");
+#else
+    #define SK_B32_SHIFT (16-SK_R32_SHIFT)
+#endif
+
 #define SK_G32_SHIFT 8
-#define SK_R32_SHIFT 16
 #define SK_A32_SHIFT 24
 
+
 /**
- *  DEPRECATED: Now that the shift order is alwasy BGRA, we shouldn't need this BYTE_ORDER
- *  query.
- *
  * SK_PMCOLOR_BYTE_ORDER can be used to query the byte order of SkPMColor at compile time. The
  * relationship between the byte order and shift values depends on machine endianness. If the shift
  * order is R=0, G=8, B=16, A=24 then ((char*)&pmcolor)[0] will produce the R channel on a little