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

Unified Diff: ui/gfx/BUILD.gn

Issue 891013003: Delete RenderTextWin and RenderTextPango. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update switch comment Created 5 years, 11 months 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 | « chrome/browser/about_flags.cc ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index dbac68c09d92ce87cca8a0b775697bb650d8d033..0be9306bdd1b8ddc6dc47188ad07b6c59284e639 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -242,25 +242,16 @@ component("gfx") {
if (is_android || is_ios) {
# We don't support RenderText on these platforms.
} else {
- # These text rendering files are supported everywhere text rendering is.
+ # Mac doesn't use RenderTextHarfBuzz by default yet.
sources += [
"render_text.cc",
"render_text.h",
"render_text_harfbuzz.cc",
"render_text_harfbuzz.h",
+ "render_text_mac.cc",
+ "render_text_mac.h",
"text_utils_skia.cc",
]
-
- # These are the "native" rendering routines, only one should apply.
- if (is_win) {
- sources += [ "render_text_win.cc" ]
- } else if (is_mac) {
- sources += [ "render_text_mac.cc" ]
- } else if (use_pango) {
- sources += [ "render_text_pango.cc" ]
- } else if (use_ozone) {
- sources += [ "render_text_ozone.cc" ]
- }
}
# iOS.
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698