Commit e1037e9b by Frank Henigman Committed by Commit Bot

Avoid rebase_path() in tests/BUILD.gn.

Adjust source paths so we don't need to use rebase_path() on all of them. BUG=angleproject:1569 Change-Id: I1af7678dd8961405446fec49731eba5294bcb586 Reviewed-on: https://chromium-review.googlesource.com/1196046 Commit-Queue: Frank Henigman <fjhenigman@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 5fdc38cf
......@@ -89,10 +89,10 @@ if (build_with_chromium) {
test("angle_unittests") {
include_dirs = [ "$angle_root/src" ]
sources = rebase_path(angle_unittests_sources, ".", "../..")
sources = angle_unittests_sources
if (angle_enable_hlsl) {
sources += rebase_path(angle_unittests_hlsl_sources, ".", "../..")
sources += angle_unittests_hlsl_sources
defines = [ "ANGLE_ENABLE_HLSL" ]
}
......@@ -126,21 +126,21 @@ if (is_win || is_linux || is_mac || is_android) {
use_native_activity = true
}
sources = rebase_path(angle_end2end_tests_sources, ".", "../..")
sources = angle_end2end_tests_sources
libs = []
if (is_mac) {
sources += rebase_path(angle_end2end_tests_mac_sources, ".", "../..")
sources += angle_end2end_tests_mac_sources
libs += [
"CoreFoundation.framework",
"IOSurface.framework",
]
}
if (is_win) {
sources += rebase_path(angle_end2end_tests_win_sources, ".", "../..")
sources += angle_end2end_tests_win_sources
}
if (use_x11) {
sources += rebase_path(angle_end2end_tests_x11_sources, ".", "../..")
sources += angle_end2end_tests_x11_sources
}
if (build_with_chromium) {
......@@ -182,10 +182,10 @@ if (is_win || is_linux || is_mac || is_android) {
use_native_activity = true
}
sources = rebase_path(angle_white_box_tests_sources, ".", "../..")
sources = angle_white_box_tests_sources
if (is_win) {
sources += rebase_path(angle_white_box_tests_win_sources, ".", "../..")
sources += angle_white_box_tests_win_sources
}
# Share the same main file as end2end_tests.
......@@ -231,7 +231,7 @@ if (is_win || is_linux || is_android || is_mac) {
"../../util",
]
sources = rebase_path(angle_perf_tests_sources, ".", "../..")
sources = angle_perf_tests_sources
deps = googletest_deps + [
angle_root + ":angle_util_static",
......@@ -246,15 +246,13 @@ if (is_win || is_linux || is_android || is_mac) {
}
if (is_win) {
sources += rebase_path(angle_perf_tests_win_sources, ".", "../..")
sources += angle_perf_tests_win_sources
}
if (angle_enable_vulkan) {
sources += rebase_path(angle_perf_tests_vulkan_sources, ".", "../..")
sources += angle_perf_tests_vulkan_sources
if (is_android || is_linux) {
sources += rebase_path(angle_perf_tests_vulkan_command_buffer_sources,
".",
"../..")
sources += angle_perf_tests_vulkan_command_buffer_sources
}
deps += [ "$angle_root/third_party/glslang:glslang" ]
public_configs = [ "$angle_root/third_party/glslang:glslang_config" ]
......@@ -490,7 +488,7 @@ if (build_angle_deqp_tests) {
import("deqp.gni")
config("angle_deqp_support") {
include_dirs = rebase_path(deqp_include_dirs, ".", "../..")
include_dirs = deqp_include_dirs
if (is_win && !is_clang) {
include_dirs +=
[ "$angle_root/third_party/deqp/src/framework/platform/win32" ]
......@@ -582,7 +580,7 @@ if (build_angle_deqp_tests) {
]
}
sources = rebase_path(deqp_libtester_decpp_sources, ".", "../..")
sources = deqp_libtester_decpp_sources
}
config("angle_deqp_libtester_config") {
......@@ -615,15 +613,15 @@ if (build_angle_deqp_tests) {
configs -= deqp_undefine_configs
public_configs = [ ":angle_deqp_libtester_config" ]
sources = rebase_path(deqp_libtester_sources, ".", "../..")
sources = deqp_libtester_sources
if (is_win) {
sources += rebase_path(deqp_libtester_sources_win, ".", "../..")
sources += deqp_libtester_sources_win
}
if (is_linux || is_android || is_mac) {
sources += rebase_path(deqp_libtester_sources_unix, ".", "../..")
sources += deqp_libtester_sources_unix
}
if (is_android) {
sources += rebase_path(deqp_libtester_sources_android, ".", "../..")
sources += deqp_libtester_sources_android
libs = [ "log" ]
}
}
......@@ -705,7 +703,7 @@ if (build_angle_deqp_tests) {
}
public_configs = [ ":${config_name}" ]
sources = rebase_path(target_sources[index], ".", "../..")
sources = target_sources[index]
sources += [
"deqp_support/angle_deqp_libtester_main.cpp",
"deqp_support/tcuANGLEPlatform.cpp",
......
......@@ -3,148 +3,148 @@
# found in the LICENSE file.
angle_end2end_tests_sources = [
"src/tests/gl_tests/AtomicCounterBufferTest.cpp",
"src/tests/gl_tests/AttributeLayoutTest.cpp",
"src/tests/gl_tests/BindGeneratesResourceTest.cpp",
"src/tests/gl_tests/BindUniformLocationTest.cpp",
"src/tests/gl_tests/BlendMinMaxTest.cpp",
"src/tests/gl_tests/BlitFramebufferANGLETest.cpp",
"src/tests/gl_tests/BufferDataTest.cpp",
"src/tests/gl_tests/BuiltinVariableTest.cpp",
"src/tests/gl_tests/ClearTest.cpp",
"src/tests/gl_tests/ClientArraysTest.cpp",
"src/tests/gl_tests/ColorMaskTest.cpp",
"src/tests/gl_tests/ComputeShaderTest.cpp",
"src/tests/gl_tests/CopyCompressedTextureTest.cpp",
"src/tests/gl_tests/CopyTexImageTest.cpp",
"src/tests/gl_tests/CopyTextureTest.cpp",
"src/tests/gl_tests/CubeMapTextureTest.cpp",
"src/tests/gl_tests/DebugMarkerTest.cpp",
"src/tests/gl_tests/DebugTest.cpp",
"src/tests/gl_tests/DepthStencilFormatsTest.cpp",
"src/tests/gl_tests/DiscardFramebufferEXTTest.cpp",
"src/tests/gl_tests/DrawBuffersTest.cpp",
"src/tests/gl_tests/DrawElementsTest.cpp",
"src/tests/gl_tests/DXT1CompressedTextureTest.cpp",
"src/tests/gl_tests/DXTSRGBCompressedTextureTest.cpp",
"src/tests/gl_tests/ETCTextureTest.cpp",
"src/tests/gl_tests/ExplicitContextTest.cpp",
"src/tests/gl_tests/FenceSyncTests.cpp",
"src/tests/gl_tests/FloatingPointSurfaceTest.cpp",
"src/tests/gl_tests/FramebufferMixedSamplesTest.cpp",
"src/tests/gl_tests/FramebufferMultiviewTest.cpp",
"src/tests/gl_tests/FramebufferRenderMipmapTest.cpp",
"src/tests/gl_tests/FramebufferTest.cpp",
"src/tests/gl_tests/GeometryShaderTest.cpp",
"src/tests/gl_tests/gles1/AlphaFuncTest.cpp",
"src/tests/gl_tests/gles1/BasicDrawTest.cpp",
"src/tests/gl_tests/gles1/ClientActiveTextureTest.cpp",
"src/tests/gl_tests/gles1/ClientStateEnable.cpp",
"src/tests/gl_tests/gles1/ClipPlaneTest.cpp",
"src/tests/gl_tests/gles1/CurrentColorTest.cpp",
"src/tests/gl_tests/gles1/CurrentNormalTest.cpp",
"src/tests/gl_tests/gles1/CurrentTextureCoordsTest.cpp",
"src/tests/gl_tests/gles1/DrawTextureTest.cpp",
"src/tests/gl_tests/gles1/FogTest.cpp",
"src/tests/gl_tests/gles1/MaterialsTest.cpp",
"src/tests/gl_tests/gles1/MatrixBuiltinsTest.cpp",
"src/tests/gl_tests/gles1/MatrixLoadTest.cpp",
"src/tests/gl_tests/gles1/MatrixModeTest.cpp",
"src/tests/gl_tests/gles1/MatrixMultTest.cpp",
"src/tests/gl_tests/gles1/MatrixStackTest.cpp",
"src/tests/gl_tests/gles1/LightsTest.cpp",
"src/tests/gl_tests/gles1/PointParameterTest.cpp",
"src/tests/gl_tests/gles1/ShadeModelTest.cpp",
"src/tests/gl_tests/gles1/TextureEnvTest.cpp",
"src/tests/gl_tests/gles1/TextureParameterTest.cpp",
"src/tests/gl_tests/gles1/TextureTargetEnableTest.cpp",
"src/tests/gl_tests/gles1/VertexPointerTest.cpp",
"src/tests/gl_tests/GLSLTest.cpp",
"src/tests/gl_tests/ImageTest.cpp",
"src/tests/gl_tests/IncompleteTextureTest.cpp",
"src/tests/gl_tests/IndexBufferOffsetTest.cpp",
"src/tests/gl_tests/IndexedPointsTest.cpp",
"src/tests/gl_tests/InstancingTest.cpp",
"src/tests/gl_tests/LineLoopTest.cpp",
"src/tests/gl_tests/LinkAndRelinkTest.cpp",
"src/tests/gl_tests/MaxTextureSizeTest.cpp",
"src/tests/gl_tests/MipmapTest.cpp",
"src/tests/gl_tests/MultisampleCompatibilityTest.cpp",
"src/tests/gl_tests/MultithreadingTest.cpp",
"src/tests/gl_tests/MultiviewDrawTest.cpp",
"src/tests/gl_tests/media/pixel.inl",
"src/tests/gl_tests/PackUnpackTest.cpp",
"src/tests/gl_tests/PathRenderingTest.cpp",
"src/tests/gl_tests/PbufferTest.cpp",
"src/tests/gl_tests/PBOExtensionTest.cpp",
"src/tests/gl_tests/PointSpritesTest.cpp",
"src/tests/gl_tests/ProvokingVertexTest.cpp",
"src/tests/gl_tests/ObjectAllocationTest.cpp",
"src/tests/gl_tests/OcclusionQueriesTest.cpp",
"src/tests/gl_tests/ParallelShaderCompileTest.cpp",
"src/tests/gl_tests/ProgramBinaryTest.cpp",
"src/tests/gl_tests/ProgramInterfaceTest.cpp",
"src/tests/gl_tests/ProgramParameterTest.cpp",
"src/tests/gl_tests/ProgramPipelineTest.cpp",
"src/tests/gl_tests/ReadPixelsTest.cpp",
"src/tests/gl_tests/RenderbufferMultisampleTest.cpp",
"src/tests/gl_tests/RendererTest.cpp",
"src/tests/gl_tests/RequestExtensionTest.cpp",
"src/tests/gl_tests/RobustBufferAccessBehaviorTest.cpp",
"src/tests/gl_tests/RobustClientMemoryTest.cpp",
"src/tests/gl_tests/RobustResourceInitTest.cpp",
"src/tests/gl_tests/SamplersTest.cpp",
"src/tests/gl_tests/ShaderStorageBufferTest.cpp",
"src/tests/gl_tests/SimpleOperationTest.cpp",
"src/tests/gl_tests/SixteenBppTextureTest.cpp",
"src/tests/gl_tests/SRGBFramebufferTest.cpp",
"src/tests/gl_tests/SRGBTextureTest.cpp",
"src/tests/gl_tests/StateChangeTest.cpp",
"src/tests/gl_tests/SwizzleTest.cpp",
"src/tests/gl_tests/SyncQueriesTest.cpp",
"src/tests/gl_tests/TextureMultisampleTest.cpp",
"src/tests/gl_tests/TextureRectangleTest.cpp",
"src/tests/gl_tests/TextureTest.cpp",
"src/tests/gl_tests/TextureUploadFormatTest.cpp",
"src/tests/gl_tests/TimerQueriesTest.cpp",
"src/tests/gl_tests/TransformFeedbackTest.cpp",
"src/tests/gl_tests/UniformBufferTest.cpp",
"src/tests/gl_tests/UniformTest.cpp",
"src/tests/gl_tests/UnpackAlignmentTest.cpp",
"src/tests/gl_tests/UnpackRowLength.cpp",
"src/tests/gl_tests/VertexAttributeTest.cpp",
"src/tests/gl_tests/ViewportTest.cpp",
"src/tests/gl_tests/WebGLCompatibilityTest.cpp",
"src/tests/gl_tests/WebGLFramebufferTest.cpp",
"src/tests/gl_tests/WebGLReadOutsideFramebufferTest.cpp",
"src/tests/egl_tests/EGLContextCompatibilityTest.cpp",
"src/tests/egl_tests/EGLContextSharingTest.cpp",
"src/tests/egl_tests/EGLDebugTest.cpp",
"src/tests/egl_tests/EGLProgramCacheControlTest.cpp",
"src/tests/egl_tests/EGLQueryContextTest.cpp",
"src/tests/egl_tests/EGLRobustnessTest.cpp",
"src/tests/egl_tests/EGLSanityCheckTest.cpp",
"src/tests/egl_tests/EGLSurfacelessContextTest.cpp",
"src/tests/egl_tests/EGLSurfaceTest.cpp",
"src/tests/egl_tests/EGLThreadTest.cpp",
"src/tests/test_utils/ANGLETest.cpp",
"src/tests/test_utils/ANGLETest.h",
"src/tests/test_utils/MultiviewTest.cpp",
"src/tests/test_utils/MultiviewTest.h",
"src/tests/test_utils/angle_test_configs.cpp",
"src/tests/test_utils/angle_test_configs.h",
"src/tests/test_utils/angle_test_instantiate.cpp",
"src/tests/test_utils/angle_test_instantiate.h",
"src/tests/test_utils/gl_raii.h",
"gl_tests/AtomicCounterBufferTest.cpp",
"gl_tests/AttributeLayoutTest.cpp",
"gl_tests/BindGeneratesResourceTest.cpp",
"gl_tests/BindUniformLocationTest.cpp",
"gl_tests/BlendMinMaxTest.cpp",
"gl_tests/BlitFramebufferANGLETest.cpp",
"gl_tests/BufferDataTest.cpp",
"gl_tests/BuiltinVariableTest.cpp",
"gl_tests/ClearTest.cpp",
"gl_tests/ClientArraysTest.cpp",
"gl_tests/ColorMaskTest.cpp",
"gl_tests/ComputeShaderTest.cpp",
"gl_tests/CopyCompressedTextureTest.cpp",
"gl_tests/CopyTexImageTest.cpp",
"gl_tests/CopyTextureTest.cpp",
"gl_tests/CubeMapTextureTest.cpp",
"gl_tests/DebugMarkerTest.cpp",
"gl_tests/DebugTest.cpp",
"gl_tests/DepthStencilFormatsTest.cpp",
"gl_tests/DiscardFramebufferEXTTest.cpp",
"gl_tests/DrawBuffersTest.cpp",
"gl_tests/DrawElementsTest.cpp",
"gl_tests/DXT1CompressedTextureTest.cpp",
"gl_tests/DXTSRGBCompressedTextureTest.cpp",
"gl_tests/ETCTextureTest.cpp",
"gl_tests/ExplicitContextTest.cpp",
"gl_tests/FenceSyncTests.cpp",
"gl_tests/FloatingPointSurfaceTest.cpp",
"gl_tests/FramebufferMixedSamplesTest.cpp",
"gl_tests/FramebufferMultiviewTest.cpp",
"gl_tests/FramebufferRenderMipmapTest.cpp",
"gl_tests/FramebufferTest.cpp",
"gl_tests/GeometryShaderTest.cpp",
"gl_tests/gles1/AlphaFuncTest.cpp",
"gl_tests/gles1/BasicDrawTest.cpp",
"gl_tests/gles1/ClientActiveTextureTest.cpp",
"gl_tests/gles1/ClientStateEnable.cpp",
"gl_tests/gles1/ClipPlaneTest.cpp",
"gl_tests/gles1/CurrentColorTest.cpp",
"gl_tests/gles1/CurrentNormalTest.cpp",
"gl_tests/gles1/CurrentTextureCoordsTest.cpp",
"gl_tests/gles1/DrawTextureTest.cpp",
"gl_tests/gles1/FogTest.cpp",
"gl_tests/gles1/MaterialsTest.cpp",
"gl_tests/gles1/MatrixBuiltinsTest.cpp",
"gl_tests/gles1/MatrixLoadTest.cpp",
"gl_tests/gles1/MatrixModeTest.cpp",
"gl_tests/gles1/MatrixMultTest.cpp",
"gl_tests/gles1/MatrixStackTest.cpp",
"gl_tests/gles1/LightsTest.cpp",
"gl_tests/gles1/PointParameterTest.cpp",
"gl_tests/gles1/ShadeModelTest.cpp",
"gl_tests/gles1/TextureEnvTest.cpp",
"gl_tests/gles1/TextureParameterTest.cpp",
"gl_tests/gles1/TextureTargetEnableTest.cpp",
"gl_tests/gles1/VertexPointerTest.cpp",
"gl_tests/GLSLTest.cpp",
"gl_tests/ImageTest.cpp",
"gl_tests/IncompleteTextureTest.cpp",
"gl_tests/IndexBufferOffsetTest.cpp",
"gl_tests/IndexedPointsTest.cpp",
"gl_tests/InstancingTest.cpp",
"gl_tests/LineLoopTest.cpp",
"gl_tests/LinkAndRelinkTest.cpp",
"gl_tests/MaxTextureSizeTest.cpp",
"gl_tests/MipmapTest.cpp",
"gl_tests/MultisampleCompatibilityTest.cpp",
"gl_tests/MultithreadingTest.cpp",
"gl_tests/MultiviewDrawTest.cpp",
"gl_tests/media/pixel.inl",
"gl_tests/PackUnpackTest.cpp",
"gl_tests/PathRenderingTest.cpp",
"gl_tests/PbufferTest.cpp",
"gl_tests/PBOExtensionTest.cpp",
"gl_tests/PointSpritesTest.cpp",
"gl_tests/ProvokingVertexTest.cpp",
"gl_tests/ObjectAllocationTest.cpp",
"gl_tests/OcclusionQueriesTest.cpp",
"gl_tests/ParallelShaderCompileTest.cpp",
"gl_tests/ProgramBinaryTest.cpp",
"gl_tests/ProgramInterfaceTest.cpp",
"gl_tests/ProgramParameterTest.cpp",
"gl_tests/ProgramPipelineTest.cpp",
"gl_tests/ReadPixelsTest.cpp",
"gl_tests/RenderbufferMultisampleTest.cpp",
"gl_tests/RendererTest.cpp",
"gl_tests/RequestExtensionTest.cpp",
"gl_tests/RobustBufferAccessBehaviorTest.cpp",
"gl_tests/RobustClientMemoryTest.cpp",
"gl_tests/RobustResourceInitTest.cpp",
"gl_tests/SamplersTest.cpp",
"gl_tests/ShaderStorageBufferTest.cpp",
"gl_tests/SimpleOperationTest.cpp",
"gl_tests/SixteenBppTextureTest.cpp",
"gl_tests/SRGBFramebufferTest.cpp",
"gl_tests/SRGBTextureTest.cpp",
"gl_tests/StateChangeTest.cpp",
"gl_tests/SwizzleTest.cpp",
"gl_tests/SyncQueriesTest.cpp",
"gl_tests/TextureMultisampleTest.cpp",
"gl_tests/TextureRectangleTest.cpp",
"gl_tests/TextureTest.cpp",
"gl_tests/TextureUploadFormatTest.cpp",
"gl_tests/TimerQueriesTest.cpp",
"gl_tests/TransformFeedbackTest.cpp",
"gl_tests/UniformBufferTest.cpp",
"gl_tests/UniformTest.cpp",
"gl_tests/UnpackAlignmentTest.cpp",
"gl_tests/UnpackRowLength.cpp",
"gl_tests/VertexAttributeTest.cpp",
"gl_tests/ViewportTest.cpp",
"gl_tests/WebGLCompatibilityTest.cpp",
"gl_tests/WebGLFramebufferTest.cpp",
"gl_tests/WebGLReadOutsideFramebufferTest.cpp",
"egl_tests/EGLContextCompatibilityTest.cpp",
"egl_tests/EGLContextSharingTest.cpp",
"egl_tests/EGLDebugTest.cpp",
"egl_tests/EGLProgramCacheControlTest.cpp",
"egl_tests/EGLQueryContextTest.cpp",
"egl_tests/EGLRobustnessTest.cpp",
"egl_tests/EGLSanityCheckTest.cpp",
"egl_tests/EGLSurfacelessContextTest.cpp",
"egl_tests/EGLSurfaceTest.cpp",
"egl_tests/EGLThreadTest.cpp",
"test_utils/ANGLETest.cpp",
"test_utils/ANGLETest.h",
"test_utils/MultiviewTest.cpp",
"test_utils/MultiviewTest.h",
"test_utils/angle_test_configs.cpp",
"test_utils/angle_test_configs.h",
"test_utils/angle_test_instantiate.cpp",
"test_utils/angle_test_instantiate.h",
"test_utils/gl_raii.h",
]
angle_end2end_tests_mac_sources =
[ "src/tests/egl_tests/EGLIOSurfaceClientBufferTest.cpp" ]
[ "egl_tests/EGLIOSurfaceClientBufferTest.cpp" ]
angle_end2end_tests_win_sources = [
"src/tests/gl_tests/D3DImageFormatConversionTest.cpp",
"src/tests/egl_tests/EGLDeviceTest.cpp",
"src/tests/egl_tests/EGLPresentPathD3D11Test.cpp",
"src/tests/egl_tests/EGLStreamTest.cpp",
"src/tests/egl_tests/EGLSyncControlTest.cpp",
"src/tests/egl_tests/media/yuvtest.inl",
"gl_tests/D3DImageFormatConversionTest.cpp",
"egl_tests/EGLDeviceTest.cpp",
"egl_tests/EGLPresentPathD3D11Test.cpp",
"egl_tests/EGLStreamTest.cpp",
"egl_tests/EGLSyncControlTest.cpp",
"egl_tests/media/yuvtest.inl",
]
angle_end2end_tests_x11_sources = [ "src/tests/egl_tests/EGLX11VisualTest.cpp" ]
angle_end2end_tests_x11_sources = [ "egl_tests/EGLX11VisualTest.cpp" ]
......@@ -3,49 +3,47 @@
# found in the LICENSE file.
angle_perf_tests_sources = [
"src/tests/perf_tests/ANGLEPerfTest.cpp",
"src/tests/perf_tests/ANGLEPerfTest.h",
"src/tests/perf_tests/BlitFramebufferPerf.cpp",
"src/tests/perf_tests/BindingPerf.cpp",
"src/tests/perf_tests/BitSetIteratorPerf.cpp",
"src/tests/perf_tests/BufferSubData.cpp",
"src/tests/perf_tests/CompilerPerf.cpp",
"src/tests/perf_tests/DispatchComputePerf.cpp",
"src/tests/perf_tests/DrawCallPerf.cpp",
"src/tests/perf_tests/DrawCallPerfParams.cpp",
"src/tests/perf_tests/DrawCallPerfParams.h",
"src/tests/perf_tests/DrawElementsPerf.cpp",
"src/tests/perf_tests/DynamicPromotionPerfTest.cpp",
"src/tests/perf_tests/EGLInitializePerf.cpp",
"src/tests/perf_tests/EGLMakeCurrentPerf.cpp",
"src/tests/perf_tests/ResultPerf.cpp",
"src/tests/perf_tests/IndexConversionPerf.cpp",
"src/tests/perf_tests/InstancingPerf.cpp",
"src/tests/perf_tests/InterleavedAttributeData.cpp",
"src/tests/perf_tests/LinkProgramPerfTest.cpp",
"src/tests/perf_tests/MultiviewPerf.cpp",
"src/tests/perf_tests/PointSprites.cpp",
"src/tests/perf_tests/TexSubImage.cpp",
"src/tests/perf_tests/TextureSampling.cpp",
"src/tests/perf_tests/TexturesPerf.cpp",
"src/tests/perf_tests/UniformsPerf.cpp",
"src/tests/perf_tests/third_party/perf/perf_test.cc",
"src/tests/perf_tests/third_party/perf/perf_test.h",
"src/tests/test_utils/angle_test_configs.cpp",
"src/tests/test_utils/angle_test_configs.h",
"src/tests/test_utils/angle_test_instantiate.cpp",
"src/tests/test_utils/angle_test_instantiate.h",
"src/tests/test_utils/draw_call_perf_utils.cpp",
"src/tests/test_utils/draw_call_perf_utils.h",
"perf_tests/ANGLEPerfTest.cpp",
"perf_tests/ANGLEPerfTest.h",
"perf_tests/BlitFramebufferPerf.cpp",
"perf_tests/BindingPerf.cpp",
"perf_tests/BitSetIteratorPerf.cpp",
"perf_tests/BufferSubData.cpp",
"perf_tests/CompilerPerf.cpp",
"perf_tests/DispatchComputePerf.cpp",
"perf_tests/DrawCallPerf.cpp",
"perf_tests/DrawCallPerfParams.cpp",
"perf_tests/DrawCallPerfParams.h",
"perf_tests/DrawElementsPerf.cpp",
"perf_tests/DynamicPromotionPerfTest.cpp",
"perf_tests/EGLInitializePerf.cpp",
"perf_tests/EGLMakeCurrentPerf.cpp",
"perf_tests/ResultPerf.cpp",
"perf_tests/IndexConversionPerf.cpp",
"perf_tests/InstancingPerf.cpp",
"perf_tests/InterleavedAttributeData.cpp",
"perf_tests/LinkProgramPerfTest.cpp",
"perf_tests/MultiviewPerf.cpp",
"perf_tests/PointSprites.cpp",
"perf_tests/TexSubImage.cpp",
"perf_tests/TextureSampling.cpp",
"perf_tests/TexturesPerf.cpp",
"perf_tests/UniformsPerf.cpp",
"perf_tests/third_party/perf/perf_test.cc",
"perf_tests/third_party/perf/perf_test.h",
"test_utils/angle_test_configs.cpp",
"test_utils/angle_test_configs.h",
"test_utils/angle_test_instantiate.cpp",
"test_utils/angle_test_instantiate.h",
"test_utils/draw_call_perf_utils.cpp",
"test_utils/draw_call_perf_utils.h",
]
angle_perf_tests_win_sources =
[ "src/tests/perf_tests/IndexDataManagerTest.cpp" ]
angle_perf_tests_vulkan_sources =
[ "src/tests/perf_tests/VulkanPipelineCachePerf.cpp" ]
angle_perf_tests_win_sources = [ "perf_tests/IndexDataManagerTest.cpp" ]
angle_perf_tests_vulkan_sources = [ "perf_tests/VulkanPipelineCachePerf.cpp" ]
# Currently Vulkan Command Buffer Perf Tests compile on Android/Linux
angle_perf_tests_vulkan_command_buffer_sources = [
"src/tests/perf_tests/VulkanCommandBufferPerf.cpp",
"src/tests/test_utils/third_party/vulkan_command_buffer_utils.cpp",
"src/tests/test_utils/third_party/vulkan_command_buffer_utils.h",
"perf_tests/VulkanCommandBufferPerf.cpp",
"test_utils/third_party/vulkan_command_buffer_utils.cpp",
"test_utils/third_party/vulkan_command_buffer_utils.h",
]
......@@ -3,126 +3,126 @@
# found in the LICENSE file.
angle_unittests_sources = [
"src/common/FixedVector_unittest.cpp",
"src/common/Optional_unittest.cpp",
"src/common/aligned_memory_unittest.cpp",
"src/common/angleutils_unittest.cpp",
"src/common/bitset_utils_unittest.cpp",
"src/common/mathutil_unittest.cpp",
"src/common/matrix_utils_unittest.cpp",
"src/common/string_utils_unittest.cpp",
"src/common/utilities_unittest.cpp",
"src/common/vector_utils_unittest.cpp",
"src/gpu_info_util/SystemInfo_unittest.cpp",
"src/libANGLE/BinaryStream_unittest.cpp",
"src/libANGLE/Config_unittest.cpp",
"src/libANGLE/Fence_unittest.cpp",
"src/libANGLE/HandleAllocator_unittest.cpp",
"src/libANGLE/HandleRangeAllocator_unittest.cpp",
"src/libANGLE/Image_unittest.cpp",
"src/libANGLE/ImageIndexIterator_unittest.cpp",
"src/libANGLE/Observer_unittest.cpp",
"src/libANGLE/Program_unittest.cpp",
"src/libANGLE/ResourceManager_unittest.cpp",
"src/libANGLE/SizedMRUCache_unittest.cpp",
"src/libANGLE/Surface_unittest.cpp",
"src/libANGLE/TransformFeedback_unittest.cpp",
"src/libANGLE/VaryingPacking_unittest.cpp",
"src/libANGLE/VertexArray_unittest.cpp",
"src/libANGLE/WorkerThread_unittest.cpp",
"src/libANGLE/renderer/BufferImpl_mock.h",
"src/libANGLE/renderer/FramebufferImpl_mock.h",
"src/libANGLE/renderer/ProgramImpl_mock.h",
"src/libANGLE/renderer/RenderbufferImpl_mock.h",
"src/libANGLE/renderer/ImageImpl_mock.h",
"src/libANGLE/renderer/TextureImpl_mock.h",
"src/libANGLE/renderer/TransformFeedbackImpl_mock.h",
"src/tests/angle_unittests_utils.h",
"src/tests/compiler_tests/API_test.cpp",
"src/tests/compiler_tests/AppendixALimitations_test.cpp",
"src/tests/compiler_tests/ARB_texture_rectangle_test.cpp",
"src/tests/compiler_tests/AtomicCounter_test.cpp",
"src/tests/compiler_tests/BufferVariables_test.cpp",
"src/tests/compiler_tests/CollectVariables_test.cpp",
"src/tests/compiler_tests/ConstantFolding_test.cpp",
"src/tests/compiler_tests/ConstantFoldingNaN_test.cpp",
"src/tests/compiler_tests/ConstantFoldingOverflow_test.cpp",
"src/tests/compiler_tests/ConstructCompiler_test.cpp",
"src/tests/compiler_tests/DebugShaderPrecision_test.cpp",
"src/tests/compiler_tests/EmulateGLFragColorBroadcast_test.cpp",
"src/tests/compiler_tests/ExpressionLimit_test.cpp",
"src/tests/compiler_tests/EXT_YUV_target_test.cpp",
"src/tests/compiler_tests/EXT_blend_func_extended_test.cpp",
"src/tests/compiler_tests/EXT_frag_depth_test.cpp",
"src/tests/compiler_tests/EXT_shader_texture_lod_test.cpp",
"src/tests/compiler_tests/ExtensionDirective_test.cpp",
"src/tests/compiler_tests/FloatLex_test.cpp",
"src/tests/compiler_tests/FragDepth_test.cpp",
"src/tests/compiler_tests/GLSLCompatibilityOutput_test.cpp",
"src/tests/compiler_tests/GlFragDataNotModified_test.cpp",
"src/tests/compiler_tests/GeometryShader_test.cpp",
"src/tests/compiler_tests/ImmutableString_test.cpp",
"src/tests/compiler_tests/ImmutableString_test_autogen.cpp",
"src/tests/compiler_tests/InitOutputVariables_test.cpp",
"src/tests/compiler_tests/IntermNode_test.cpp",
"src/tests/compiler_tests/NV_draw_buffers_test.cpp",
"src/tests/compiler_tests/OES_standard_derivatives_test.cpp",
"src/tests/compiler_tests/Pack_Unpack_test.cpp",
"src/tests/compiler_tests/PruneEmptyCases_test.cpp",
"src/tests/compiler_tests/PruneEmptyDeclarations_test.cpp",
"src/tests/compiler_tests/PrunePureLiteralStatements_test.cpp",
"src/tests/compiler_tests/PruneUnusedFunctions_test.cpp",
"src/tests/compiler_tests/QualificationOrderESSL31_test.cpp",
"src/tests/compiler_tests/QualificationOrder_test.cpp",
"src/tests/compiler_tests/RecordConstantPrecision_test.cpp",
"src/tests/compiler_tests/RegenerateStructNames_test.cpp",
"src/tests/compiler_tests/RemovePow_test.cpp",
"src/tests/compiler_tests/RemoveUnreferencedVariables_test.cpp",
"src/tests/compiler_tests/RewriteDoWhile_test.cpp",
"src/tests/compiler_tests/SamplerMultisample_test.cpp",
"src/tests/compiler_tests/ScalarizeVecAndMatConstructorArgs_test.cpp",
"src/tests/compiler_tests/ShaderImage_test.cpp",
"src/tests/compiler_tests/ShaderValidation_test.cpp",
"src/tests/compiler_tests/ShaderVariable_test.cpp",
"src/tests/compiler_tests/ShCompile_test.cpp",
"src/tests/compiler_tests/TextureFunction_test.cpp",
"src/tests/compiler_tests/Type_test.cpp",
"src/tests/compiler_tests/TypeTracking_test.cpp",
"src/tests/compiler_tests/UnfoldShortCircuitAST_test.cpp",
"src/tests/compiler_tests/VariablePacker_test.cpp",
"src/tests/compiler_tests/VectorizeVectorScalarArithmetic_test.cpp",
"src/tests/compiler_tests/WEBGL_multiview_test.cpp",
"src/tests/compiler_tests/WorkGroupSize_test.cpp",
"src/tests/preprocessor_tests/char_test.cpp",
"src/tests/preprocessor_tests/comment_test.cpp",
"src/tests/preprocessor_tests/define_test.cpp",
"src/tests/preprocessor_tests/error_test.cpp",
"src/tests/preprocessor_tests/extension_test.cpp",
"src/tests/preprocessor_tests/identifier_test.cpp",
"src/tests/preprocessor_tests/if_test.cpp",
"src/tests/preprocessor_tests/input_test.cpp",
"src/tests/preprocessor_tests/location_test.cpp",
"src/tests/preprocessor_tests/MockDiagnostics.h",
"src/tests/preprocessor_tests/MockDirectiveHandler.h",
"src/tests/preprocessor_tests/number_test.cpp",
"src/tests/preprocessor_tests/operator_test.cpp",
"src/tests/preprocessor_tests/pragma_test.cpp",
"src/tests/preprocessor_tests/PreprocessorTest.cpp",
"src/tests/preprocessor_tests/PreprocessorTest.h",
"src/tests/preprocessor_tests/space_test.cpp",
"src/tests/preprocessor_tests/token_test.cpp",
"src/tests/preprocessor_tests/version_test.cpp",
"src/tests/test_utils/compiler_test.cpp",
"src/tests/test_utils/compiler_test.h",
"src/tests/test_utils/ConstantFoldingTest.h",
"src/tests/test_utils/ConstantFoldingTest.cpp",
"src/tests/test_utils/ShaderCompileTreeTest.h",
"src/tests/test_utils/ShaderCompileTreeTest.cpp",
"src/tests/test_utils/ShaderExtensionTest.h",
"../common/FixedVector_unittest.cpp",
"../common/Optional_unittest.cpp",
"../common/aligned_memory_unittest.cpp",
"../common/angleutils_unittest.cpp",
"../common/bitset_utils_unittest.cpp",
"../common/mathutil_unittest.cpp",
"../common/matrix_utils_unittest.cpp",
"../common/string_utils_unittest.cpp",
"../common/utilities_unittest.cpp",
"../common/vector_utils_unittest.cpp",
"../gpu_info_util/SystemInfo_unittest.cpp",
"../libANGLE/BinaryStream_unittest.cpp",
"../libANGLE/Config_unittest.cpp",
"../libANGLE/Fence_unittest.cpp",
"../libANGLE/HandleAllocator_unittest.cpp",
"../libANGLE/HandleRangeAllocator_unittest.cpp",
"../libANGLE/Image_unittest.cpp",
"../libANGLE/ImageIndexIterator_unittest.cpp",
"../libANGLE/Observer_unittest.cpp",
"../libANGLE/Program_unittest.cpp",
"../libANGLE/ResourceManager_unittest.cpp",
"../libANGLE/SizedMRUCache_unittest.cpp",
"../libANGLE/Surface_unittest.cpp",
"../libANGLE/TransformFeedback_unittest.cpp",
"../libANGLE/VaryingPacking_unittest.cpp",
"../libANGLE/VertexArray_unittest.cpp",
"../libANGLE/WorkerThread_unittest.cpp",
"../libANGLE/renderer/BufferImpl_mock.h",
"../libANGLE/renderer/FramebufferImpl_mock.h",
"../libANGLE/renderer/ProgramImpl_mock.h",
"../libANGLE/renderer/RenderbufferImpl_mock.h",
"../libANGLE/renderer/ImageImpl_mock.h",
"../libANGLE/renderer/TextureImpl_mock.h",
"../libANGLE/renderer/TransformFeedbackImpl_mock.h",
"../tests/angle_unittests_utils.h",
"../tests/compiler_tests/API_test.cpp",
"../tests/compiler_tests/AppendixALimitations_test.cpp",
"../tests/compiler_tests/ARB_texture_rectangle_test.cpp",
"../tests/compiler_tests/AtomicCounter_test.cpp",
"../tests/compiler_tests/BufferVariables_test.cpp",
"../tests/compiler_tests/CollectVariables_test.cpp",
"../tests/compiler_tests/ConstantFolding_test.cpp",
"../tests/compiler_tests/ConstantFoldingNaN_test.cpp",
"../tests/compiler_tests/ConstantFoldingOverflow_test.cpp",
"../tests/compiler_tests/ConstructCompiler_test.cpp",
"../tests/compiler_tests/DebugShaderPrecision_test.cpp",
"../tests/compiler_tests/EmulateGLFragColorBroadcast_test.cpp",
"../tests/compiler_tests/ExpressionLimit_test.cpp",
"../tests/compiler_tests/EXT_YUV_target_test.cpp",
"../tests/compiler_tests/EXT_blend_func_extended_test.cpp",
"../tests/compiler_tests/EXT_frag_depth_test.cpp",
"../tests/compiler_tests/EXT_shader_texture_lod_test.cpp",
"../tests/compiler_tests/ExtensionDirective_test.cpp",
"../tests/compiler_tests/FloatLex_test.cpp",
"../tests/compiler_tests/FragDepth_test.cpp",
"../tests/compiler_tests/GLSLCompatibilityOutput_test.cpp",
"../tests/compiler_tests/GlFragDataNotModified_test.cpp",
"../tests/compiler_tests/GeometryShader_test.cpp",
"../tests/compiler_tests/ImmutableString_test.cpp",
"../tests/compiler_tests/ImmutableString_test_autogen.cpp",
"../tests/compiler_tests/InitOutputVariables_test.cpp",
"../tests/compiler_tests/IntermNode_test.cpp",
"../tests/compiler_tests/NV_draw_buffers_test.cpp",
"../tests/compiler_tests/OES_standard_derivatives_test.cpp",
"../tests/compiler_tests/Pack_Unpack_test.cpp",
"../tests/compiler_tests/PruneEmptyCases_test.cpp",
"../tests/compiler_tests/PruneEmptyDeclarations_test.cpp",
"../tests/compiler_tests/PrunePureLiteralStatements_test.cpp",
"../tests/compiler_tests/PruneUnusedFunctions_test.cpp",
"../tests/compiler_tests/QualificationOrderESSL31_test.cpp",
"../tests/compiler_tests/QualificationOrder_test.cpp",
"../tests/compiler_tests/RecordConstantPrecision_test.cpp",
"../tests/compiler_tests/RegenerateStructNames_test.cpp",
"../tests/compiler_tests/RemovePow_test.cpp",
"../tests/compiler_tests/RemoveUnreferencedVariables_test.cpp",
"../tests/compiler_tests/RewriteDoWhile_test.cpp",
"../tests/compiler_tests/SamplerMultisample_test.cpp",
"../tests/compiler_tests/ScalarizeVecAndMatConstructorArgs_test.cpp",
"../tests/compiler_tests/ShaderImage_test.cpp",
"../tests/compiler_tests/ShaderValidation_test.cpp",
"../tests/compiler_tests/ShaderVariable_test.cpp",
"../tests/compiler_tests/ShCompile_test.cpp",
"../tests/compiler_tests/TextureFunction_test.cpp",
"../tests/compiler_tests/Type_test.cpp",
"../tests/compiler_tests/TypeTracking_test.cpp",
"../tests/compiler_tests/UnfoldShortCircuitAST_test.cpp",
"../tests/compiler_tests/VariablePacker_test.cpp",
"../tests/compiler_tests/VectorizeVectorScalarArithmetic_test.cpp",
"../tests/compiler_tests/WEBGL_multiview_test.cpp",
"../tests/compiler_tests/WorkGroupSize_test.cpp",
"../tests/preprocessor_tests/char_test.cpp",
"../tests/preprocessor_tests/comment_test.cpp",
"../tests/preprocessor_tests/define_test.cpp",
"../tests/preprocessor_tests/error_test.cpp",
"../tests/preprocessor_tests/extension_test.cpp",
"../tests/preprocessor_tests/identifier_test.cpp",
"../tests/preprocessor_tests/if_test.cpp",
"../tests/preprocessor_tests/input_test.cpp",
"../tests/preprocessor_tests/location_test.cpp",
"../tests/preprocessor_tests/MockDiagnostics.h",
"../tests/preprocessor_tests/MockDirectiveHandler.h",
"../tests/preprocessor_tests/number_test.cpp",
"../tests/preprocessor_tests/operator_test.cpp",
"../tests/preprocessor_tests/pragma_test.cpp",
"../tests/preprocessor_tests/PreprocessorTest.cpp",
"../tests/preprocessor_tests/PreprocessorTest.h",
"../tests/preprocessor_tests/space_test.cpp",
"../tests/preprocessor_tests/token_test.cpp",
"../tests/preprocessor_tests/version_test.cpp",
"../tests/test_utils/compiler_test.cpp",
"../tests/test_utils/compiler_test.h",
"../tests/test_utils/ConstantFoldingTest.h",
"../tests/test_utils/ConstantFoldingTest.cpp",
"../tests/test_utils/ShaderCompileTreeTest.h",
"../tests/test_utils/ShaderCompileTreeTest.cpp",
"../tests/test_utils/ShaderExtensionTest.h",
]
# TODO(jmadill): should probably call this windows sources
angle_unittests_hlsl_sources = [
"src/tests/compiler_tests/HLSLOutput_test.cpp",
"src/tests/compiler_tests/UnrollFlatten_test.cpp",
"../tests/compiler_tests/HLSLOutput_test.cpp",
"../tests/compiler_tests/UnrollFlatten_test.cpp",
]
......@@ -3,19 +3,19 @@
# found in the LICENSE file.
angle_white_box_tests_sources = [
"src/tests/util_tests/PrintSystemInfoTest.cpp",
"src/tests/test_utils/angle_test_configs.cpp",
"src/tests/test_utils/angle_test_configs.h",
"src/tests/test_utils/angle_test_instantiate.cpp",
"src/tests/test_utils/angle_test_instantiate.h",
"src/tests/test_utils/ANGLETest.cpp",
"src/tests/test_utils/ANGLETest.h",
"src/tests/test_utils/gl_raii.h",
"util_tests/PrintSystemInfoTest.cpp",
"test_utils/angle_test_configs.cpp",
"test_utils/angle_test_configs.h",
"test_utils/angle_test_instantiate.cpp",
"test_utils/angle_test_instantiate.h",
"test_utils/ANGLETest.cpp",
"test_utils/ANGLETest.h",
"test_utils/gl_raii.h",
]
angle_white_box_tests_win_sources = [
"src/tests/gl_tests/D3D11EmulatedIndexedBufferTest.cpp",
"src/tests/gl_tests/D3D11FormatTablesTest.cpp",
"src/tests/gl_tests/D3D11InputLayoutCacheTest.cpp",
"src/tests/gl_tests/D3DTextureTest.cpp",
"src/tests/gl_tests/ErrorMessages.cpp",
"gl_tests/D3D11EmulatedIndexedBufferTest.cpp",
"gl_tests/D3D11FormatTablesTest.cpp",
"gl_tests/D3D11InputLayoutCacheTest.cpp",
"gl_tests/D3DTextureTest.cpp",
"gl_tests/ErrorMessages.cpp",
]
......@@ -3,7 +3,7 @@
# found in the LICENSE file.
# leading underscore makes this a local variable
_deqp_path = "third_party/deqp/src"
_deqp_path = "../../third_party/deqp/src"
deqp_include_dirs = [
"$_deqp_path/executor",
......@@ -992,8 +992,8 @@ deqp_libtester_sources = [
# TODO(jmadill): Remove override when upstreamed. http://anglebug.com/2564
#"$_deqp_path/framework/egl/egluNativeDisplay.cpp",
"src/tests/deqp_support/egluNativeDisplay_override.cpp",
"src/tests/deqp_support/egluNativeDisplay_override.hpp",
"deqp_support/egluNativeDisplay_override.cpp",
"deqp_support/egluNativeDisplay_override.hpp",
"$_deqp_path/framework/egl/egluNativePixmap.cpp",
"$_deqp_path/framework/egl/egluNativeWindow.cpp",
"$_deqp_path/framework/egl/egluPlatform.cpp",
......@@ -1003,7 +1003,7 @@ deqp_libtester_sources = [
# TODO(jmadill): Remove override when upstreamed. http://anglebug.com/2564
#"$_deqp_path/framework/egl/egluUtil.cpp",
"src/tests/deqp_support/egluUtil_override.cpp",
"deqp_support/egluUtil_override.cpp",
"$_deqp_path/framework/egl/wrapper/eglwDefs.cpp",
"$_deqp_path/framework/egl/wrapper/eglwFunctions.cpp",
"$_deqp_path/framework/egl/wrapper/eglwLibrary.cpp",
......@@ -1119,12 +1119,12 @@ deqp_libtester_sources = [
"$_deqp_path/modules/glshared/glsTextureTestUtil.cpp",
"$_deqp_path/modules/glshared/glsUniformBlockCase.cpp",
"$_deqp_path/modules/glshared/glsVertexArrayTests.cpp",
"src/tests/deqp_support/tcuANGLENativeDisplayFactory.cpp",
"src/tests/deqp_support/tcuANGLENativeDisplayFactory.h",
"deqp_support/tcuANGLENativeDisplayFactory.cpp",
"deqp_support/tcuANGLENativeDisplayFactory.h",
# TODO(jmadill): integrate with dEQP
"src/tests/deqp_support/tcuRandomOrderExecutor.cpp",
"src/tests/deqp_support/tcuRandomOrderExecutor.h",
"deqp_support/tcuRandomOrderExecutor.cpp",
"deqp_support/tcuRandomOrderExecutor.h",
]
deqp_libtester_sources_win = [
"$_deqp_path/framework/delibs/dethread/win32/deMutexWin32.c",
......
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