| Index: BUILD.gn
|
| diff --git a/BUILD.gn b/BUILD.gn
|
| index 9ecd70830e27f2d220bebcbe05bf7bed6beede93..29d2a0b5b30cfdf4eac4f8e7d87ea4e47fb13284 100644
|
| --- a/BUILD.gn
|
| +++ b/BUILD.gn
|
| @@ -2,8 +2,6 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -pdf_use_skia = false
|
| -
|
| config("pdfium_config") {
|
| cflags = []
|
| defines = [
|
| @@ -13,10 +11,6 @@ config("pdfium_config") {
|
| "_NO_GDIPLUS_", # workaround text rendering issues on Windows
|
| ]
|
|
|
| - if (pdf_use_skia) {
|
| - defines += [ "_SKIA_SUPPORT_" ]
|
| - }
|
| -
|
| if (is_linux) {
|
| if (cpu_arch == "x64") {
|
| defines += [ "_FX_CPU_=_FX_X64_" ]
|
| @@ -553,23 +547,6 @@ static_library("fxge") {
|
| "core/include/fxge/fx_ge.h",
|
| "core/include/fxge/fx_ge_apple.h",
|
| "core/include/fxge/fx_ge_win32.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_basics.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_conv_dash.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_conv_stroke.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_curves.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_path_storage.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h",
|
| - "core/src/fxge/agg/include/fxfx_agg_scanline_u.h",
|
| - "core/src/fxge/agg/include/fx_agg_driver.h",
|
| - "core/src/fxge/agg/src/fxfx_agg_curves.cpp",
|
| - "core/src/fxge/agg/src/fxfx_agg_driver.cpp",
|
| - "core/src/fxge/agg/src/fxfx_agg_path_storage.cpp",
|
| - "core/src/fxge/agg/src/fxfx_agg_rasterizer_scanline_aa.cpp",
|
| - "core/src/fxge/agg/src/fxfx_agg_vcgen_dash.cpp",
|
| - "core/src/fxge/agg/src/fxfx_agg_vcgen_stroke.cpp",
|
| "core/src/fxge/android/fpf_skiafont.cpp",
|
| "core/src/fxge/android/fpf_skiafont.h",
|
| "core/src/fxge/android/fpf_skiafontmgr.cpp",
|
| @@ -643,6 +620,8 @@ static_library("fxge") {
|
| "core/src/fxge/ge/fx_ge_ps.cpp",
|
| "core/src/fxge/ge/fx_ge_text.cpp",
|
| "core/src/fxge/ge/text_int.h",
|
| + "core/src/fxge/skia/fx_skia_blitter.cpp",
|
| + "core/src/fxge/skia/fx_skia_driver.cpp",
|
| ]
|
|
|
| configs -= [ "//build/config/compiler:chromium_code" ]
|
| @@ -651,23 +630,7 @@ static_library("fxge") {
|
| }
|
| configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
|
|
|
| - if (pdf_use_skia) {
|
| - sources = [
|
| - "core/src/fxge/skia/fx_skia_blitter_new.cpp",
|
| - "core/src/fxge/skia/fx_skia_device.cpp",
|
| - ]
|
| - include_dirs = [
|
| - "//third_party/skia/include/config",
|
| - "//third_party/skia/include/core",
|
| - "//third_party/skia/include/effects",
|
| - "//third_party/skia/include/images",
|
| - "//third_party/skia/include/lazy",
|
| - "//third_party/skia/include/pathops",
|
| - "//third_party/skia/include/utils",
|
| - "//third_party/skia/src/core",
|
| - ]
|
| - deps = [ "//skia" ]
|
| - }
|
| + deps = [ "//skia" ]
|
|
|
| if (is_win) {
|
| sources += [
|
|
|