| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("speex_config") { | 5 config("speex_config") { |
| 6 include_dirs = [ | 6 include_dirs = [ |
| 7 "include", # Clients expect <speex/speex.h> to be a system header. | 7 "include", # Clients expect <speex/speex.h> to be a system header. |
| 8 ] | 8 ] |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 "include/speex/speex_jitter.h", | 65 "include/speex/speex_jitter.h", |
| 66 "include/speex/speex_preprocess.h", | 66 "include/speex/speex_preprocess.h", |
| 67 "include/speex/speex_resampler.h", | 67 "include/speex/speex_resampler.h", |
| 68 "include/speex/speex_stereo.h", | 68 "include/speex/speex_stereo.h", |
| 69 "include/speex/speex_types.h", | 69 "include/speex/speex_types.h", |
| 70 ] | 70 ] |
| 71 | 71 |
| 72 configs -= [ "//build/config/compiler:chromium_code" ] | 72 configs -= [ "//build/config/compiler:chromium_code" ] |
| 73 configs += [ "//build/config/compiler:no_chromium_code" ] | 73 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 74 | 74 |
| 75 direct_dependent_configs = [ ":speex_config" ] | 75 public_configs = [ ":speex_config" ] |
| 76 | 76 |
| 77 include_dirs = [ | 77 include_dirs = [ |
| 78 "libspeex", | 78 "libspeex", |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 defines = [ | 81 defines = [ |
| 82 "FLOATING_POINT", | 82 "FLOATING_POINT", |
| 83 "EXPORT=", | 83 "EXPORT=", |
| 84 "USE_ALLOCA", | 84 "USE_ALLOCA", |
| 85 "inline=__inline", | 85 "inline=__inline", |
| 86 ] | 86 ] |
| 87 | 87 |
| 88 cflags = [] | 88 cflags = [] |
| 89 | 89 |
| 90 if (is_win) { | 90 if (is_win) { |
| 91 cflags += [ | 91 cflags += [ |
| 92 "/wd4244", | 92 "/wd4244", |
| 93 "/wd4305", | 93 "/wd4305", |
| 94 ] | 94 ] |
| 95 } | 95 } |
| 96 } | 96 } |
| OLD | NEW |