41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
$NetBSD$
|
|
|
|
--- skia/BUILD.gn.orig 2020-07-15 18:56:47.000000000 +0000
|
|
+++ skia/BUILD.gn
|
|
@@ -150,7 +150,7 @@ config("skia_library_config") {
|
|
}
|
|
|
|
# Settings for text blitting, chosen to approximate the system browser.
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
defines += [
|
|
"SK_GAMMA_EXPONENT=1.2",
|
|
"SK_GAMMA_CONTRAST=0.2",
|
|
@@ -447,7 +447,7 @@ component("skia") {
|
|
set_sources_assignment_filter(sources_assignment_filter)
|
|
}
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
sources += [
|
|
"//third_party/skia/src/ports/SkFontConfigInterface.cpp",
|
|
"//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp",
|
|
@@ -456,7 +456,7 @@ component("skia") {
|
|
]
|
|
}
|
|
|
|
- if (is_linux || is_android) {
|
|
+ if (is_linux || is_android || is_bsd) {
|
|
sources += [
|
|
# Retain the files for the SkFontMgr_Android on linux to emulate android
|
|
# fonts. See content/zygote/zygote_main_linux.cc
|
|
@@ -534,7 +534,7 @@ component("skia") {
|
|
]
|
|
}
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
deps += [
|
|
"//third_party/expat",
|
|
"//third_party/fontconfig",
|