blob: 1e14e84e7998dc17f826a72fcceff01cb75ad3cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- third_party/pdfium/skia/BUILD.gn.orig 2017-04-19 19:07:50 UTC
+++ third_party/pdfium/skia/BUILD.gn
@@ -102,7 +102,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",
@@ -280,7 +280,7 @@ component("skia") {
"//third_party/skia/src/ports/SkFontMgr_android_parser.cpp",
]
}
- if (!is_linux && !is_android && !is_win && !is_mac) {
+ if (!is_linux && !is_android && !is_win && !is_mac || !is_bsd) {
sources -= [
"//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
"//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
@@ -309,7 +309,7 @@ component("skia") {
"../third_party:fx_zlib",
]
- if (is_linux) {
+ if (is_linux || is_bsd) {
deps += [ "//third_party/icu:icuuc" ]
}
|