GN: Fix compilation with NaCl toolchain

BUG=512899
TBR=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1327853002

Cr-Commit-Position: refs/heads/master@{#9846}
This commit is contained in:
sergeyu 2015-09-02 14:22:40 -07:00 committed by Commit bot
parent 1a591ddc7e
commit 4df08ff374
2 changed files with 2 additions and 2 deletions

View File

@ -274,7 +274,7 @@ source_set("rtc_event_log") {
defines += [ "ENABLE_RTC_EVENT_LOG" ]
deps += [ ":rtc_event_log_proto" ]
}
if (is_clang) {
if (is_clang && !is_nacl) {
# Suppress warnings from Chrome's Clang plugins.
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
configs -= [ "//build/config/clang:find_bad_constructs" ]

View File

@ -127,7 +127,7 @@ source_set("desktop_capture") {
configs += [ "../..:common_config" ]
public_configs = [ "../..:common_inherited_config" ]
if (is_clang) {
if (is_clang && !is_nacl) {
# Suppress warnings from Chrome's Clang plugins.
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
configs -= [ "//build/config/clang:find_bad_constructs" ]