From a97fc7c6392c0adbd702bdf898cb9e20cee00a3e Mon Sep 17 00:00:00 2001 From: npm Date: Mon, 7 Nov 2016 08:50:04 -0800 Subject: Remove unused CFX_QuartzDevice(Driver) classes. Review-Url: https://codereview.chromium.org/2484453002 --- BUILD.gn | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index bf6918d7bc..5a6cf1418d 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -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") { -- cgit v1.2.3