6e74412a9c
Calling Python to find all these files is convenient, but error-prone. It's easy to forget to call GN again when adding a file. Each of these calls to Python also adds ~50ms to the run time of gn gen, which is small but adds up. On my desktop, gn gen drops from 600ms to 150ms, noticeably faster. This leaves one call to find.py for generating skia.h for fiddle. We're not quite sure how to automate that process to happen entirely inside the :skia.h action while maintaining correct dependencies, so I'm leaving it for now. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4036 Change-Id: Ib9d355b97900f29afebc65311ceef50537e46dda Reviewed-on: https://skia-review.googlesource.com/4036 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
130 lines
4.1 KiB
Plaintext
130 lines
4.1 KiB
Plaintext
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
_bench = get_path_info("../bench", "abspath")
|
|
|
|
bench_sources = [
|
|
"$_bench/AAClipBench.cpp",
|
|
"$_bench/AlternatingColorPatternBench.cpp",
|
|
"$_bench/AndroidCodecBench.cpp",
|
|
"$_bench/BenchLogger.cpp",
|
|
"$_bench/Benchmark.cpp",
|
|
"$_bench/BezierBench.cpp",
|
|
"$_bench/BigPathBench.cpp",
|
|
"$_bench/BitmapBench.cpp",
|
|
"$_bench/BitmapRectBench.cpp",
|
|
"$_bench/BitmapRegionDecoderBench.cpp",
|
|
"$_bench/BitmapScaleBench.cpp",
|
|
"$_bench/BlurBench.cpp",
|
|
"$_bench/BlurImageFilterBench.cpp",
|
|
"$_bench/BlurOccludedRRectBench.cpp",
|
|
"$_bench/BlurRectBench.cpp",
|
|
"$_bench/BlurRectsBench.cpp",
|
|
"$_bench/BlurRoundRectBench.cpp",
|
|
"$_bench/ChartBench.cpp",
|
|
"$_bench/ChecksumBench.cpp",
|
|
"$_bench/ChromeBench.cpp",
|
|
"$_bench/CmapBench.cpp",
|
|
"$_bench/CodecBench.cpp",
|
|
"$_bench/ColorCodecBench.cpp",
|
|
"$_bench/ColorCubeBench.cpp",
|
|
"$_bench/ColorFilterBench.cpp",
|
|
"$_bench/ColorPrivBench.cpp",
|
|
"$_bench/ControlBench.cpp",
|
|
"$_bench/CoverageBench.cpp",
|
|
"$_bench/DashBench.cpp",
|
|
"$_bench/DisplacementBench.cpp",
|
|
"$_bench/DrawBitmapAABench.cpp",
|
|
"$_bench/DrawLatticeBench.cpp",
|
|
"$_bench/EncoderBench.cpp",
|
|
"$_bench/FontCacheBench.cpp",
|
|
"$_bench/FontScalerBench.cpp",
|
|
"$_bench/FSRectBench.cpp",
|
|
"$_bench/GameBench.cpp",
|
|
"$_bench/GeometryBench.cpp",
|
|
"$_bench/GLBench.cpp",
|
|
"$_bench/GLInstancedArraysBench.cpp",
|
|
"$_bench/GLVec4ScalarBench.cpp",
|
|
"$_bench/GLVertexAttributesBench.cpp",
|
|
"$_bench/GMBench.cpp",
|
|
"$_bench/GradientBench.cpp",
|
|
"$_bench/GrMemoryPoolBench.cpp",
|
|
"$_bench/GrMipMapBench.cpp",
|
|
"$_bench/GrResourceCacheBench.cpp",
|
|
"$_bench/HairlinePathBench.cpp",
|
|
"$_bench/HardStopGradientBench_ScaleNumColors.cpp",
|
|
"$_bench/HardStopGradientBench_ScaleNumHardStops.cpp",
|
|
"$_bench/HardStopGradientBench_SpecialHardStops.cpp",
|
|
"$_bench/ImageBench.cpp",
|
|
"$_bench/ImageCacheBench.cpp",
|
|
"$_bench/ImageCacheBudgetBench.cpp",
|
|
"$_bench/ImageFilterCollapse.cpp",
|
|
"$_bench/ImageFilterDAGBench.cpp",
|
|
"$_bench/InterpBench.cpp",
|
|
"$_bench/LightingBench.cpp",
|
|
"$_bench/LineBench.cpp",
|
|
"$_bench/MagnifierBench.cpp",
|
|
"$_bench/MathBench.cpp",
|
|
"$_bench/Matrix44Bench.cpp",
|
|
"$_bench/MatrixBench.cpp",
|
|
"$_bench/MatrixConvolutionBench.cpp",
|
|
"$_bench/MeasureBench.cpp",
|
|
"$_bench/MemoryBench.cpp",
|
|
"$_bench/MemsetBench.cpp",
|
|
"$_bench/MergeBench.cpp",
|
|
"$_bench/MipMapBench.cpp",
|
|
"$_bench/MorphologyBench.cpp",
|
|
"$_bench/MutexBench.cpp",
|
|
"$_bench/pack_int_uint16_t_Bench.cpp",
|
|
"$_bench/PatchBench.cpp",
|
|
"$_bench/PatchGridBench.cpp",
|
|
"$_bench/PathBench.cpp",
|
|
"$_bench/PathIterBench.cpp",
|
|
"$_bench/PDFBench.cpp",
|
|
"$_bench/PerlinNoiseBench.cpp",
|
|
"$_bench/PictureNestingBench.cpp",
|
|
"$_bench/PictureOverheadBench.cpp",
|
|
"$_bench/PicturePlaybackBench.cpp",
|
|
"$_bench/PremulAndUnpremulAlphaOpsBench.cpp",
|
|
"$_bench/QuickRejectBench.cpp",
|
|
"$_bench/ReadPixBench.cpp",
|
|
"$_bench/RecordingBench.cpp",
|
|
"$_bench/RectanizerBench.cpp",
|
|
"$_bench/RectBench.cpp",
|
|
"$_bench/RectoriBench.cpp",
|
|
"$_bench/RefCntBench.cpp",
|
|
"$_bench/RegionBench.cpp",
|
|
"$_bench/RegionContainBench.cpp",
|
|
"$_bench/RepeatTileBench.cpp",
|
|
"$_bench/RotatedRectBench.cpp",
|
|
"$_bench/RTreeBench.cpp",
|
|
"$_bench/ScalarBench.cpp",
|
|
"$_bench/ShaderMaskBench.cpp",
|
|
"$_bench/ShapesBench.cpp",
|
|
"$_bench/Sk4fBench.cpp",
|
|
"$_bench/SkBlend_optsBench.cpp",
|
|
"$_bench/SkGlyphCacheBench.cpp",
|
|
"$_bench/SkLinearBitmapPipelineBench.cpp",
|
|
"$_bench/SKPAnimationBench.cpp",
|
|
"$_bench/SKPBench.cpp",
|
|
"$_bench/SkRasterPipelineBench.cpp",
|
|
"$_bench/SortBench.cpp",
|
|
"$_bench/StrokeBench.cpp",
|
|
"$_bench/SwizzleBench.cpp",
|
|
"$_bench/TableBench.cpp",
|
|
"$_bench/TextBench.cpp",
|
|
"$_bench/TextBlobBench.cpp",
|
|
"$_bench/TileBench.cpp",
|
|
"$_bench/TileImageFilterBench.cpp",
|
|
"$_bench/TopoSortBench.cpp",
|
|
"$_bench/VertBench.cpp",
|
|
"$_bench/WritePixelsBench.cpp",
|
|
"$_bench/WriterBench.cpp",
|
|
"$_bench/Xfer4fBench.cpp",
|
|
"$_bench/XferF16Bench.cpp",
|
|
"$_bench/XfermodeBench.cpp",
|
|
]
|