Fix building skia inside iOS Application Extension
The UIApplication sharedApplication API is unavailable
when building an app extension. Define a SK_BUILD_FOR_IOS_APP_EXTENSION
define that can be set to avoid this code.
Bug: b/40254930
Change-Id: I3ac69be6564bd1f3d104efec68906bece101c791
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/814316
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
1 file changed