1cb93a386Sopenharmony_ci# Copyright 2020 Google Inc.
2cb93a386Sopenharmony_ci#
3cb93a386Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be
4cb93a386Sopenharmony_ci# found in the LICENSE file.
5cb93a386Sopenharmony_ci
6cb93a386Sopenharmony_cicomponent("viewer_wasm") {
7cb93a386Sopenharmony_ci  testonly = true
8cb93a386Sopenharmony_ci  include_dirs = [ "../.." ]
9cb93a386Sopenharmony_ci  sources = [
10cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGAttribute.cpp",
11cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGAttributeParser.cpp",
12cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGCircle.cpp",
13cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGClipPath.cpp",
14cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGContainer.cpp",
15cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGDOM.cpp",
16cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGEllipse.cpp",
17cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGFe.cpp",
18cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGFeColorMatrix.cpp",
19cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGFeComposite.cpp",
20cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGFeTurbulence.cpp",
21cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGFilter.cpp",
22cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGFilterContext.cpp",
23cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGGradient.cpp",
24cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGLine.cpp",
25cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGLinearGradient.cpp",
26cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGNode.cpp",
27cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGPath.cpp",
28cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGPattern.cpp",
29cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGPoly.cpp",
30cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGRadialGradient.cpp",
31cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGRect.cpp",
32cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGRenderContext.cpp",
33cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGSVG.cpp",
34cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGShape.cpp",
35cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGStop.cpp",
36cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGText.cpp",
37cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGTransformableNode.cpp",
38cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGUse.cpp",
39cb93a386Sopenharmony_ci    "../../modules/svg/src/SkSVGValue.cpp",
40cb93a386Sopenharmony_ci    "../../tools/viewer/SKPSlide.cpp",
41cb93a386Sopenharmony_ci    "../../tools/viewer/SampleSlide.cpp",
42cb93a386Sopenharmony_ci    "../../tools/viewer/SvgSlide.cpp",
43cb93a386Sopenharmony_ci  ]
44cb93a386Sopenharmony_ci  deps = [ "../..:samples" ]
45cb93a386Sopenharmony_ci}
46cb93a386Sopenharmony_ci
47cb93a386Sopenharmony_cicomponent("gm_wasm") {
48cb93a386Sopenharmony_ci  testonly = true
49cb93a386Sopenharmony_ci  include_dirs = [ "../.." ]
50cb93a386Sopenharmony_ci  deps = [
51cb93a386Sopenharmony_ci    "../..:hash_and_encode",
52cb93a386Sopenharmony_ci    "../..:tool_utils",
53cb93a386Sopenharmony_ci    "../../modules/svg:svg",
54cb93a386Sopenharmony_ci  ]
55cb93a386Sopenharmony_ci}
56