From b605f89398767bc39516e1c13a1d9a23bc8e2162 Mon Sep 17 00:00:00 2001 From: bungeman Date: Tue, 2 Aug 2016 11:18:48 -0700 Subject: Remove now unused source files. These files have been renamed and exist only as stubs for transition reasons. Remove these now unused stubs. CQ_INCLUDE_TRYBOTS=master.client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot Review-Url: https://codereview.chromium.org/2197423003 --- cmake/CMakeLists.txt | 4 +--- public.bzl | 4 ---- src/fonts/SkFontMgr_fontconfig.cpp | 8 -------- src/ports/SkFontHost_fontconfig.cpp | 8 -------- 4 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 src/fonts/SkFontMgr_fontconfig.cpp delete mode 100644 src/ports/SkFontHost_fontconfig.cpp diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 255b3c1fc1..b18510ebd4 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -51,9 +51,7 @@ endfunction() # This file is empty and is only used to trick GYP. remove_srcs (../src/core/SkForceCPlusPlusLinking.cpp) # Chrome only? -remove_srcs (../src/ports/SkFontHost_fontconfig.cpp - ../src/fonts/SkFontMgr_fontconfig.cpp - ../src/ports/SkFontConfigInterface_direct.cpp +remove_srcs (../src/ports/SkFontConfigInterface_direct.cpp ../src/ports/SkFontConfigInterface_direct_factory.cpp ../src/ports/SkFontConfigInterface_direct_google3.cpp ../src/ports/SkFontConfigInterface_direct_google3_factory.cpp diff --git a/public.bzl b/public.bzl index d332bfe574..cc83dcf401 100644 --- a/public.bzl +++ b/public.bzl @@ -120,7 +120,6 @@ BASE_SRCS_ALL = struct( "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", "src/gpu/gl/GrGLDefaultInterface_native.cpp", "src/gpu/gl/GrGLDefaultInterface_none.cpp", - "src/fonts/SkFontMgr_fontconfig.cpp", # Exclude files that don't compile with the current DEFINES. "src/gpu/gl/mesa/*", # Requires SK_MESA define. @@ -176,7 +175,6 @@ BASE_SRCS_UNIX = struct( "src/ports/*nacl*", "src/ports/*win*", "src/ports/SkFontConfigInterface_direct_factory.cpp", - "src/ports/SkFontHost_fontconfig.cpp", "src/ports/SkFontMgr_custom_directory_factory.cpp", "src/ports/SkFontMgr_custom_embedded_factory.cpp", "src/ports/SkFontMgr_custom_empty_factory.cpp", @@ -224,7 +222,6 @@ BASE_SRCS_ANDROID = struct( "src/ports/*nacl*", "src/ports/*win*", "src/ports/SkDebug_stdio.cpp", - "src/ports/SkFontHost_fontconfig.cpp", "src/ports/SkFontMgr_custom_directory_factory.cpp", "src/ports/SkFontMgr_custom_embedded_factory.cpp", "src/ports/SkFontMgr_custom_empty_factory.cpp", @@ -278,7 +275,6 @@ BASE_SRCS_IOS = struct( "src/ports/*mozalloc*", "src/ports/*nacl*", "src/ports/*win*", - "src/ports/SkFontHost_fontconfig.cpp", "src/ports/SkFontMgr_custom.cpp", "src/ports/SkFontMgr_custom_directory_factory.cpp", "src/ports/SkFontMgr_custom_embedded_factory.cpp", diff --git a/src/fonts/SkFontMgr_fontconfig.cpp b/src/fonts/SkFontMgr_fontconfig.cpp deleted file mode 100644 index 423527c18f..0000000000 --- a/src/fonts/SkFontMgr_fontconfig.cpp +++ /dev/null @@ -1,8 +0,0 @@ -/* - * Copyright 2013 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "../ports/SkFontMgr_FontConfigInterface.cpp" diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp deleted file mode 100644 index 90da2fd5ca..0000000000 --- a/src/ports/SkFontHost_fontconfig.cpp +++ /dev/null @@ -1,8 +0,0 @@ -/* - * Copyright 2008 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "SkFontMgr_FontConfigInterface_factory.cpp" -- cgit v1.2.3