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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 # TODO(fdegans): Enable this. See crbug.com/408997. | 232 # TODO(fdegans): Enable this. See crbug.com/408997. |
233 if (rtc_use_lto) { | 233 if (rtc_use_lto) { |
234 cflags -= [ | 234 cflags -= [ |
235 "-flto", | 235 "-flto", |
236 "-ffat-lto-objects", | 236 "-ffat-lto-objects", |
237 ] | 237 ] |
238 } | 238 } |
239 | 239 |
240 configs += [ "..:common_config" ] | 240 configs += [ "..:common_config" ] |
241 public_configs = [ "..:common_inherited_config" ] | 241 public_configs = [ "..:common_inherited_config" ] |
| 242 |
| 243 if (is_clang) { |
| 244 # Suppress warnings from Chrome's Clang plugins. |
| 245 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 246 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 247 } |
242 } | 248 } |
243 } | 249 } |
OLD | NEW |