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

Side by Side Diff: ui/gfx/BUILD.gn

Issue 331713003: RenderTextHarfBuzz: Implement font fallback for Win and Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gyp -> gn Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/gfx/font_fallback.h » ('j') | ui/gfx/render_text_harfbuzz.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "color_utils.cc", 78 "color_utils.cc",
79 "color_utils.h", 79 "color_utils.h",
80 "display.cc", 80 "display.cc",
81 "display.h", 81 "display.h",
82 "display_observer.cc", 82 "display_observer.cc",
83 "display_observer.h", 83 "display_observer.h",
84 "favicon_size.cc", 84 "favicon_size.cc",
85 "favicon_size.h", 85 "favicon_size.h",
86 "font.cc", 86 "font.cc",
87 "font.h", 87 "font.h",
88 "font_fallback.h",
89 "font_fallback_linux.cc",
90 "font_fallback_mac.cc",
88 "font_fallback_win.cc", 91 "font_fallback_win.cc",
89 "font_fallback_win.h", 92 "font_fallback_win.h",
90 "font_list.cc", 93 "font_list.cc",
91 "font_list.h", 94 "font_list.h",
92 "font_list_impl.cc", 95 "font_list_impl.cc",
93 "font_list_impl.h", 96 "font_list_impl.h",
94 "font_render_params_android.cc", 97 "font_render_params_android.cc",
95 "font_render_params_linux.cc", 98 "font_render_params_linux.cc",
96 "font_render_params_win.cc", 99 "font_render_params_win.cc",
97 "font_render_params.h", 100 "font_render_params.h",
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 if (is_win) { 248 if (is_win) {
246 sources += [ "render_text_win.cc" ] 249 sources += [ "render_text_win.cc" ]
247 } else if (is_mac) { 250 } else if (is_mac) {
248 sources += [ "render_text_mac.cc" ] 251 sources += [ "render_text_mac.cc" ]
249 } else if (use_pango) { 252 } else if (use_pango) {
250 sources += [ "render_text_pango.cc" ] 253 sources += [ "render_text_pango.cc" ]
251 } else if (use_ozone) { 254 } else if (use_ozone) {
252 sources += [ "render_text_ozone.cc" ] 255 sources += [ "render_text_ozone.cc" ]
253 } 256 }
254 } 257 }
255 258
256 # iOS. 259 # iOS.
257 if (is_ios) { 260 if (is_ios) {
258 sources -= [ 261 sources -= [
259 "codec/jpeg_codec.cc", 262 "codec/jpeg_codec.cc",
260 "codec/jpeg_codec.h", 263 "codec/jpeg_codec.h",
261 ] 264 ]
262 } else { 265 } else {
263 deps += [ "//third_party:jpeg" ] 266 deps += [ "//third_party:jpeg" ]
264 } 267 }
265 268
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 if (is_android) { 416 if (is_android) {
414 generate_jni("gfx_jni_headers") { 417 generate_jni("gfx_jni_headers") {
415 sources = [ 418 sources = [
416 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 419 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
417 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 420 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
418 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 421 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
419 ] 422 ]
420 jni_package = "gfx" 423 jni_package = "gfx"
421 } 424 }
422 } 425 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/font_fallback.h » ('j') | ui/gfx/render_text_harfbuzz.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698