297c3c8e85
Some builds set NTDDI_VERSION to a very old version of Windows to ensure they run on those older versions of Windows. The dwrite_3.h header uses NTDDI_VERSION in an odd manner, hiding immutable declarations of enums, structs, and interfaces. NTDDI_VERSION was indended to hide functions and extensions to structs. DWrite has one function (to create the factory) and no structs which will be extended. Skia is already tested to run on the oldest supported Windows platform (Windows 7), so an external build building Skia with NTDDI_VERSION as a build define should have no issues at runtime if Skia ignores it. If Skia doesn't ignore NTDDI_VERSION in this case the DWrite backend will be runtime limited to interfaces in very old versions of Windows, instead of using newer interfaces which become available at runtime. Change-Id: I3e9ac2c4116d75588bfff391928d3cd446d6363a Reviewed-on: https://skia-review.googlesource.com/142324 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Herb Derby <herb@google.com>
89 lines
2.9 KiB
Plaintext
89 lines
2.9 KiB
Plaintext
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
_src = get_path_info("../src", "abspath")
|
|
_include = get_path_info("../include", "abspath")
|
|
|
|
skia_utils_sources = [
|
|
"$_include/utils/SkFrontBufferedStream.h",
|
|
"$_include/utils/SkCamera.h",
|
|
"$_include/utils/SkCanvasStateUtils.h",
|
|
"$_include/utils/SkEventTracer.h",
|
|
"$_include/utils/SkInterpolator.h",
|
|
"$_include/utils/SkNoDrawCanvas.h",
|
|
"$_include/utils/SkNWayCanvas.h",
|
|
"$_include/utils/SkNullCanvas.h",
|
|
"$_include/utils/SkPaintFilterCanvas.h",
|
|
"$_include/utils/SkParse.h",
|
|
"$_include/utils/SkParsePath.h",
|
|
"$_include/utils/SkRandom.h",
|
|
"$_include/utils/SkShadowUtils.h",
|
|
|
|
"$_src/utils/Sk3D.cpp",
|
|
"$_src/utils/SkBase64.cpp",
|
|
"$_src/utils/SkBase64.h",
|
|
"$_src/utils/SkBitSet.h",
|
|
"$_src/utils/SkFrontBufferedStream.cpp",
|
|
"$_src/utils/SkCamera.cpp",
|
|
"$_src/utils/SkCanvasStack.h",
|
|
"$_src/utils/SkCanvasStack.cpp",
|
|
"$_src/utils/SkCanvasStateUtils.cpp",
|
|
"$_src/utils/SkDashPath.cpp",
|
|
"$_src/utils/SkDashPathPriv.h",
|
|
"$_src/utils/SkEventTracer.cpp",
|
|
"$_src/utils/SkFloatToDecimal.cpp",
|
|
"$_src/utils/SkFloatToDecimal.h",
|
|
"$_src/utils/SkFloatUtils.h",
|
|
"$_src/utils/SkInterpolator.cpp",
|
|
"$_src/utils/SkJSON.cpp",
|
|
"$_src/utils/SkJSON.h",
|
|
"$_src/utils/SkJSONWriter.cpp",
|
|
"$_src/utils/SkJSONWriter.h",
|
|
"$_src/utils/SkMatrix22.cpp",
|
|
"$_src/utils/SkMatrix22.h",
|
|
"$_src/utils/SkMultiPictureDocument.cpp",
|
|
"$_src/utils/SkNWayCanvas.cpp",
|
|
"$_src/utils/SkNullCanvas.cpp",
|
|
"$_src/utils/SkOSPath.cpp",
|
|
"$_src/utils/SkOSPath.h",
|
|
"$_src/utils/SkPaintFilterCanvas.cpp",
|
|
"$_src/utils/SkParse.cpp",
|
|
"$_src/utils/SkParseColor.cpp",
|
|
"$_src/utils/SkParsePath.cpp",
|
|
"$_src/utils/SkPatchUtils.cpp",
|
|
"$_src/utils/SkPatchUtils.h",
|
|
"$_src/utils/SkPolyUtils.cpp",
|
|
"$_src/utils/SkPolyUtils.h",
|
|
"$_src/utils/SkShadowTessellator.cpp",
|
|
"$_src/utils/SkShadowTessellator.h",
|
|
"$_src/utils/SkShadowUtils.cpp",
|
|
"$_src/utils/SkThreadUtils_pthread.cpp",
|
|
"$_src/utils/SkThreadUtils_win.cpp",
|
|
"$_src/utils/SkWhitelistTypefaces.cpp",
|
|
|
|
#mac
|
|
"$_include/utils/mac/SkCGUtils.h",
|
|
"$_src/utils/mac/SkCreateCGImageRef.cpp",
|
|
|
|
#windows
|
|
"$_src/utils/win/SkAutoCoInitialize.h",
|
|
"$_src/utils/win/SkAutoCoInitialize.cpp",
|
|
"$_src/utils/win/SkDWrite.h",
|
|
"$_src/utils/win/SkDWrite.cpp",
|
|
"$_src/utils/win/SkDWriteFontFileStream.cpp",
|
|
"$_src/utils/win/SkDWriteFontFileStream.h",
|
|
"$_src/utils/win/SkDWriteGeometrySink.cpp",
|
|
"$_src/utils/win/SkDWriteGeometrySink.h",
|
|
"$_src/utils/win/SkDWriteNTDDI_VERSION.h",
|
|
"$_src/utils/win/SkHRESULT.h",
|
|
"$_src/utils/win/SkHRESULT.cpp",
|
|
"$_src/utils/win/SkIStream.h",
|
|
"$_src/utils/win/SkIStream.cpp",
|
|
"$_src/utils/win/SkTScopedComPtr.h",
|
|
"$_src/utils/win/SkWGL.h",
|
|
"$_src/utils/win/SkWGL_win.cpp",
|
|
]
|