Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: BUILD.gn

Issue 2484453002: Remove unused CFX_QuartzDevice(Driver) classes. (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fxge/apple/apple_int.h » ('j') | core/fxge/apple/apple_int.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « no previous file | core/fxge/apple/apple_int.h » ('j') | core/fxge/apple/apple_int.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698