OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 } | 134 } |
135 | 135 |
136 if (is_win) { | 136 if (is_win) { |
137 cflags = [ | 137 cflags = [ |
138 "/wd4245", # conversion from "int" to "size_t", signed/unsigned mismatch. | 138 "/wd4245", # conversion from "int" to "size_t", signed/unsigned mismatch. |
139 "/wd4267", # conversion from "size_t" to "int", possible loss of data. | 139 "/wd4267", # conversion from "size_t" to "int", possible loss of data. |
140 "/wd4389", # signed/unsigned mismatch. | 140 "/wd4389", # signed/unsigned mismatch. |
141 ] | 141 ] |
142 } | 142 } |
143 | 143 |
| 144 if (intelligibility_enhancer) { |
| 145 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] |
| 146 } else { |
| 147 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] |
| 148 } |
| 149 |
144 include_dirs = [] | 150 include_dirs = [] |
145 if (rtc_build_libyuv) { | 151 if (rtc_build_libyuv) { |
146 deps += [ "$rtc_libyuv_dir" ] | 152 deps += [ "$rtc_libyuv_dir" ] |
147 public_deps = [ | 153 public_deps = [ |
148 "$rtc_libyuv_dir", | 154 "$rtc_libyuv_dir", |
149 ] | 155 ] |
150 } else { | 156 } else { |
151 # Need to add a directory normally exported by libyuv. | 157 # Need to add a directory normally exported by libyuv. |
152 include_dirs += [ "$rtc_libyuv_dir/include" ] | 158 include_dirs += [ "$rtc_libyuv_dir/include" ] |
153 } | 159 } |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 deps += [ | 367 deps += [ |
362 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. | 368 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. |
363 ":rtc_media", | 369 ":rtc_media", |
364 ":rtc_unittest_main", | 370 ":rtc_unittest_main", |
365 "../audio", | 371 "../audio", |
366 "../base:rtc_base_tests_utils", | 372 "../base:rtc_base_tests_utils", |
367 "../system_wrappers:metrics_default", | 373 "../system_wrappers:metrics_default", |
368 ] | 374 ] |
369 } | 375 } |
370 } | 376 } |
OLD | NEW |