tests.gni 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. # Copyright 2016 Google Inc.
  2. #
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. # Things are easiest for everyone if these source paths are absolute.
  6. _tests = get_path_info("../tests", "abspath")
  7. tests_sources = [
  8. "$_tests/AAClipTest.cpp",
  9. "$_tests/AdvancedBlendTest.cpp",
  10. "$_tests/AndroidCodecTest.cpp",
  11. "$_tests/AnimatedImageTest.cpp",
  12. "$_tests/AnnotationTest.cpp",
  13. "$_tests/ApplyGammaTest.cpp",
  14. "$_tests/ArenaAllocTest.cpp",
  15. "$_tests/AsADashTest.cpp",
  16. "$_tests/BackendAllocationTest.cpp",
  17. "$_tests/BadIcoTest.cpp",
  18. "$_tests/BitSetTest.cpp",
  19. "$_tests/BitmapCopyTest.cpp",
  20. "$_tests/BitmapGetColorTest.cpp",
  21. "$_tests/BitmapTest.cpp",
  22. "$_tests/BlendTest.cpp",
  23. "$_tests/BlitMaskClip.cpp",
  24. "$_tests/BlurTest.cpp",
  25. "$_tests/CTest.cpp",
  26. "$_tests/CachedDataTest.cpp",
  27. "$_tests/CachedDecodingPixelRefTest.cpp",
  28. "$_tests/CanvasStateHelpers.cpp",
  29. "$_tests/CanvasStateHelpers.h",
  30. "$_tests/CanvasStateTest.cpp",
  31. "$_tests/CanvasTest.cpp",
  32. "$_tests/ChecksumTest.cpp",
  33. "$_tests/ClearTest.cpp",
  34. "$_tests/ClipBoundsTest.cpp",
  35. "$_tests/ClipCubicTest.cpp",
  36. "$_tests/ClipStackTest.cpp",
  37. "$_tests/ClipperTest.cpp",
  38. "$_tests/CodecAnimTest.cpp",
  39. "$_tests/CodecExactReadTest.cpp",
  40. "$_tests/CodecPartialTest.cpp",
  41. "$_tests/CodecPriv.h",
  42. "$_tests/CodecRecommendedTypeTest.cpp",
  43. "$_tests/CodecTest.cpp",
  44. "$_tests/ColorFilterTest.cpp",
  45. "$_tests/ColorMatrixTest.cpp",
  46. "$_tests/ColorPrivTest.cpp",
  47. "$_tests/ColorSpaceTest.cpp",
  48. "$_tests/ColorTest.cpp",
  49. "$_tests/CopySurfaceTest.cpp",
  50. "$_tests/CubicMapTest.cpp",
  51. "$_tests/DashPathEffectTest.cpp",
  52. "$_tests/DataRefTest.cpp",
  53. "$_tests/DefaultPathRendererTest.cpp",
  54. "$_tests/DeferredDisplayListTest.cpp",
  55. "$_tests/DequeTest.cpp",
  56. "$_tests/DescriptorTest.cpp",
  57. "$_tests/DetermineDomainModeTest.cpp",
  58. "$_tests/DeviceTest.cpp",
  59. "$_tests/DiscardableMemoryPoolTest.cpp",
  60. "$_tests/DiscardableMemoryTest.cpp",
  61. "$_tests/DrawBitmapRectTest.cpp",
  62. "$_tests/DrawOpAtlasTest.cpp",
  63. "$_tests/DrawPathTest.cpp",
  64. "$_tests/DrawTextTest.cpp",
  65. "$_tests/DynamicHashTest.cpp",
  66. "$_tests/EGLImageTest.cpp",
  67. "$_tests/EmptyPathTest.cpp",
  68. "$_tests/EncodeTest.cpp",
  69. "$_tests/EncodedInfoTest.cpp",
  70. "$_tests/ExifTest.cpp",
  71. "$_tests/F16StagesTest.cpp",
  72. "$_tests/FakeStreams.h",
  73. "$_tests/FillPathTest.cpp",
  74. "$_tests/FitsInTest.cpp",
  75. "$_tests/FlattenDrawableTest.cpp",
  76. "$_tests/FlattenableFactoryToName.cpp",
  77. "$_tests/FlattenableNameToFactory.cpp",
  78. "$_tests/Float16Test.cpp",
  79. "$_tests/FloatingPointTextureTest.cpp",
  80. "$_tests/FontHostStreamTest.cpp",
  81. "$_tests/FontHostTest.cpp",
  82. "$_tests/FontMgrAndroidParserTest.cpp",
  83. "$_tests/FontMgrFontConfigTest.cpp",
  84. "$_tests/FontMgrTest.cpp",
  85. "$_tests/FontNamesTest.cpp",
  86. "$_tests/FrontBufferedStreamTest.cpp",
  87. "$_tests/GLProgramsTest.cpp",
  88. "$_tests/GeometryTest.cpp",
  89. "$_tests/GifTest.cpp",
  90. "$_tests/GLBackendSurfaceTest.cpp",
  91. "$_tests/GlyphRunTest.cpp",
  92. "$_tests/GpuDrawPathTest.cpp",
  93. "$_tests/GpuRectanizerTest.cpp",
  94. "$_tests/GrAHardwareBufferTest.cpp",
  95. "$_tests/GrAllocatorTest.cpp",
  96. "$_tests/GrCCPRTest.cpp",
  97. "$_tests/GrContextAbandonTest.cpp",
  98. "$_tests/GrContextFactoryTest.cpp",
  99. "$_tests/GrFinishedFlushTest.cpp",
  100. "$_tests/GrGLExtensionsTest.cpp",
  101. "$_tests/GrMemoryPoolTest.cpp",
  102. "$_tests/GrMeshTest.cpp",
  103. "$_tests/GrMipMappedTest.cpp",
  104. "$_tests/GrOpListFlushTest.cpp",
  105. "$_tests/GrPipelineDynamicStateTest.cpp",
  106. "$_tests/GrPorterDuffTest.cpp",
  107. "$_tests/GrQuadBufferTest.cpp",
  108. "$_tests/GrQuadCropTest.cpp",
  109. "$_tests/GrShapeTest.cpp",
  110. "$_tests/GrSurfaceTest.cpp",
  111. "$_tests/GrTRecorderTest.cpp",
  112. "$_tests/GrTestingBackendTextureUploadTest.cpp",
  113. "$_tests/GrTextureMipMapInvalidationTest.cpp",
  114. "$_tests/GrUploadPixelsTests.cpp",
  115. "$_tests/GradientTest.cpp",
  116. "$_tests/HSVRoundTripTest.cpp",
  117. "$_tests/HashTest.cpp",
  118. "$_tests/HighContrastFilterTest.cpp",
  119. "$_tests/ICCTest.cpp",
  120. "$_tests/ImageBitmapTest.cpp",
  121. "$_tests/ImageCacheTest.cpp",
  122. "$_tests/ImageFilterCacheTest.cpp",
  123. "$_tests/ImageFilterTest.cpp",
  124. "$_tests/ImageFrom565Bitmap.cpp",
  125. "$_tests/ImageGeneratorTest.cpp",
  126. "$_tests/ImageIsOpaqueTest.cpp",
  127. "$_tests/ImageNewShaderTest.cpp",
  128. "$_tests/ImageTest.cpp",
  129. "$_tests/IncrTopoSortTest.cpp",
  130. "$_tests/IndexedPngOverflowTest.cpp",
  131. "$_tests/InfRectTest.cpp",
  132. "$_tests/InsetConvexPolyTest.cpp",
  133. "$_tests/InterpolatorTest.cpp",
  134. "$_tests/InvalidIndexedPngTest.cpp",
  135. "$_tests/IsClosedSingleContourTest.cpp",
  136. "$_tests/JSONTest.cpp",
  137. "$_tests/LListTest.cpp",
  138. "$_tests/LRUCacheTest.cpp",
  139. "$_tests/LayerDrawLooperTest.cpp",
  140. "$_tests/LazyProxyTest.cpp",
  141. "$_tests/MD5Test.cpp",
  142. "$_tests/MallocPixelRefTest.cpp",
  143. "$_tests/MaskCacheTest.cpp",
  144. "$_tests/MathTest.cpp",
  145. "$_tests/Matrix44Test.cpp",
  146. "$_tests/MatrixClipCollapseTest.cpp",
  147. "$_tests/MatrixTest.cpp",
  148. "$_tests/MemoryTest.cpp",
  149. "$_tests/MemsetTest.cpp",
  150. "$_tests/MessageBusTest.cpp",
  151. "$_tests/MetaDataTest.cpp",
  152. "$_tests/MipMapTest.cpp",
  153. "$_tests/MultiSkpTest.cpp",
  154. "$_tests/NonlinearBlendingTest.cpp",
  155. "$_tests/OctoBoundsTest.cpp",
  156. "$_tests/OSPathTest.cpp",
  157. "$_tests/OffsetSimplePolyTest.cpp",
  158. "$_tests/OnFlushCallbackTest.cpp",
  159. "$_tests/OnceTest.cpp",
  160. "$_tests/OpChainTest.cpp",
  161. "$_tests/OverAlignedTest.cpp",
  162. "$_tests/PDFDeflateWStreamTest.cpp",
  163. "$_tests/PDFDocumentTest.cpp",
  164. "$_tests/PDFGlyphsToUnicodeTest.cpp",
  165. "$_tests/PDFJpegEmbedTest.cpp",
  166. "$_tests/PDFMetadataAttributeTest.cpp",
  167. "$_tests/PDFOpaqueSrcModeToSrcOverTest.cpp",
  168. "$_tests/PDFPrimitivesTest.cpp",
  169. "$_tests/PDFTaggedTest.cpp",
  170. "$_tests/PackBitsTest.cpp",
  171. "$_tests/PackedConfigsTextureTest.cpp",
  172. "$_tests/PaintImageFilterTest.cpp",
  173. "$_tests/PaintTest.cpp",
  174. "$_tests/ParametricStageTest.cpp",
  175. "$_tests/ParsePathTest.cpp",
  176. "$_tests/PathCoverageTest.cpp",
  177. "$_tests/PathMeasureTest.cpp",
  178. "$_tests/PathRendererCacheTests.cpp",
  179. "$_tests/PathTest.cpp",
  180. "$_tests/PictureBBHTest.cpp",
  181. "$_tests/PictureShaderTest.cpp",
  182. "$_tests/PictureTest.cpp",
  183. "$_tests/PinnedImageTest.cpp",
  184. "$_tests/PixelRefTest.cpp",
  185. "$_tests/Point3Test.cpp",
  186. "$_tests/PointTest.cpp",
  187. "$_tests/PolyUtilsTest.cpp",
  188. "$_tests/PremulAlphaRoundTripTest.cpp",
  189. "$_tests/PrimitiveProcessorTest.cpp",
  190. "$_tests/ProcessorTest.cpp",
  191. "$_tests/PromiseImageTest.cpp",
  192. "$_tests/ProxyConversionTest.cpp",
  193. "$_tests/ProxyRefTest.cpp",
  194. "$_tests/ProxyTest.cpp",
  195. "$_tests/QuickRejectTest.cpp",
  196. "$_tests/RRectInPathTest.cpp",
  197. "$_tests/RTreeTest.cpp",
  198. "$_tests/RandomTest.cpp",
  199. "$_tests/ReadPixelsTest.cpp",
  200. "$_tests/ReadWriteAlphaTest.cpp",
  201. "$_tests/Reader32Test.cpp",
  202. "$_tests/RecordDrawTest.cpp",
  203. "$_tests/RecordOptsTest.cpp",
  204. "$_tests/RecordPatternTest.cpp",
  205. "$_tests/RecordTest.cpp",
  206. "$_tests/RecordTestUtils.h",
  207. "$_tests/RecorderTest.cpp",
  208. "$_tests/RecordingXfermodeTest.cpp",
  209. "$_tests/RectTest.cpp",
  210. "$_tests/RectangleTextureTest.cpp",
  211. "$_tests/RefCntTest.cpp",
  212. "$_tests/RegionTest.cpp",
  213. "$_tests/RenderTargetContextTest.cpp",
  214. "$_tests/ResourceAllocatorTest.cpp",
  215. "$_tests/ResourceCacheTest.cpp",
  216. "$_tests/RoundRectTest.cpp",
  217. "$_tests/SRGBReadWritePixelsTest.cpp",
  218. "$_tests/SRGBTest.cpp",
  219. "$_tests/SVGDeviceTest.cpp",
  220. "$_tests/SafeMathTest.cpp",
  221. "$_tests/SamplePatternDictionaryTest.cpp",
  222. "$_tests/ScalarTest.cpp",
  223. "$_tests/ScaleToSidesTest.cpp",
  224. "$_tests/SerialProcsTest.cpp",
  225. "$_tests/SerializationTest.cpp",
  226. "$_tests/ShaderOpacityTest.cpp",
  227. "$_tests/ShaderTest.cpp",
  228. "$_tests/ShadowTest.cpp",
  229. "$_tests/ShaperTest.cpp",
  230. "$_tests/SizeTest.cpp",
  231. "$_tests/SkBase64Test.cpp",
  232. "$_tests/SkColor4fTest.cpp",
  233. "$_tests/SkColorSpaceXformStepsTest.cpp",
  234. "$_tests/SkDOMTest.cpp",
  235. "$_tests/SkFixed15Test.cpp",
  236. "$_tests/SkGaussFilterTest.cpp",
  237. "$_tests/SkImageTest.cpp",
  238. "$_tests/SkNxTest.cpp",
  239. "$_tests/SkPEGTest.cpp",
  240. "$_tests/SkRasterPipelineTest.cpp",
  241. "$_tests/SkRemoteGlyphCacheTest.cpp",
  242. "$_tests/SkResourceCacheTest.cpp",
  243. "$_tests/SkSLErrorTest.cpp",
  244. "$_tests/SkSLFPTest.cpp",
  245. "$_tests/SkSLGLSLTest.cpp",
  246. "$_tests/SkSLInterpreterTest.cpp",
  247. "$_tests/SkSLJITTest.cpp",
  248. "$_tests/SkSLMemoryLayoutTest.cpp",
  249. "$_tests/SkSLMetalTest.cpp",
  250. "$_tests/SkSLSPIRVTest.cpp",
  251. "$_tests/SkShaperJSONWriterTest.cpp",
  252. "$_tests/SkSharedMutexTest.cpp",
  253. "$_tests/SkUTFTest.cpp",
  254. "$_tests/SkVMTest.cpp",
  255. "$_tests/SkVxTest.cpp",
  256. "$_tests/Skbug5221.cpp",
  257. "$_tests/Skbug6389.cpp",
  258. "$_tests/Skbug6653.cpp",
  259. "$_tests/SortTest.cpp",
  260. "$_tests/SpecialImageTest.cpp",
  261. "$_tests/SpecialSurfaceTest.cpp",
  262. "$_tests/SrcOverTest.cpp",
  263. "$_tests/StreamBufferTest.cpp",
  264. "$_tests/StreamTest.cpp",
  265. "$_tests/StringTest.cpp",
  266. "$_tests/StrokeTest.cpp",
  267. "$_tests/StrokerTest.cpp",
  268. "$_tests/SubsetPath.cpp",
  269. "$_tests/SubsetPath.h",
  270. "$_tests/SurfaceSemaphoreTest.cpp",
  271. "$_tests/SurfaceTest.cpp",
  272. "$_tests/SwizzlerTest.cpp",
  273. "$_tests/TArrayTest.cpp",
  274. "$_tests/TDPQueueTest.cpp",
  275. "$_tests/TLazyTest.cpp",
  276. "$_tests/TemplatesTest.cpp",
  277. "$_tests/TessellatingPathRendererTests.cpp",
  278. "$_tests/Test.cpp",
  279. "$_tests/Test.h",
  280. "$_tests/TestTest.cpp",
  281. "$_tests/TestUtils.cpp",
  282. "$_tests/TestUtils.h",
  283. "$_tests/TextBlobCacheTest.cpp",
  284. "$_tests/TextBlobTest.cpp",
  285. "$_tests/TextureBindingsResetTest.cpp",
  286. "$_tests/TextureProxyTest.cpp",
  287. "$_tests/TextureStripAtlasManagerTest.cpp",
  288. "$_tests/Time.cpp",
  289. "$_tests/TopoSortTest.cpp",
  290. "$_tests/TraceMemoryDumpTest.cpp",
  291. "$_tests/TracingTest.cpp",
  292. "$_tests/TransferPixelsTest.cpp",
  293. "$_tests/TypefaceTest.cpp",
  294. "$_tests/UnicodeTest.cpp",
  295. "$_tests/UtilsTest.cpp",
  296. "$_tests/VerticesTest.cpp",
  297. "$_tests/VkBackendSurfaceTest.cpp",
  298. "$_tests/VkDrawableTest.cpp",
  299. "$_tests/VkHardwareBufferTest.cpp",
  300. "$_tests/VkPriorityExtensionTest.cpp",
  301. "$_tests/VkProtectedContextTest.cpp",
  302. "$_tests/VkWrapTests.cpp",
  303. "$_tests/VptrTest.cpp",
  304. "$_tests/WindowRectanglesTest.cpp",
  305. "$_tests/WritePixelsTest.cpp",
  306. "$_tests/Writer32Test.cpp",
  307. "$_tests/YUVCacheTest.cpp",
  308. "$_tests/YUVTest.cpp",
  309. ]
  310. metal_tests_sources = [ "$_tests/MtlBackendAllocationTest.mm" ]
  311. pathops_tests_sources = [
  312. "$_tests/PathOpsAngleIdeas.cpp",
  313. "$_tests/PathOpsAngleTest.cpp",
  314. "$_tests/PathOpsAsWindingTest.cpp",
  315. "$_tests/PathOpsBattles.cpp",
  316. "$_tests/PathOpsBoundsTest.cpp",
  317. "$_tests/PathOpsBuildUseTest.cpp",
  318. "$_tests/PathOpsBuilderConicTest.cpp",
  319. "$_tests/PathOpsBuilderTest.cpp",
  320. "$_tests/PathOpsChalkboardTest.cpp",
  321. "$_tests/PathOpsConicIntersectionTest.cpp",
  322. "$_tests/PathOpsConicLineIntersectionTest.cpp",
  323. "$_tests/PathOpsConicQuadIntersectionTest.cpp",
  324. "$_tests/PathOpsCubicConicIntersectionTest.cpp",
  325. "$_tests/PathOpsCubicIntersectionTest.cpp",
  326. "$_tests/PathOpsCubicIntersectionTestData.cpp",
  327. "$_tests/PathOpsCubicIntersectionTestData.h",
  328. "$_tests/PathOpsCubicLineIntersectionIdeas.cpp",
  329. "$_tests/PathOpsCubicLineIntersectionTest.cpp",
  330. "$_tests/PathOpsCubicQuadIntersectionTest.cpp",
  331. "$_tests/PathOpsCubicReduceOrderTest.cpp",
  332. "$_tests/PathOpsDCubicTest.cpp",
  333. "$_tests/PathOpsDLineTest.cpp",
  334. "$_tests/PathOpsDPointTest.cpp",
  335. "$_tests/PathOpsDRectTest.cpp",
  336. "$_tests/PathOpsDVectorTest.cpp",
  337. "$_tests/PathOpsDebug.cpp",
  338. "$_tests/PathOpsDebug.h",
  339. "$_tests/PathOpsExtendedTest.cpp",
  340. "$_tests/PathOpsExtendedTest.h",
  341. "$_tests/PathOpsFuzz763Test.cpp",
  342. "$_tests/PathOpsInverseTest.cpp",
  343. "$_tests/PathOpsIssue3651.cpp",
  344. "$_tests/PathOpsLineIntersectionTest.cpp",
  345. "$_tests/PathOpsLineParametetersTest.cpp",
  346. "$_tests/PathOpsOpCircleThreadedTest.cpp",
  347. "$_tests/PathOpsOpCubicThreadedTest.cpp",
  348. "$_tests/PathOpsOpLoopThreadedTest.cpp",
  349. "$_tests/PathOpsOpRectThreadedTest.cpp",
  350. "$_tests/PathOpsOpTest.cpp",
  351. "$_tests/PathOpsQuadIntersectionTest.cpp",
  352. "$_tests/PathOpsQuadIntersectionTestData.cpp",
  353. "$_tests/PathOpsQuadIntersectionTestData.h",
  354. "$_tests/PathOpsQuadLineIntersectionTest.cpp",
  355. "$_tests/PathOpsQuadLineIntersectionThreadedTest.cpp",
  356. "$_tests/PathOpsQuadReduceOrderTest.cpp",
  357. "$_tests/PathOpsSimplifyDegenerateThreadedTest.cpp",
  358. "$_tests/PathOpsSimplifyFailTest.cpp",
  359. "$_tests/PathOpsSimplifyQuadThreadedTest.cpp",
  360. "$_tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp",
  361. "$_tests/PathOpsSimplifyRectThreadedTest.cpp",
  362. "$_tests/PathOpsSimplifyTest.cpp",
  363. "$_tests/PathOpsSimplifyTrianglesThreadedTest.cpp",
  364. "$_tests/PathOpsSkpTest.cpp",
  365. "$_tests/PathOpsTSectDebug.h",
  366. "$_tests/PathOpsTestCommon.cpp",
  367. "$_tests/PathOpsTestCommon.h",
  368. "$_tests/PathOpsThreadedCommon.cpp",
  369. "$_tests/PathOpsThreadedCommon.h",
  370. "$_tests/PathOpsThreeWayTest.cpp",
  371. "$_tests/PathOpsTigerTest.cpp",
  372. "$_tests/PathOpsTightBoundsTest.cpp",
  373. "$_tests/PathOpsTypesTest.cpp",
  374. ]