forked from bazelbuild/rules_apple
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use
pngcrush
on macOS (bazelbuild#2361)
Xcode uses the `copypng` script to post-process PNGs on most platforms, but not on macOS. This is enabled incorrectly on macOS, which can make PNGs appear "corrupt" to some libraries on this platform as the use of Foundation is not guaranteed. This fixes this by making the behavior match that of `copypng`, replacing `pngcrush` in favor of a simple copy (via a symlink action) on macOS.
- Loading branch information
1 parent
3853ba1
commit ed2a4dd
Showing
2 changed files
with
40 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters