1# Copyright 2015 The ANGLE Project Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5angle_unittests_sources = [ 6 "../../util/test_utils_unittest.cpp", 7 "../../util/test_utils_unittest_helper.h", 8 "../common/FastVector_unittest.cpp", 9 "../common/FixedVector_unittest.cpp", 10 "../common/Optional_unittest.cpp", 11 "../common/PoolAlloc_unittest.cpp", 12 "../common/aligned_memory_unittest.cpp", 13 "../common/angleutils_unittest.cpp", 14 "../common/bitset_utils_unittest.cpp", 15 "../common/hash_utils_unittest.cpp", 16 "../common/mathutil_unittest.cpp", 17 "../common/matrix_utils_unittest.cpp", 18 "../common/string_utils_unittest.cpp", 19 "../common/system_utils_unittest.cpp", 20 "../common/utilities_unittest.cpp", 21 "../common/vector_utils_unittest.cpp", 22 "../compiler/translator/span_unittest.cpp", 23 "../feature_support_util/feature_support_util_unittest.cpp", 24 "../gpu_info_util/SystemInfo_unittest.cpp", 25 "../libANGLE/BinaryStream_unittest.cpp", 26 "../libANGLE/BlobCache_unittest.cpp", 27 "../libANGLE/Config_unittest.cpp", 28 "../libANGLE/Fence_unittest.cpp", 29 "../libANGLE/HandleAllocator_unittest.cpp", 30 "../libANGLE/ImageIndexIterator_unittest.cpp", 31 "../libANGLE/Image_unittest.cpp", 32 "../libANGLE/Observer_unittest.cpp", 33 "../libANGLE/Program_unittest.cpp", 34 "../libANGLE/ResourceManager_unittest.cpp", 35 "../libANGLE/ResourceMap_unittest.cpp", 36 "../libANGLE/SizedMRUCache_unittest.cpp", 37 "../libANGLE/Surface_unittest.cpp", 38 "../libANGLE/TransformFeedback_unittest.cpp", 39 "../libANGLE/VaryingPacking_unittest.cpp", 40 "../libANGLE/VertexArray_unittest.cpp", 41 "../libANGLE/WorkerThread_unittest.cpp", 42 "../libANGLE/angletypes_unittest.cpp", 43 "../libANGLE/renderer/BufferImpl_mock.h", 44 "../libANGLE/renderer/FramebufferImpl_mock.h", 45 "../libANGLE/renderer/ImageImpl_mock.h", 46 "../libANGLE/renderer/ProgramImpl_mock.h", 47 "../libANGLE/renderer/RenderbufferImpl_mock.h", 48 "../libANGLE/renderer/TextureImpl_mock.h", 49 "../libANGLE/renderer/TransformFeedbackImpl_mock.h", 50 "../libANGLE/renderer/serial_utils_unittest.cpp", 51 "angle_unittests_utils.h", 52 "compiler_tests/API_test.cpp", 53 "compiler_tests/APPLE_clip_distance_test.cpp", 54 "compiler_tests/ARB_texture_rectangle_test.cpp", 55 "compiler_tests/AppendixALimitations_test.cpp", 56 "compiler_tests/AtomicCounter_test.cpp", 57 "compiler_tests/BufferVariables_test.cpp", 58 "compiler_tests/CollectVariables_test.cpp", 59 "compiler_tests/ConstantFoldingNaN_test.cpp", 60 "compiler_tests/ConstantFoldingOverflow_test.cpp", 61 "compiler_tests/ConstantFolding_test.cpp", 62 "compiler_tests/ConstructCompiler_test.cpp", 63 "compiler_tests/DebugShaderPrecision_test.cpp", 64 "compiler_tests/EXT_YUV_target_test.cpp", 65 "compiler_tests/EXT_blend_func_extended_test.cpp", 66 "compiler_tests/EXT_frag_depth_test.cpp", 67 "compiler_tests/EXT_shader_texture_lod_test.cpp", 68 "compiler_tests/EmulateGLBaseVertexBaseInstance_test.cpp", 69 "compiler_tests/EmulateGLDrawID_test.cpp", 70 "compiler_tests/EmulateGLFragColorBroadcast_test.cpp", 71 "compiler_tests/ExpressionLimit_test.cpp", 72 "compiler_tests/ExtensionDirective_test.cpp", 73 "compiler_tests/FloatLex_test.cpp", 74 "compiler_tests/FragDepth_test.cpp", 75 "compiler_tests/GLSLCompatibilityOutput_test.cpp", 76 "compiler_tests/GeometryShader_test.cpp", 77 "compiler_tests/GlFragDataNotModified_test.cpp", 78 "compiler_tests/ImmutableString_test.cpp", 79 "compiler_tests/InitOutputVariables_test.cpp", 80 "compiler_tests/IntermNode_test.cpp", 81 "compiler_tests/NV_draw_buffers_test.cpp", 82 "compiler_tests/OES_standard_derivatives_test.cpp", 83 "compiler_tests/OES_texture_cube_map_array_test.cpp", 84 "compiler_tests/OVR_multiview2_test.cpp", 85 "compiler_tests/OVR_multiview_test.cpp", 86 "compiler_tests/Pack_Unpack_test.cpp", 87 "compiler_tests/PruneEmptyCases_test.cpp", 88 "compiler_tests/PruneEmptyDeclarations_test.cpp", 89 "compiler_tests/PrunePureLiteralStatements_test.cpp", 90 "compiler_tests/PruneUnusedFunctions_test.cpp", 91 "compiler_tests/QualificationOrderESSL31_test.cpp", 92 "compiler_tests/QualificationOrder_test.cpp", 93 "compiler_tests/RecordConstantPrecision_test.cpp", 94 "compiler_tests/RegenerateStructNames_test.cpp", 95 "compiler_tests/RemovePow_test.cpp", 96 "compiler_tests/RemoveUnreferencedVariables_test.cpp", 97 "compiler_tests/RewriteDoWhile_test.cpp", 98 "compiler_tests/SamplerMultisample_test.cpp", 99 "compiler_tests/SamplerVideoWEBGL_test.cpp", 100 "compiler_tests/ScalarizeVecAndMatConstructorArgs_test.cpp", 101 "compiler_tests/ShCompile_test.cpp", 102 "compiler_tests/ShaderImage_test.cpp", 103 "compiler_tests/ShaderValidation_test.cpp", 104 "compiler_tests/ShaderVariable_test.cpp", 105 "compiler_tests/TextureFunction_test.cpp", 106 "compiler_tests/TypeTracking_test.cpp", 107 "compiler_tests/Type_test.cpp", 108 "compiler_tests/UnfoldShortCircuitAST_test.cpp", 109 "compiler_tests/VariablePacker_test.cpp", 110 "compiler_tests/VectorizeVectorScalarArithmetic_test.cpp", 111 "compiler_tests/WorkGroupSize_test.cpp", 112 "preprocessor_tests/MockDiagnostics.h", 113 "preprocessor_tests/MockDirectiveHandler.h", 114 "preprocessor_tests/PreprocessorTest.cpp", 115 "preprocessor_tests/PreprocessorTest.h", 116 "preprocessor_tests/char_test.cpp", 117 "preprocessor_tests/comment_test.cpp", 118 "preprocessor_tests/define_test.cpp", 119 "preprocessor_tests/error_test.cpp", 120 "preprocessor_tests/extension_test.cpp", 121 "preprocessor_tests/identifier_test.cpp", 122 "preprocessor_tests/if_test.cpp", 123 "preprocessor_tests/input_test.cpp", 124 "preprocessor_tests/location_test.cpp", 125 "preprocessor_tests/number_test.cpp", 126 "preprocessor_tests/operator_test.cpp", 127 "preprocessor_tests/pragma_test.cpp", 128 "preprocessor_tests/space_test.cpp", 129 "preprocessor_tests/token_test.cpp", 130 "preprocessor_tests/version_test.cpp", 131 "test_expectations/GPUTestExpectationsParser_unittest.cpp", 132 "test_utils/ConstantFoldingTest.cpp", 133 "test_utils/ConstantFoldingTest.h", 134 "test_utils/ShaderCompileTreeTest.cpp", 135 "test_utils/ShaderCompileTreeTest.h", 136 "test_utils/ShaderExtensionTest.h", 137 "test_utils/angle_test_instantiate.h", 138 "test_utils/compiler_test.cpp", 139 "test_utils/compiler_test.h", 140] 141 142# TODO(jmadill): should probably call this windows sources 143angle_unittests_hlsl_sources = [ 144 "../tests/compiler_tests/HLSLOutput_test.cpp", 145 "../tests/compiler_tests/UnrollFlatten_test.cpp", 146] 147 148if (is_android) { 149 angle_unittests_sources += 150 [ "../tests/compiler_tests/ImmutableString_test_ESSL_autogen.cpp" ] 151} else { 152 angle_unittests_sources += 153 [ "../tests/compiler_tests/ImmutableString_test_autogen.cpp" ] 154} 155 156if (!is_android && !is_fuchsia) { 157 angle_unittests_sources += 158 [ "../tests/test_utils/runner/TestSuite_unittest.cpp" ] 159} 160