diff options
author | npm <npm@chromium.org> | 2016-11-07 08:50:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-07 08:50:04 -0800 |
commit | a97fc7c6392c0adbd702bdf898cb9e20cee00a3e (patch) | |
tree | 4b01387c72b701444c8b67a0f777e99f03012c1f /BUILD.gn | |
parent | 5756a77fa289ce1ef18bd7f2da75a39575ead9fe (diff) | |
download | pdfium-a97fc7c6392c0adbd702bdf898cb9e20cee00a3e.tar.xz |
Remove unused CFX_QuartzDevice(Driver) classes.chromium/2913
Review-Url: https://codereview.chromium.org/2484453002
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -761,10 +761,6 @@ static_library("fxge") { "core/fxge/android/cfx_androidfontinfo.cpp", "core/fxge/android/cfx_androidfontinfo.h", "core/fxge/android/fx_android_imp.cpp", - "core/fxge/apple/apple_int.h", - "core/fxge/apple/cfx_quartzdevice.h", - "core/fxge/apple/fx_mac_imp.cpp", - "core/fxge/apple/fx_quartz_device.cpp", "core/fxge/cfx_facecache.h", "core/fxge/cfx_fontcache.h", "core/fxge/cfx_fontmapper.h", @@ -856,9 +852,12 @@ static_library("fxge") { sources += [ "core/fxge/agg/fx_agg_driver.cpp", "core/fxge/agg/fx_agg_driver.h", - "core/fxge/apple/fx_apple_platform.cpp", ] deps += [ "third_party:fx_agg" ] + + if (is_mac) { + sources += [ "core/fxge/apple/fx_apple_platform.cpp" ] + } } if (is_win) { @@ -873,6 +872,14 @@ static_library("fxge") { ] configs -= [ "//build/config/win:lean_and_mean" ] } + + if (is_mac) { + sources += [ + "core/fxge/apple/apple_int.h", + "core/fxge/apple/fx_mac_imp.cpp", + "core/fxge/apple/fx_quartz_device.cpp", + ] + } } static_library("fxedit") { |