1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 'target_name': 'libwebp_dec',
9 'type': 'static_library',
15 'include_dirs': ['.'],
31 'target_name': 'libwebp_demux',
32 'type': 'static_library',
33 'include_dirs': ['.'],
39 'target_name': 'libwebp_dsp',
40 'type': 'static_library',
41 'include_dirs': ['.'],
50 'dsp/upsampling_sse2.c',
55 'includes': [ '../../build/android/cpufeatures.gypi' ],
57 ['order_profiling != 0', {
58 'target_conditions' : [
59 ['_toolset=="target"', {
60 'cflags!': [ '-finstrument-functions' ],
67 'target_name': 'libwebp_dsp_neon',
69 ['target_arch == "arm" and arm_version >= 7', {
70 'type': 'static_library',
71 'include_dirs': ['.'],
75 'dsp/upsampling_neon.c',
77 # behavior similar to *.c.neon in an Android.mk
78 'cflags!': [ '-mfpu=vfpv3-d16' ],
79 'cflags': [ '-mfpu=neon' ],
80 },{ # "target_arch != "arm" or arm_version < 7"
83 ['order_profiling != 0', {
84 'target_conditions' : [
85 ['_toolset=="target"', {
86 'cflags!': [ '-finstrument-functions' ],
93 'target_name': 'libwebp_enc',
94 'type': 'static_library',
95 'include_dirs': ['.'],
99 'enc/backward_references.c',
117 'target_name': 'libwebp_utils',
118 'type': 'static_library',
119 'include_dirs': ['.'],
121 'utils/bit_reader.c',
122 'utils/bit_writer.c',
123 'utils/color_cache.c',
126 'utils/huffman_encode.c',
127 'utils/quant_levels.c',
128 'utils/quant_levels_dec.c',
135 'target_name': 'libwebp',
145 'direct_dependent_settings': {
146 'include_dirs': ['.'],
149 ['OS!="win"', {'product_name': 'webp'}],