| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'use_system_speex%': 0, | 7 'use_system_speex%': 0, |
| 8 }, | 8 }, |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['use_system_speex==0', { | 10 ['use_system_speex==0', { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 ], | 88 ], |
| 89 }, | 89 }, |
| 90 'msvs_disabled_warnings': [4244, 4305], | 90 'msvs_disabled_warnings': [4244, 4305], |
| 91 }, | 91 }, |
| 92 ], | 92 ], |
| 93 }, { # use_system_speex != 0 | 93 }, { # use_system_speex != 0 |
| 94 'targets': [ | 94 'targets': [ |
| 95 { | 95 { |
| 96 'target_name': 'libspeex', | 96 'target_name': 'libspeex', |
| 97 'type': 'none', | 97 'type': 'none', |
| 98 'variables': { |
| 99 'headers_root_path': 'include', |
| 100 'header_filenames': [ |
| 101 'speex/speex_types.h', |
| 102 'speex/speex_callbacks.h', |
| 103 'speex/speex_config_types.h', |
| 104 'speex/speex_stereo.h', |
| 105 'speex/speex_echo.h', |
| 106 'speex/speex_preprocess.h', |
| 107 'speex/speex_jitter.h', |
| 108 'speex/speex.h', |
| 109 'speex/speex_resampler.h', |
| 110 'speex/speex_buffer.h', |
| 111 'speex/speex_header.h', |
| 112 'speex/speex_bits.h', |
| 113 ], |
| 114 }, |
| 115 'includes': [ |
| 116 '../../build/shim_headers.gypi', |
| 117 ], |
| 98 'direct_dependent_settings': { | 118 'direct_dependent_settings': { |
| 99 'cflags': [ | 119 'cflags': [ |
| 100 '<!@(pkg-config --cflags speex)', | 120 '<!@(pkg-config --cflags speex)', |
| 101 ], | 121 ], |
| 102 'defines': [ | |
| 103 'USE_SYSTEM_SPEEX', | |
| 104 ], | |
| 105 }, | 122 }, |
| 106 'link_settings': { | 123 'link_settings': { |
| 107 'ldflags': [ | 124 'ldflags': [ |
| 108 '<!@(pkg-config --libs-only-L --libs-only-other speex)', | 125 '<!@(pkg-config --libs-only-L --libs-only-other speex)', |
| 109 ], | 126 ], |
| 110 'libraries': [ | 127 'libraries': [ |
| 111 '<!@(pkg-config --libs-only-l speex)', | 128 '<!@(pkg-config --libs-only-l speex)', |
| 112 ], | 129 ], |
| 113 }, | 130 }, |
| 114 }, | 131 }, |
| 115 ], | 132 ], |
| 116 }], | 133 }], |
| 117 ], | 134 ], |
| 118 } | 135 } |
| 119 | 136 |
| 120 # Local Variables: | 137 # Local Variables: |
| 121 # tab-width:2 | 138 # tab-width:2 |
| 122 # indent-tabs-mode:nil | 139 # indent-tabs-mode:nil |
| 123 # End: | 140 # End: |
| 124 # vim: set expandtab tabstop=2 shiftwidth=2: | 141 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |