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

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

Issue 891183003: Extract the Skia implementation of HarfBuzz font to its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | ui/gfx/gfx.gyp » ('j') | ui/gfx/harfbuzz_font_skia.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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 "//skia", 236 "//skia",
237 "//third_party/icu", 237 "//third_party/icu",
238 ] 238 ]
239 239
240 # Text rendering conditions (complicated so separated out). 240 # Text rendering conditions (complicated so separated out).
241 if (is_android || is_ios) { 241 if (is_android || is_ios) {
242 # We don't support RenderText on these platforms. 242 # We don't support RenderText on these platforms.
243 } else { 243 } else {
244 # These text rendering files are supported everywhere text rendering is. 244 # These text rendering files are supported everywhere text rendering is.
245 sources += [ 245 sources += [
246 "harfbuzz_font_skia.cc",
247 "harfbuzz_font_skia.h",
246 "render_text.cc", 248 "render_text.cc",
247 "render_text.h", 249 "render_text.h",
248 "render_text_harfbuzz.cc", 250 "render_text_harfbuzz.cc",
249 "render_text_harfbuzz.h", 251 "render_text_harfbuzz.h",
250 "text_utils_skia.cc", 252 "text_utils_skia.cc",
251 ] 253 ]
252 254
253 # These are the "native" rendering routines, only one should apply. 255 # These are the "native" rendering routines, only one should apply.
254 if (is_win) { 256 if (is_win) {
255 sources += [ "render_text_win.cc" ] 257 sources += [ "render_text_win.cc" ]
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 if (is_android) { 560 if (is_android) {
559 generate_jni("gfx_jni_headers") { 561 generate_jni("gfx_jni_headers") {
560 sources = [ 562 sources = [
561 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 563 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
562 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 564 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
563 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 565 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
564 ] 566 ]
565 jni_package = "gfx" 567 jni_package = "gfx"
566 } 568 }
567 } 569 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/gfx.gyp » ('j') | ui/gfx/harfbuzz_font_skia.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698