| OLD | NEW |
| 1 URL: http://www.libpng.org/pub/png/libpng.html | 1 URL: http://www.libpng.org/pub/png/libpng.html |
| 2 Version: 1.6.16 | 2 Version: 1.6.16 |
| 3 License: libpng license | 3 License: libpng license |
| 4 License File: LICENSE, pulled out of png.h | 4 License File: LICENSE, pulled out of png.h |
| 5 Description: png compression/decompression library | 5 Description: png compression/decompression library |
| 6 Local Modifications: Created pnglibconf.h from pnglibconf.h.prebuilt (just a | 6 Local Modifications: (1) Created pnglibconf.h from pnglibconf.h.prebuilt (a |
| 7 rename). Pulled LICENSE into its own file. | 7 rename with a few additional settings enabled). (2) Created pngprefix.h |
| 8 that is required when using the PNG_PREFIX define. (3) Pulled LICENSE into |
| 9 its own file. |
| 8 | 10 |
| 9 FAQ: | 11 FAQ: |
| 10 Q: Why does this directory exist? | 12 Q: Why does this directory exist? |
| 11 A: libpng is pulled in through DEPS, but in order to build it using ninja, we | 13 A: libpng is pulled in through DEPS, but in order to build it using ninja, we |
| 12 need to create pnglibconf.h. In https://codereview.chromium.org/930283002/, | 14 need to create pnglibconf.h and pngprefix.h. We originally tried creating |
| 13 we originally tried creating the file as an action, but this apparently led | 15 the file as an action in https://codereview.chromium.org/930283002/, but this |
| 14 to a race condition on Windows, where some builds failed to create the file | 16 apparently led to a race condition on Windows, where some builds failed to |
| 15 in time for other files to include it. By checking pnglibconf.h directly | 17 create the file in time for other files to include it. By checking these |
| 16 into Skia, we eliminate the race condition. | 18 files directly into Skia, we eliminate the race condition. |
| OLD | NEW |