| load("//bazel:macros.bzl", "exports_files_legacy") | |
| licenses(["notice"]) | |
| exports_files_legacy() | |
| filegroup( | |
| name = "public_hdrs", | |
| srcs = [ | |
| "//include/android:public_hdrs", | |
| "//include/codec:public_hdrs", | |
| "//include/config:public_hdrs", | |
| "//include/core:public_hdrs", | |
| "//include/docs:public_hdrs", | |
| "//include/effects:public_hdrs", | |
| "//include/encode:public_hdrs", | |
| "//include/pathops:public_hdrs", | |
| "//include/ports:public_hdrs", | |
| "//include/utils:public_hdrs", | |
| ] + select({ | |
| "//src/sksl:needs_sksl": ["//include/sksl:public_hdrs"], | |
| "//conditions:default": [], | |
| }) + select({ | |
| "//src/gpu:has_gpu_backend": ["//include/gpu:public_hdrs"], | |
| "//conditions:default": [], | |
| }) + select({ | |
| "//src/svg:enable_svg_canvas_true": ["//include/svg:public_hdrs"], | |
| "//conditions:default": [], | |
| }), | |
| visibility = [ | |
| "//:__pkg__", | |
| "//src/opts:__pkg__", | |
| ], | |
| ) | |
| filegroup( | |
| name = "private_hdrs", | |
| srcs = [ | |
| "//include/private:private_hdrs", | |
| ], | |
| visibility = [ | |
| "//:__pkg__", | |
| "//src/opts:__pkg__", | |
| ], | |
| ) |