blob: ac2ec8f44a3166c9c989686a70c72196895b7df0 [file] [log] [blame]
Kevin Lubick46eaab32022-04-29 11:52:17 -04001load("//bazel:macros.bzl", "exports_files_legacy", "generated_cc_atom")
2
Kevin Lubick83cee232022-04-14 14:01:45 -04003licenses(["notice"])
4
Kevin Lubickc3a448e2022-05-02 09:38:15 -04005exports_files_legacy()
6
Kevin Lubick6ba9f702021-11-30 08:15:24 -05007generated_cc_atom(
8 name = "Request_hdr",
9 hdrs = ["Request.h"],
10 visibility = ["//:__subpackages__"],
11 deps = [
12 "//include/core:SkPicture_hdr",
13 "//include/core:SkStream_hdr",
14 "//include/core:SkSurface_hdr",
15 "//include/core:SkTypes_hdr",
16 "//tools:UrlDataManager_hdr",
17 "//tools/debugger:DebugCanvas_hdr",
18 "//tools/gpu:GrContextFactory_hdr",
19 ],
20)
21
22generated_cc_atom(
23 name = "Request_src",
24 srcs = ["Request.cpp"],
25 visibility = ["//:__subpackages__"],
26 deps = [
27 ":Request_hdr",
Kevin Lubick556ca8f2022-03-30 09:00:12 -040028 "//include/core:SkBitmap_hdr",
Kevin Lubick5e8f45f2022-03-31 15:07:44 -040029 "//include/core:SkColorSpace_hdr",
Kevin Lubick6ba9f702021-11-30 08:15:24 -050030 "//include/core:SkPictureRecorder_hdr",
31 "//include/gpu:GrDirectContext_hdr",
32 "//src/utils:SkJSONWriter_hdr",
33 "//tools:ToolUtils_hdr",
Kevin Lubick556ca8f2022-03-30 09:00:12 -040034 "//tools/debugger:DrawCommand_hdr",
Kevin Lubick6ba9f702021-11-30 08:15:24 -050035 ],
36)
37
38generated_cc_atom(
39 name = "Response_hdr",
40 hdrs = ["Response.h"],
41 visibility = ["//:__subpackages__"],
42)
43
44generated_cc_atom(
45 name = "Response_src",
46 srcs = ["Response.cpp"],
47 visibility = ["//:__subpackages__"],
48 deps = [
49 ":Request_hdr",
50 ":Response_hdr",
51 "//include/core:SkData_hdr",
52 "//include/core:SkString_hdr",
53 "//tools/flags:CommandLineFlags_hdr",
54 ],
55)
56
57generated_cc_atom(
58 name = "skiaserve_src",
59 srcs = ["skiaserve.cpp"],
60 visibility = ["//:__subpackages__"],
61 deps = [
62 ":Request_hdr",
63 ":Response_hdr",
64 "//include/core:SkGraphics_hdr",
65 "//tools/flags:CommandLineFlags_hdr",
66 "//tools/skiaserve/urlhandlers:UrlHandler_hdr",
67 ],
68)