diff --git a/public.bzl b/public.bzl index ea247a6e91..18db8130b9 100644 --- a/public.bzl +++ b/public.bzl @@ -85,7 +85,6 @@ BASE_SRCS_ALL = struct( "src/gpu/gl/win/*", "src/opts/**/*", "src/ports/**/*", - "src/ports/SkImageEncoder_none.cpp", "src/utils/android/**/*", "src/utils/mac/**/*", "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? @@ -170,7 +169,6 @@ BASE_SRCS_UNIX = struct( "src/ports/SkFontMgr_fontconfig.cpp", "src/ports/SkFontMgr_fontconfig_factory.cpp", "src/ports/SkGlobalInitialization_none.cpp", - "src/ports/SkImageEncoder_none.cpp", "src/ports/SkImageGenerator_none.cpp", "src/ports/SkTLS_none.cpp", ], @@ -215,7 +213,6 @@ BASE_SRCS_ANDROID = struct( "src/ports/SkFontMgr_custom_empty_factory.cpp", "src/ports/SkFontMgr_empty_factory.cpp", "src/ports/SkGlobalInitialization_none.cpp", - "src/ports/SkImageEncoder_none.cpp", "src/ports/SkImageGenerator_none.cpp", "src/ports/SkTLS_none.cpp", ], @@ -271,7 +268,6 @@ BASE_SRCS_IOS = struct( "src/ports/SkFontMgr_custom_empty_factory.cpp", "src/ports/SkFontMgr_empty_factory.cpp", "src/ports/SkGlobalInitialization_none.cpp", - "src/ports/SkImageEncoder_none.cpp", "src/ports/SkImageGenerator_none.cpp", "src/ports/SkTLS_none.cpp", ], diff --git a/src/ports/SkImageEncoder_none.cpp b/src/ports/SkImageEncoder_none.cpp deleted file mode 100644 index a26698beeb..0000000000 --- a/src/ports/SkImageEncoder_none.cpp +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright 2006 The Android Open Source Project - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "SkImageEncoder.h" - -bool SkEncodeImage(SkWStream*, const SkPixmap&, SkEncodedImageFormat, int) { - return false; -} -