• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  "../libANGLE/serializer/JsonSerializer_unittest.cpp",
52  "angle_unittests_utils.h",
53  "preprocessor_tests/MockDiagnostics.h",
54  "preprocessor_tests/MockDirectiveHandler.h",
55  "preprocessor_tests/PreprocessorTest.cpp",
56  "preprocessor_tests/PreprocessorTest.h",
57  "preprocessor_tests/char_test.cpp",
58  "preprocessor_tests/comment_test.cpp",
59  "preprocessor_tests/define_test.cpp",
60  "preprocessor_tests/error_test.cpp",
61  "preprocessor_tests/extension_test.cpp",
62  "preprocessor_tests/identifier_test.cpp",
63  "preprocessor_tests/if_test.cpp",
64  "preprocessor_tests/input_test.cpp",
65  "preprocessor_tests/location_test.cpp",
66  "preprocessor_tests/number_test.cpp",
67  "preprocessor_tests/operator_test.cpp",
68  "preprocessor_tests/pragma_test.cpp",
69  "preprocessor_tests/space_test.cpp",
70  "preprocessor_tests/token_test.cpp",
71  "preprocessor_tests/version_test.cpp",
72  "test_expectations/GPUTestExpectationsParser_unittest.cpp",
73  "test_utils/ShaderExtensionTest.h",
74  "test_utils/angle_test_instantiate.h",
75  "test_utils/compiler_test.cpp",
76  "test_utils/compiler_test.h",
77]
78
79angle_unittests_compiler_tests_sources = [
80  "compiler_tests/API_test.cpp",
81  "compiler_tests/APPLE_clip_distance_test.cpp",
82  "compiler_tests/ARB_texture_rectangle_test.cpp",
83  "compiler_tests/AppendixALimitations_test.cpp",
84  "compiler_tests/AtomicCounter_test.cpp",
85  "compiler_tests/BufferVariables_test.cpp",
86  "compiler_tests/CollectVariables_test.cpp",
87  "compiler_tests/ConstantFoldingNaN_test.cpp",
88  "compiler_tests/ConstantFoldingOverflow_test.cpp",
89  "compiler_tests/ConstantFolding_test.cpp",
90  "compiler_tests/ConstructCompiler_test.cpp",
91  "compiler_tests/DebugShaderPrecision_test.cpp",
92  "compiler_tests/EXT_YUV_target_test.cpp",
93  "compiler_tests/EXT_blend_func_extended_test.cpp",
94  "compiler_tests/EXT_clip_cull_distance_test.cpp",
95  "compiler_tests/EXT_frag_depth_test.cpp",
96  "compiler_tests/EXT_shader_framebuffer_fetch_test.cpp",
97  "compiler_tests/EXT_shader_texture_lod_test.cpp",
98  "compiler_tests/EXT_shadow_samplers_test.cpp",
99  "compiler_tests/EmulateGLBaseVertexBaseInstance_test.cpp",
100  "compiler_tests/EmulateGLDrawID_test.cpp",
101  "compiler_tests/EmulateGLFragColorBroadcast_test.cpp",
102  "compiler_tests/ExpressionLimit_test.cpp",
103  "compiler_tests/ExtensionDirective_test.cpp",
104  "compiler_tests/FloatLex_test.cpp",
105  "compiler_tests/FragDepth_test.cpp",
106  "compiler_tests/GLSLCompatibilityOutput_test.cpp",
107  "compiler_tests/GeometryShader_test.cpp",
108  "compiler_tests/GlFragDataNotModified_test.cpp",
109  "compiler_tests/ImmutableString_test.cpp",
110  "compiler_tests/InitOutputVariables_test.cpp",
111  "compiler_tests/IntermNode_test.cpp",
112  "compiler_tests/NV_draw_buffers_test.cpp",
113  "compiler_tests/OES_sample_variables_test.cpp",
114  "compiler_tests/OES_standard_derivatives_test.cpp",
115  "compiler_tests/OES_texture_cube_map_array_test.cpp",
116  "compiler_tests/OVR_multiview2_test.cpp",
117  "compiler_tests/OVR_multiview_test.cpp",
118  "compiler_tests/Pack_Unpack_test.cpp",
119  "compiler_tests/PruneEmptyCases_test.cpp",
120  "compiler_tests/PruneEmptyDeclarations_test.cpp",
121  "compiler_tests/PrunePureLiteralStatements_test.cpp",
122  "compiler_tests/PruneUnusedFunctions_test.cpp",
123  "compiler_tests/QualificationOrderESSL31_test.cpp",
124  "compiler_tests/QualificationOrder_test.cpp",
125  "compiler_tests/RecordConstantPrecision_test.cpp",
126  "compiler_tests/RegenerateStructNames_test.cpp",
127  "compiler_tests/RemoveUnreferencedVariables_test.cpp",
128  "compiler_tests/SamplerMultisample_test.cpp",
129  "compiler_tests/SamplerVideoWEBGL_test.cpp",
130  "compiler_tests/ScalarizeVecAndMatConstructorArgs_test.cpp",
131  "compiler_tests/ShCompile_test.cpp",
132  "compiler_tests/ShaderImage_test.cpp",
133  "compiler_tests/ShaderValidation_test.cpp",
134  "compiler_tests/ShaderVariable_test.cpp",
135  "compiler_tests/TextureFunction_test.cpp",
136  "compiler_tests/TypeTracking_test.cpp",
137  "compiler_tests/Type_test.cpp",
138  "compiler_tests/VariablePacker_test.cpp",
139  "compiler_tests/VectorizeVectorScalarArithmetic_test.cpp",
140  "compiler_tests/WorkGroupSize_test.cpp",
141  "test_utils/ConstantFoldingTest.cpp",
142  "test_utils/ConstantFoldingTest.h",
143  "test_utils/ShaderCompileTreeTest.cpp",
144  "test_utils/ShaderCompileTreeTest.h",
145]
146
147angle_unittests_glsl_mac_sources = [
148  "compiler_tests/RewriteDoWhile_test.cpp",
149  "compiler_tests/UnfoldShortCircuitAST_test.cpp",
150]
151
152# TODO(jmadill): should probably call this windows sources
153angle_unittests_hlsl_sources = [
154  "compiler_tests/HLSLOutput_test.cpp",
155  "compiler_tests/UnrollFlatten_test.cpp",
156]
157
158angle_unittests_gl_sources =
159    [ "../libANGLE/renderer/gl/DisplayGL_unittest.cpp" ]
160
161angle_unittests_msl_sources = [ "../tests/compiler_tests/MSLOutput_test.cpp" ]
162
163if (is_android) {
164  angle_unittests_sources +=
165      [ "compiler_tests/ImmutableString_test_ESSL_autogen.cpp" ]
166} else {
167  angle_unittests_sources +=
168      [ "compiler_tests/ImmutableString_test_autogen.cpp" ]
169}
170
171if (!is_android && !is_fuchsia) {
172  angle_unittests_sources += [ "test_utils/runner/TestSuite_unittest.cpp" ]
173}
174