OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 "signal_processing/complex_bit_reverse.c", | 165 "signal_processing/complex_bit_reverse.c", |
166 "signal_processing/filter_ar_fast_q12.c", | 166 "signal_processing/filter_ar_fast_q12.c", |
167 "signal_processing/spl_sqrt_floor.c", | 167 "signal_processing/spl_sqrt_floor.c", |
168 ] | 168 ] |
169 } | 169 } |
170 | 170 |
171 if (is_win) { | 171 if (is_win) { |
172 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion. | 172 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion. |
173 } | 173 } |
174 | 174 |
175 configs += [ "..:common_config" ] | |
176 | |
177 public_configs = [ | 175 public_configs = [ |
178 "..:common_inherited_config", | 176 "..:common_inherited_config", |
179 ":common_audio_config", | 177 ":common_audio_config", |
180 ] | 178 ] |
181 | 179 |
182 if (is_clang) { | 180 if (is_clang) { |
183 # Suppress warnings from Chrome's Clang plugins. | 181 # Suppress warnings from Chrome's Clang plugins. |
184 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 182 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
185 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 183 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
186 } | 184 } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 229 |
232 # Disable LTO on NEON targets due to compiler bug. | 230 # Disable LTO on NEON targets due to compiler bug. |
233 # TODO(fdegans): Enable this. See crbug.com/408997. | 231 # TODO(fdegans): Enable this. See crbug.com/408997. |
234 if (rtc_use_lto) { | 232 if (rtc_use_lto) { |
235 cflags -= [ | 233 cflags -= [ |
236 "-flto", | 234 "-flto", |
237 "-ffat-lto-objects", | 235 "-ffat-lto-objects", |
238 ] | 236 ] |
239 } | 237 } |
240 | 238 |
241 configs += [ "..:common_config" ] | |
242 public_configs = [ "..:common_inherited_config" ] | 239 public_configs = [ "..:common_inherited_config" ] |
243 | 240 |
244 if (is_clang) { | 241 if (is_clang) { |
245 # Suppress warnings from Chrome's Clang plugins. | 242 # Suppress warnings from Chrome's Clang plugins. |
246 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 243 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
247 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 244 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
248 } | 245 } |
249 } | 246 } |
250 } | 247 } |
251 | 248 |
(...skipping 28 matching lines...) Expand all Loading... |
280 "wav_file_unittest.cc", | 277 "wav_file_unittest.cc", |
281 "wav_header_unittest.cc", | 278 "wav_header_unittest.cc", |
282 "window_generator_unittest.cc", | 279 "window_generator_unittest.cc", |
283 ] | 280 ] |
284 | 281 |
285 # Does not compile on iOS for arm: webrtc:5544. | 282 # Does not compile on iOS for arm: webrtc:5544. |
286 if (!is_ios || target_cpu != "arm") { | 283 if (!is_ios || target_cpu != "arm") { |
287 sources += [ "resampler/sinc_resampler_unittest.cc" ] | 284 sources += [ "resampler/sinc_resampler_unittest.cc" ] |
288 } | 285 } |
289 | 286 |
290 configs += [ "..:common_config" ] | |
291 public_configs = [ "..:common_inherited_config" ] | 287 public_configs = [ "..:common_inherited_config" ] |
292 | 288 |
293 if (rtc_use_openmax_dl) { | 289 if (rtc_use_openmax_dl) { |
294 defines = [ "RTC_USE_OPENMAX_DL" ] | 290 defines = [ "RTC_USE_OPENMAX_DL" ] |
295 } | 291 } |
296 | 292 |
297 if (is_clang) { | 293 if (is_clang) { |
298 # Suppress warnings from the Chromium Clang plugin. | 294 # Suppress warnings from the Chromium Clang plugin. |
299 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 295 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
300 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 296 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
301 } | 297 } |
302 | 298 |
303 deps = [ | 299 deps = [ |
304 ":common_audio", | 300 ":common_audio", |
305 "../test:test_support_main", | 301 "../test:test_support_main", |
306 "//testing/gmock", | 302 "//testing/gmock", |
307 "//testing/gtest", | 303 "//testing/gtest", |
308 ] | 304 ] |
309 | 305 |
310 if (is_android) { | 306 if (is_android) { |
311 deps += [ "//testing/android/native_test:native_test_support" ] | 307 deps += [ "//testing/android/native_test:native_test_support" ] |
312 | 308 |
313 shard_timeout = 900 | 309 shard_timeout = 900 |
314 } | 310 } |
315 } | 311 } |
316 } | 312 } |
OLD | NEW |