Commit ee891ce3 by Jamie Madill Committed by Commit Bot

Disable non-portable include path warning.

A prior CL did not apply the warning disable to the right targets. Bug: chromium:995046 Change-Id: If06b8493d2c1ce3026dfbb1d32a9746e1fd0cddf Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1815909Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent e4924fdd
......@@ -615,9 +615,6 @@ if (build_angle_deqp_tests && !is_fuchsia) {
"-Wno-string-conversion", # implicit conversion turns string literal into bool
"-Wno-unused-local-typedef",
"-Wno-unused-result", # ignoring return value of function declared with 'nodiscard' attribute
# Suppress a spurious header warning. http://crbug.com/995046
"-Wno-nonportable-include-path",
]
}
......@@ -652,12 +649,20 @@ if (build_angle_deqp_tests && !is_fuchsia) {
set_defaults("angle_deqp_source_set") {
public_configs = []
configs = angle_common_configs
cflags = []
}
template("angle_deqp_source_set") {
angle_source_set(target_name) {
forward_variables_from(invoker, "*")
suppressed_configs += deqp_undefine_configs
if (is_clang) {
cflags += [
# Suppress a spurious header warning. http://crbug.com/995046
"-Wno-nonportable-include-path",
]
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment