Debian Codegraph @

include/docs/BUILD.bazel

raw
1 load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers", "skia_filegroup")
2
3 package(
4 default_applicable_licenses = ["//:license"],
5 )
6
7 licenses(["notice"])
8
9 XPS_HDRS = ["SkXPSDocument.h"]
10
11 MULTI_PICTURE_DOCUMENT_HDRS = ["SkMultiPictureDocument.h"]
12
13 PDF_HDRS = ["SkPDFDocument.h"]
14
15 PDF_JPEG_HDRS = ["SkPDFJpegHelpers.h"]
16
17 # Not yet referenced by Bazel build.
18 # In separate group for exporting to xps.gni:skia_xps_public.
19 skia_filegroup(
20 name = "xps_hdrs",
21 srcs = XPS_HDRS,
22 )
23
24 skia_filegroup(
25 name = "multi_picture_document_hdrs",
26 srcs = MULTI_PICTURE_DOCUMENT_HDRS,
27 visibility = ["//src/utils:__pkg__"],
28 )
29
30 skia_filegroup(
31 name = "pdf_hdrs",
32 srcs = PDF_HDRS,
33 visibility = ["//src/pdf:__pkg__"],
34 )
35
36 skia_filegroup(
37 name = "pdf_jpeg_hdrs",
38 srcs = PDF_JPEG_HDRS,
39 visibility = ["//src/pdf:__pkg__"],
40 )
41
42 generate_cpp_files_for_headers(
43 name = "headers_to_compile",
44 headers = XPS_HDRS +
45 MULTI_PICTURE_DOCUMENT_HDRS +
46 PDF_HDRS +
47 PDF_JPEG_HDRS,
48 )