46 lines
1.0 KiB
Python
46 lines
1.0 KiB
Python
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup")
|
|
|
|
licenses(["notice"])
|
|
|
|
exports_files_legacy()
|
|
|
|
skia_filegroup(
|
|
name = "test_font_manager_srcs",
|
|
testonly = True,
|
|
srcs = [
|
|
"TestFontMgr.cpp",
|
|
"TestFontMgr.h",
|
|
"TestTypeface.cpp",
|
|
"TestTypeface.h",
|
|
"ToolUtilsFont.cpp",
|
|
],
|
|
visibility = ["//tools:__subpackages__"],
|
|
)
|
|
|
|
skia_filegroup(
|
|
name = "test_fonts",
|
|
testonly = True,
|
|
srcs = [
|
|
"test_font_index.inc",
|
|
"test_font_monospace.inc",
|
|
"test_font_sans_serif.inc",
|
|
"test_font_serif.inc",
|
|
],
|
|
visibility = ["//tools:__subpackages__"],
|
|
)
|
|
|
|
skia_filegroup(
|
|
name = "test_empty_typeface",
|
|
testonly = True,
|
|
srcs = ["TestEmptyTypeface.h"],
|
|
visibility = ["//tests:__pkg__"],
|
|
)
|
|
|
|
skia_cc_library(
|
|
name = "random_scaler_context",
|
|
srcs = ["RandomScalerContext.cpp"],
|
|
hdrs = ["RandomScalerContext.h"],
|
|
visibility = ["//tests:__pkg__"],
|
|
deps = ["//:skia_internal"],
|
|
)
|