move Sk{Test,Random}ScalerContext to tools
There's no need for Skia users to link this test code. Change-Id: I9d6ef2a053d0cf5cb916aa254389ca819c48bae1 Reviewed-on: https://skia-review.googlesource.com/69922 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
8f7d4c3d86
commit
10d66cc3f8
2
BUILD.gn
2
BUILD.gn
@ -1073,6 +1073,8 @@ if (skia_enable_tools) {
|
||||
"tools/LsanSuppressions.cpp",
|
||||
"tools/ProcStats.cpp",
|
||||
"tools/Resources.cpp",
|
||||
"tools/SkRandomScalerContext.cpp",
|
||||
"tools/SkTestScalerContext.cpp",
|
||||
"tools/ThermalManager.cpp",
|
||||
"tools/UrlDataManager.cpp",
|
||||
"tools/debugger/SkDebugCanvas.cpp",
|
||||
|
@ -11,11 +11,11 @@
|
||||
#include "Resources.h"
|
||||
#include "SkCanvas.h"
|
||||
#include "SkGradientShader.h"
|
||||
#include "SkRandomScalerContext.h"
|
||||
#include "SkStream.h"
|
||||
#include "SkSurface.h"
|
||||
#include "SkTextBlob.h"
|
||||
#include "SkTypeface.h"
|
||||
#include "../src/fonts/SkRandomScalerContext.h"
|
||||
|
||||
#if SK_SUPPORT_GPU
|
||||
|
||||
|
@ -87,9 +87,4 @@ skia_utils_sources = [
|
||||
"$_src/utils/win/SkWGL.h",
|
||||
"$_src/utils/win/SkWGL_win.cpp",
|
||||
|
||||
#testing
|
||||
"$_src/fonts/SkRandomScalerContext.cpp",
|
||||
"$_src/fonts/SkRandomScalerContext.h",
|
||||
"$_src/fonts/SkTestScalerContext.cpp",
|
||||
"$_src/fonts/SkTestScalerContext.h",
|
||||
]
|
||||
|
@ -438,6 +438,10 @@ DM_SRCS_ALL = struct(
|
||||
"tools/Resources.cpp",
|
||||
"tools/Resources.h",
|
||||
"tools/SkJSONCPP.h",
|
||||
"tools/SkRandomScalerContext.cpp",
|
||||
"tools/SkRandomScalerContext.h",
|
||||
"tools/SkTestScalerContext.cpp",
|
||||
"tools/SkTestScalerContext.h",
|
||||
"tools/UrlDataManager.cpp",
|
||||
"tools/UrlDataManager.h",
|
||||
"tools/debugger/*.cpp",
|
||||
|
@ -8,14 +8,14 @@
|
||||
#include "sk_tool_utils.h"
|
||||
|
||||
#include "SkCanvas.h"
|
||||
#include "SkPaint.h"
|
||||
#include "SkPoint.h"
|
||||
#include "SkTextBlob.h"
|
||||
#include "SkFontMgr.h"
|
||||
#include "SkGraphics.h"
|
||||
#include "SkPaint.h"
|
||||
#include "SkPoint.h"
|
||||
#include "SkRandomScalerContext.h"
|
||||
#include "SkSurface.h"
|
||||
#include "SkTextBlob.h"
|
||||
#include "SkTypeface.h"
|
||||
#include "../src/fonts/SkRandomScalerContext.h"
|
||||
|
||||
#ifdef SK_BUILD_FOR_WIN
|
||||
#include "SkTypeface_win.h"
|
||||
|
Loading…
Reference in New Issue
Block a user