OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 if (cpu_arch == "arm") { | 7 if (cpu_arch == "arm") { |
8 import("//build/config/arm.gni") | 8 import("//build/config/arm.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 "//third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp", | 437 "//third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp", |
438 "//third_party/skia/src/ports/SkScalerContext_win_dw.cpp", | 438 "//third_party/skia/src/ports/SkScalerContext_win_dw.cpp", |
439 "//third_party/skia/src/ports/SkScalerContext_win_dw.h", | 439 "//third_party/skia/src/ports/SkScalerContext_win_dw.h", |
440 "//third_party/skia/src/ports/SkTLS_win.cpp", | 440 "//third_party/skia/src/ports/SkTLS_win.cpp", |
441 "//third_party/skia/src/ports/SkTypeface_win_dw.cpp", | 441 "//third_party/skia/src/ports/SkTypeface_win_dw.cpp", |
442 "//third_party/skia/src/ports/SkTypeface_win_dw.h", | 442 "//third_party/skia/src/ports/SkTypeface_win_dw.h", |
443 ] | 443 ] |
444 } | 444 } |
445 if (!is_android) { | 445 if (!is_android) { |
446 sources -= [ | 446 sources -= [ |
447 "//third_party/skia/src/ports/SkFontConfigInterface_android.cpp", | |
448 "//third_party/skia/src/ports/SkFontConfigParser_android.cpp", | 447 "//third_party/skia/src/ports/SkFontConfigParser_android.cpp", |
449 "//third_party/skia/src/ports/SkFontMgr_android.cpp", | 448 "//third_party/skia/src/ports/SkFontMgr_android.cpp", |
450 ] | 449 ] |
451 } | 450 } |
452 if (!is_mac) { | 451 if (!is_mac) { |
453 sources -= [ | 452 sources -= [ |
454 "//third_party/skia/src/ports/SkFontHost_mac.cpp", | 453 "//third_party/skia/src/ports/SkFontHost_mac.cpp", |
455 ] | 454 ] |
456 } | 455 } |
457 | 456 |
458 if (!is_linux) { | 457 if (!is_linux) { |
459 sources -= [ | 458 sources -= [ |
| 459 "//third_party/skia/src/ports/SkFontHost_fontconfig.cpp", |
460 "//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp", | 460 "//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp", |
461 "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp", | 461 "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp", |
462 ] | 462 ] |
463 } | 463 } |
464 | 464 |
465 if (!is_linux && !is_android) { | 465 if (!is_linux && !is_android) { |
466 sources -= [ | 466 sources -= [ |
467 "//third_party/skia/src/ports/SkFontHost_fontconfig.cpp", | |
468 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", | 467 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", |
469 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", | 468 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", |
470 ] | 469 ] |
471 } | 470 } |
472 | 471 |
473 # Select the right BitmapPlatformDevice. | 472 # Select the right BitmapPlatformDevice. |
474 if (is_win) { | 473 if (is_win) { |
475 sources += [ | 474 sources += [ |
476 "ext/bitmap_platform_device_win.cc", | 475 "ext/bitmap_platform_device_win.cc", |
477 "ext/bitmap_platform_device_win.h", | 476 "ext/bitmap_platform_device_win.h", |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 ":skia_config", | 694 ":skia_config", |
696 "//build/config/compiler:no_chromium_code" | 695 "//build/config/compiler:no_chromium_code" |
697 ] | 696 ] |
698 | 697 |
699 deps = [ | 698 deps = [ |
700 "//base", | 699 "//base", |
701 ] | 700 ] |
702 | 701 |
703 visibility = ":skia" | 702 visibility = ":skia" |
704 } | 703 } |
OLD | NEW |