Chromium Code Reviews| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 51 ":audio_coding_config", | 51 ":audio_coding_config", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 if (is_win) { | 54 if (is_win) { |
| 55 cflags = [ | 55 cflags = [ |
| 56 # TODO(kjellander): Bug 261: fix this warning. | 56 # TODO(kjellander): Bug 261: fix this warning. |
| 57 "/wd4373", # virtual function override. | 57 "/wd4373", # virtual function override. |
| 58 ] | 58 ] |
| 59 } | 59 } |
| 60 | 60 |
| 61 if (is_clang) { | |
| 62 # Suppress warnings from Chrome's Clang plugins. | |
| 63 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 64 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
| 65 } | |
| 66 | |
|
terelius
2015/08/14 13:00:44
Do you remember what construct caused the clang er
ivoc
2015/08/14 13:23:13
Well, in the ACM we include rtc_event_log.h, which
| |
| 61 deps = [ | 67 deps = [ |
| 62 ":cng", | 68 ":cng", |
| 63 ":g711", | 69 ":g711", |
| 64 ":g722", | 70 ":g722", |
| 65 ":ilbc", | 71 ":ilbc", |
| 66 ":isac", | 72 ":isac", |
| 67 ":isac_fix", | 73 ":isac_fix", |
| 68 ":neteq", | 74 ":neteq", |
| 69 ":pcm16b", | 75 ":pcm16b", |
| 70 ":red", | 76 ":red", |
| 77 "../..:rtc_event_log", | |
| 71 "../..:webrtc_common", | 78 "../..:webrtc_common", |
| 72 "../../common_audio", | 79 "../../common_audio", |
| 73 "../../system_wrappers", | 80 "../../system_wrappers", |
| 74 ] | 81 ] |
| 75 | 82 |
| 76 if (rtc_include_opus) { | 83 if (rtc_include_opus) { |
| 77 defines += [ "WEBRTC_CODEC_OPUS" ] | 84 defines += [ "WEBRTC_CODEC_OPUS" ] |
| 78 deps += [ ":webrtc_opus" ] | 85 deps += [ ":webrtc_opus" ] |
| 79 } | 86 } |
| 80 } | 87 } |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 767 "../../system_wrappers", | 774 "../../system_wrappers", |
| 768 ] | 775 ] |
| 769 | 776 |
| 770 defines = [] | 777 defines = [] |
| 771 | 778 |
| 772 if (rtc_include_opus) { | 779 if (rtc_include_opus) { |
| 773 defines += [ "WEBRTC_CODEC_OPUS" ] | 780 defines += [ "WEBRTC_CODEC_OPUS" ] |
| 774 deps += [ ":webrtc_opus" ] | 781 deps += [ ":webrtc_opus" ] |
| 775 } | 782 } |
| 776 } | 783 } |
| OLD | NEW |