1# Copyright 2020 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 6component("viewer_wasm") { 7 testonly = true 8 include_dirs = [ "../.." ] 9 sources = [ 10 "../../modules/svg/src/SkSVGAttribute.cpp", 11 "../../modules/svg/src/SkSVGAttributeParser.cpp", 12 "../../modules/svg/src/SkSVGCircle.cpp", 13 "../../modules/svg/src/SkSVGClipPath.cpp", 14 "../../modules/svg/src/SkSVGContainer.cpp", 15 "../../modules/svg/src/SkSVGDOM.cpp", 16 "../../modules/svg/src/SkSVGEllipse.cpp", 17 "../../modules/svg/src/SkSVGFe.cpp", 18 "../../modules/svg/src/SkSVGFeColorMatrix.cpp", 19 "../../modules/svg/src/SkSVGFeComposite.cpp", 20 "../../modules/svg/src/SkSVGFeTurbulence.cpp", 21 "../../modules/svg/src/SkSVGFilter.cpp", 22 "../../modules/svg/src/SkSVGFilterContext.cpp", 23 "../../modules/svg/src/SkSVGGradient.cpp", 24 "../../modules/svg/src/SkSVGLine.cpp", 25 "../../modules/svg/src/SkSVGLinearGradient.cpp", 26 "../../modules/svg/src/SkSVGNode.cpp", 27 "../../modules/svg/src/SkSVGPath.cpp", 28 "../../modules/svg/src/SkSVGPattern.cpp", 29 "../../modules/svg/src/SkSVGPoly.cpp", 30 "../../modules/svg/src/SkSVGRadialGradient.cpp", 31 "../../modules/svg/src/SkSVGRect.cpp", 32 "../../modules/svg/src/SkSVGRenderContext.cpp", 33 "../../modules/svg/src/SkSVGSVG.cpp", 34 "../../modules/svg/src/SkSVGShape.cpp", 35 "../../modules/svg/src/SkSVGStop.cpp", 36 "../../modules/svg/src/SkSVGText.cpp", 37 "../../modules/svg/src/SkSVGTransformableNode.cpp", 38 "../../modules/svg/src/SkSVGUse.cpp", 39 "../../modules/svg/src/SkSVGValue.cpp", 40 "../../tools/viewer/SKPSlide.cpp", 41 "../../tools/viewer/SampleSlide.cpp", 42 "../../tools/viewer/SvgSlide.cpp", 43 ] 44 deps = [ "../..:samples" ] 45} 46 47component("gm_wasm") { 48 testonly = true 49 include_dirs = [ "../.." ] 50 deps = [ 51 "../..:hash_and_encode", 52 "../..:tool_utils", 53 "../../modules/svg:svg", 54 ] 55} 56