skia2/gyp/libwebp_skia.gypi
scroggo 9ce386a27d Fix color swap for webp 565
When webp decoding to 565, swap the colors so they look right.

BUG=skia:4174

Review URL: https://codereview.chromium.org/1280693003
2015-08-06 11:44:56 -07:00

18 lines
448 B
Python

# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This allows us to build libwebp with a custom config.h file. It is currently
# needed to work around skbug.com/4037, but perhaps we might have another need
# for it in the future.
{
'include_dirs': [
'../third_party/libwebp/webp',
],
'defines': [
'HAVE_CONFIG_H',
'WEBP_SWAP_16BIT_CSP',
],
}