diff options
Diffstat (limited to 'www/iridium/files/patch-skia_BUILD.gn')
| -rw-r--r-- | www/iridium/files/patch-skia_BUILD.gn | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/www/iridium/files/patch-skia_BUILD.gn b/www/iridium/files/patch-skia_BUILD.gn new file mode 100644 index 000000000000..ff9f856b82fb --- /dev/null +++ b/www/iridium/files/patch-skia_BUILD.gn @@ -0,0 +1,38 @@ +--- skia/BUILD.gn.orig 2017-04-19 19:06:37 UTC ++++ skia/BUILD.gn +@@ -127,7 +127,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", +@@ -326,7 +326,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", +@@ -335,7 +335,7 @@ component("skia") { + ] + } + +- if (is_linux || is_android) { ++ if (is_linux || is_bsd || is_android) { + sources += [ + "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", + "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", +@@ -374,7 +374,7 @@ component("skia") { + "//base/third_party/dynamic_annotations", + ] + +- if (is_linux) { ++ if (is_linux || is_bsd) { + if (use_pango) { + configs += [ "//build/config/linux/pangocairo" ] + } |
