Kevin Lubick | 46eaab3 | 2022-04-29 11:52:17 -0400 | [diff] [blame] | 1 | load("//bazel:macros.bzl", "exports_files_legacy", "generated_cc_atom") |
| 2 | |
Kevin Lubick | 83cee23 | 2022-04-14 14:01:45 -0400 | [diff] [blame] | 3 | licenses(["notice"]) |
| 4 | |
Kevin Lubick | c3a448e | 2022-05-02 09:38:15 -0400 | [diff] [blame] | 5 | exports_files_legacy() |
| 6 | |
Kevin Lubick | 6ba9f70 | 2021-11-30 08:15:24 -0500 | [diff] [blame] | 7 | generated_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 | |
| 22 | generated_cc_atom( |
| 23 | name = "Request_src", |
| 24 | srcs = ["Request.cpp"], |
| 25 | visibility = ["//:__subpackages__"], |
| 26 | deps = [ |
| 27 | ":Request_hdr", |
Kevin Lubick | 556ca8f | 2022-03-30 09:00:12 -0400 | [diff] [blame] | 28 | "//include/core:SkBitmap_hdr", |
Kevin Lubick | 5e8f45f | 2022-03-31 15:07:44 -0400 | [diff] [blame] | 29 | "//include/core:SkColorSpace_hdr", |
Kevin Lubick | 6ba9f70 | 2021-11-30 08:15:24 -0500 | [diff] [blame] | 30 | "//include/core:SkPictureRecorder_hdr", |
| 31 | "//include/gpu:GrDirectContext_hdr", |
| 32 | "//src/utils:SkJSONWriter_hdr", |
| 33 | "//tools:ToolUtils_hdr", |
Kevin Lubick | 556ca8f | 2022-03-30 09:00:12 -0400 | [diff] [blame] | 34 | "//tools/debugger:DrawCommand_hdr", |
Kevin Lubick | 6ba9f70 | 2021-11-30 08:15:24 -0500 | [diff] [blame] | 35 | ], |
| 36 | ) |
| 37 | |
| 38 | generated_cc_atom( |
| 39 | name = "Response_hdr", |
| 40 | hdrs = ["Response.h"], |
| 41 | visibility = ["//:__subpackages__"], |
| 42 | ) |
| 43 | |
| 44 | generated_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 | |
| 57 | generated_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 | ) |