| Index: BUILD.gn
|
| diff --git a/BUILD.gn b/BUILD.gn
|
| index 48b85c16b81112789136b796421ff10fe0e24c8b..904467e376f699d0f9482ed9d33e154b266f9b8f 100644
|
| --- a/BUILD.gn
|
| +++ b/BUILD.gn
|
| @@ -759,10 +759,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",
|
| @@ -854,9 +850,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) {
|
| @@ -871,6 +870,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") {
|
|
|