1 # Copyright 2013 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. 4 5 { 6 'targets': [ 7 { 8 'target_name': 'libspeex', 9 'type': 'none', 10 'variables': { 11 'headers_root_path': 'include', 12 'header_filenames': [ 13 'speex/speex_types.h', 14 'speex/speex_callbacks.h', 15 'speex/speex_config_types.h', 16 'speex/speex_stereo.h', 17 'speex/speex_echo.h', 18 'speex/speex_preprocess.h', 19 'speex/speex_jitter.h', 20 'speex/speex.h', 21 'speex/speex_resampler.h', 22 'speex/speex_buffer.h', 23 'speex/speex_header.h', 24 'speex/speex_bits.h', 25 ], 26 }, 27 'includes': [ 28 '../../build/shim_headers.gypi', 29 ], 30 'direct_dependent_settings': { 31 'cflags': [ 32 '<!@(pkg-config --cflags speex)', 33 ], 34 }, 35 'link_settings': { 36 'ldflags': [ 37 '<!@(pkg-config --libs-only-L --libs-only-other speex)', 38 ], 39 'libraries': [ 40 '<!@(pkg-config --libs-only-l speex)', 41 ], 42 }, 43 }, 44 ], 45 } 46