summaryrefslogtreecommitdiff
path: root/skia/BUILD.gn
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-07-21 06:12:33 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-21 06:12:33 -0700
commit8b301624917aae9f7b7b26e6d275c9ae9cd80cfe (patch)
tree669bf4613c6f13f1b495159bbb449899f75aad3d /skia/BUILD.gn
parent3b6c7e9669df2545fc3b19d9f03364c1040a5ab0 (diff)
downloadpdfium-8b301624917aae9f7b7b26e6d275c9ae9cd80cfe.tar.xz
Bring pdfium file in sync with chrome, fix mac build
This permits PDFium to build on the Mac with Skia as the backend. It builds on Linux and Windows as well. R=dsinclair@chromium.org,bungeman@google.com Review-Url: https://codereview.chromium.org/1995003002
Diffstat (limited to 'skia/BUILD.gn')
-rw-r--r--skia/BUILD.gn6
1 files changed, 1 insertions, 5 deletions
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index c5c2796f9c..01acf58dcf 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -330,11 +330,7 @@ component("skia") {
"//third_party/skia/src/ports/SkFontMgr_android_parser.cpp",
]
}
- if (!is_mac) {
- sources -= [ "//third_party/skia/src/ports/SkFontHost_mac.cpp" ]
- }
-
- if (!is_linux && !is_android && !is_win) {
+ if (!is_linux && !is_android && !is_win && !is_mac) {
sources -= [
"//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
"//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",