Use UserConfig to load platform in SkImageGeneratorCG.h

When building on mac with the Android build system, defining the correct
mac constant SK_BUILD_FOR_MAC must happen through SkUserConfig.h. This
can be done through SkLoadUserConfig.h which also includes SkFeatures.h.

Change-Id: If8b39929d9f5ea4d0cefe0f01e674b690925ee7b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/820236
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Jerome Gaillard <jgaillard@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
1 file changed