skia2/third_party/libwebp/BUILD.gn
mtklein 0634317cbe GN: fix mac build again
Hoping to land these using the other GN bots as trybots.

Don't know what magic was letting us get to webp's headers yesterday on Linux.  Might have been using /usr/include's ?

The other change is the difference between some setups using #define SK_BUILD_FOR_MAC and others #define SK_BUILD_FOR_MAC 1.  We want either to mean "we're Mac".

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2190713004

Review-Url: https://codereview.chromium.org/2190713004
2016-07-28 09:58:44 -07:00

60 lines
2.3 KiB
Plaintext

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
declare_args() {
}
import("../third_party.gni")
third_party("libwebp") {
public_include_dirs = [ "../externals/libwebp/src" ]
sources = [
"../externals/libwebp/src/dec/alpha.c",
"../externals/libwebp/src/dec/buffer.c",
"../externals/libwebp/src/dec/frame.c",
"../externals/libwebp/src/dec/idec.c",
"../externals/libwebp/src/dec/io.c",
"../externals/libwebp/src/dec/quant.c",
"../externals/libwebp/src/dec/tree.c",
"../externals/libwebp/src/dec/vp8.c",
"../externals/libwebp/src/dec/vp8l.c",
"../externals/libwebp/src/dec/webp.c",
"../externals/libwebp/src/demux/demux.c",
"../externals/libwebp/src/dsp/alpha_processing.c",
"../externals/libwebp/src/dsp/alpha_processing_sse2.c",
"../externals/libwebp/src/dsp/alpha_processing_sse41.c",
"../externals/libwebp/src/dsp/cpu.c",
"../externals/libwebp/src/dsp/dec.c",
"../externals/libwebp/src/dsp/dec_clip_tables.c",
"../externals/libwebp/src/dsp/dec_sse2.c",
"../externals/libwebp/src/dsp/dec_sse41.c",
"../externals/libwebp/src/dsp/enc.c",
"../externals/libwebp/src/dsp/enc_sse2.c",
"../externals/libwebp/src/dsp/filters.c",
"../externals/libwebp/src/dsp/filters_sse2.c",
"../externals/libwebp/src/dsp/lossless.c",
"../externals/libwebp/src/dsp/lossless_sse2.c",
"../externals/libwebp/src/dsp/rescaler.c",
"../externals/libwebp/src/dsp/rescaler_sse2.c",
"../externals/libwebp/src/dsp/upsampling.c",
"../externals/libwebp/src/dsp/upsampling_sse2.c",
"../externals/libwebp/src/dsp/yuv.c",
"../externals/libwebp/src/dsp/yuv_sse2.c",
"../externals/libwebp/src/utils/bit_reader.c",
"../externals/libwebp/src/utils/bit_writer.c",
"../externals/libwebp/src/utils/color_cache.c",
"../externals/libwebp/src/utils/filters.c",
"../externals/libwebp/src/utils/huffman.c",
"../externals/libwebp/src/utils/huffman_encode.c",
"../externals/libwebp/src/utils/quant_levels.c",
"../externals/libwebp/src/utils/quant_levels_dec.c",
"../externals/libwebp/src/utils/random.c",
"../externals/libwebp/src/utils/rescaler.c",
"../externals/libwebp/src/utils/thread.c",
"../externals/libwebp/src/utils/utils.c",
]
}