Hash :
11cbd12d
Author :
Date :
2020-10-29T13:30:04
Remove dependency on //build/config/linux:x11 This is needed for Chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/2508226 BUG=chromium:1066670 Change-Id: I61aa2a21e19cb74259413631b654cb45e3e051c3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2508224 Reviewed-by: Geoff Lang <geofflang@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" ]
}
source_set("libXNVCtrl") {
sources = [
"NVCtrl.c",
"NVCtrl.h",
"NVCtrlLib.h",
"nv_control.h",
]
configs += [ ":libXNVCtrl_config" ]
libs = [ "xcb" ]
}