Hash :
69705e5c
Author :
Date :
2022-04-22T20:55:55
Add -Wno-deprecated-non-prototype This is one of two directories in Chromium where the warning triggers, sink suppression flag so we can remove the global suppression. Bug: chromium:1314867 Change-Id: Iffbd3f3f0caaf050c9a758eb4f968ff5a4f30dff Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3602951 Auto-Submit: Arthur Eubanks <aeubanks@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
# Copyright 2016 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This warning disable must be appended to the command line after the general
# warnings setup, so must be in a config.
config("libXNVCtrl_config") {
# This will build under most configurations with this warning enabled, but
# some older system headers are missing a "const" on the third parameter of
# XextAddDisplay which will cause a failure.
cflags = [
"-Wno-incompatible-pointer-types-discards-qualifiers",
"-Wno-deprecated-non-prototype",
]
}
source_set("libXNVCtrl") {
sources = [
"NVCtrl.c",
"NVCtrl.h",
"NVCtrlLib.h",
"nv_control.h",
]
configs += [ ":libXNVCtrl_config" ]
libs = [ "xcb" ]
}