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 and (arm_neon == 1 or arm_neon_optional == 1)', {
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/alpha_processing.c',
122 'utils/bit_reader.c',
123 'utils/bit_writer.c',
124 'utils/color_cache.c',
127 'utils/huffman_encode.c',
128 'utils/quant_levels.c',
129 'utils/quant_levels_dec.c',
137 'target_name': 'libwebp',
147 'direct_dependent_settings': {
148 'include_dirs': ['.'],
151 ['OS!="win"', {'product_name': 'webp'}],