Commit af6a51e0 by Jamie Madill Committed by Commit Bot

dEQP: Make deqp_path GN variable public.

This allows us to reuse it in our other BUILD.gn files. Bug: angleproject:3353 Change-Id: Ic88f7781010d7319dfe3bb8f2f942fa08d37e4dc Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1614097 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
parent 36f47169
...@@ -564,8 +564,7 @@ if (build_angle_deqp_tests && !is_fuchsia) { ...@@ -564,8 +564,7 @@ if (build_angle_deqp_tests && !is_fuchsia) {
config("angle_deqp_support") { config("angle_deqp_support") {
include_dirs = deqp_include_dirs include_dirs = deqp_include_dirs
if (is_win && !is_clang) { if (is_win && !is_clang) {
include_dirs += include_dirs += [ "$deqp_path/framework/platform/win32" ]
[ "$angle_root/third_party/deqp/src/framework/platform/win32" ]
cflags = [ cflags = [
"/EHsc", # dEQP requires exceptions "/EHsc", # dEQP requires exceptions
"/wd4091", # typedef ignored when no variable is declared "/wd4091", # typedef ignored when no variable is declared
...@@ -589,8 +588,7 @@ if (build_angle_deqp_tests && !is_fuchsia) { ...@@ -589,8 +588,7 @@ if (build_angle_deqp_tests && !is_fuchsia) {
] ]
} }
if (is_android) { if (is_android) {
include_dirs += include_dirs += [ "$deqp_path/framework/platform/android" ]
[ "$angle_root/third_party/deqp/src/framework/platform/android" ]
} }
defines = [ defines = [
"DEQP_SUPPORT_GLES31=1", "DEQP_SUPPORT_GLES31=1",
...@@ -785,8 +783,8 @@ if (build_angle_deqp_tests && !is_fuchsia) { ...@@ -785,8 +783,8 @@ if (build_angle_deqp_tests && !is_fuchsia) {
angle_deqp_gtest(target_name) { angle_deqp_gtest(target_name) {
forward_variables_from(invoker, "*") forward_variables_from(invoker, "*")
data = [ data = [
"$angle_root/third_party/deqp/src/$mustpass_dir/master/${target_name}-master.txt", "$deqp_path/$mustpass_dir/master/${target_name}-master.txt",
"$angle_root/third_party/deqp/src/data/", "$deqp_path/data/",
"deqp_support/deqp_${target_name}_test_expectations.txt", "deqp_support/deqp_${target_name}_test_expectations.txt",
] ]
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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