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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 ], | 80 ], |
81 'include_dirs': [ | 81 'include_dirs': [ |
82 'include', | 82 'include', |
83 'libspeex', | 83 'libspeex', |
84 ], | 84 ], |
85 'direct_dependent_settings': { | 85 'direct_dependent_settings': { |
86 'include_dirs': [ | 86 'include_dirs': [ |
87 'include', # Clients expect <speex/speex.h> to be a system header
. | 87 'include', # Clients expect <speex/speex.h> to be a system header
. |
88 ], | 88 ], |
89 }, | 89 }, |
| 90 'msvs_disabled_warnings': [4244, 4305], |
90 }, | 91 }, |
91 ], | 92 ], |
92 }, { # use_system_speex != 0 | 93 }, { # use_system_speex != 0 |
93 'targets': [ | 94 'targets': [ |
94 { | 95 { |
95 'target_name': 'libspeex', | 96 'target_name': 'libspeex', |
96 'type': 'settings', | 97 'type': 'settings', |
97 'direct_dependent_settings': { | 98 'direct_dependent_settings': { |
98 'cflags': [ | 99 'cflags': [ |
99 '<!@(pkg-config --cflags speex)', | 100 '<!@(pkg-config --cflags speex)', |
(...skipping 14 matching lines...) Expand all Loading... |
114 ], | 115 ], |
115 }], | 116 }], |
116 ], | 117 ], |
117 } | 118 } |
118 | 119 |
119 # Local Variables: | 120 # Local Variables: |
120 # tab-width:2 | 121 # tab-width:2 |
121 # indent-tabs-mode:nil | 122 # indent-tabs-mode:nil |
122 # End: | 123 # End: |
123 # vim: set expandtab tabstop=2 shiftwidth=2: | 124 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |