2015-03-25 17:22:41 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
2011-12-14 17:12:04 +00:00
|
|
|
# Port-specific Skia library code.
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'ports',
|
2012-10-10 19:45:51 +00:00
|
|
|
'product_name': 'skia_ports',
|
2011-12-14 17:12:04 +00:00
|
|
|
'type': 'static_library',
|
2012-10-10 19:45:51 +00:00
|
|
|
'standalone_static_library': 1,
|
2013-07-22 14:39:45 +00:00
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:*',
|
|
|
|
],
|
2011-12-14 17:12:04 +00:00
|
|
|
'include_dirs': [
|
2012-03-29 14:51:56 +00:00
|
|
|
'../include/effects',
|
2013-03-15 18:08:09 +00:00
|
|
|
'../include/images',
|
2012-03-29 14:28:59 +00:00
|
|
|
'../include/ports',
|
2015-07-28 15:55:14 +00:00
|
|
|
'../include/private',
|
2013-06-03 12:10:19 +00:00
|
|
|
'../include/utils',
|
2013-06-03 14:44:52 +00:00
|
|
|
'../include/utils/win',
|
2011-12-14 17:12:04 +00:00
|
|
|
'../src/core',
|
2015-12-07 20:02:33 +00:00
|
|
|
'../src/image',
|
2013-03-15 18:08:09 +00:00
|
|
|
'../src/lazy',
|
2013-07-31 17:37:31 +00:00
|
|
|
'../src/ports',
|
2013-06-03 12:10:19 +00:00
|
|
|
'../src/sfnt',
|
2012-05-16 18:21:56 +00:00
|
|
|
'../src/utils',
|
2011-12-14 17:12:04 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../src/ports/SkDebug_stdio.cpp',
|
|
|
|
'../src/ports/SkDebug_win.cpp',
|
2013-08-21 15:20:43 +00:00
|
|
|
|
2014-03-21 22:48:32 +00:00
|
|
|
'../src/fonts/SkFontMgr_indirect.cpp',
|
|
|
|
'../src/fonts/SkRemotableFontMgr.cpp',
|
2011-12-14 17:12:04 +00:00
|
|
|
'../src/ports/SkFontHost_win.cpp',
|
2015-06-17 19:07:10 +00:00
|
|
|
'../src/ports/SkFontMgr_android_factory.cpp',
|
2015-06-15 22:17:21 +00:00
|
|
|
'../src/ports/SkFontMgr_custom_directory_factory.cpp',
|
|
|
|
'../src/ports/SkFontMgr_custom_embedded_factory.cpp',
|
2015-06-17 14:55:59 +00:00
|
|
|
'../src/ports/SkFontMgr_fontconfig_factory.cpp',
|
2014-06-05 20:38:45 +00:00
|
|
|
'../src/ports/SkFontMgr_win_dw.cpp',
|
2015-06-15 22:17:21 +00:00
|
|
|
'../src/ports/SkFontMgr_win_dw_factory.cpp',
|
|
|
|
'../src/ports/SkFontMgr_win_gdi_factory.cpp',
|
2014-03-21 22:48:32 +00:00
|
|
|
'../src/ports/SkRemotableFontMgr_win_dw.cpp',
|
2014-06-05 20:55:58 +00:00
|
|
|
'../src/ports/SkScalerContext_win_dw.cpp',
|
2014-06-05 20:38:45 +00:00
|
|
|
'../src/ports/SkScalerContext_win_dw.h',
|
|
|
|
'../src/ports/SkTypeface_win_dw.cpp',
|
|
|
|
'../src/ports/SkTypeface_win_dw.h',
|
2013-08-21 15:20:43 +00:00
|
|
|
|
2011-12-15 14:16:43 +00:00
|
|
|
'../src/ports/SkGlobalInitialization_default.cpp',
|
2011-12-14 17:12:04 +00:00
|
|
|
'../src/ports/SkMemory_malloc.cpp',
|
2015-12-21 12:05:53 +00:00
|
|
|
'../src/ports/SkOSEnvironment.h',
|
|
|
|
'../src/ports/SkOSEnvironment.cpp',
|
2013-05-29 13:43:31 +00:00
|
|
|
'../src/ports/SkOSFile_posix.cpp',
|
2011-12-14 17:12:04 +00:00
|
|
|
'../src/ports/SkOSFile_stdio.cpp',
|
2013-05-29 13:43:31 +00:00
|
|
|
'../src/ports/SkOSFile_win.cpp',
|
2015-10-02 01:29:34 +00:00
|
|
|
'../src/ports/SkOSLibrary.h',
|
|
|
|
'../src/ports/SkOSLibrary_posix.cpp',
|
|
|
|
'../src/ports/SkOSLibrary_win.cpp',
|
2013-08-19 18:38:08 +00:00
|
|
|
'../src/ports/SkDiscardableMemory_none.cpp',
|
2011-12-14 17:12:04 +00:00
|
|
|
'../src/ports/SkTime_Unix.cpp',
|
|
|
|
'../src/ports/SkTime_win.cpp',
|
2013-07-16 14:59:24 +00:00
|
|
|
'../src/ports/SkTLS_pthread.cpp',
|
|
|
|
'../src/ports/SkTLS_win.cpp',
|
2014-03-21 22:48:32 +00:00
|
|
|
|
|
|
|
'../include/ports/SkFontConfigInterface.h',
|
|
|
|
'../include/ports/SkFontMgr.h',
|
2015-06-17 19:07:10 +00:00
|
|
|
'../include/ports/SkFontMgr_android.h',
|
2015-06-17 14:55:59 +00:00
|
|
|
'../include/ports/SkFontMgr_custom.h',
|
|
|
|
'../include/ports/SkFontMgr_fontconfig.h',
|
2014-03-21 22:48:32 +00:00
|
|
|
'../include/ports/SkFontMgr_indirect.h',
|
|
|
|
'../include/ports/SkRemotableFontMgr.h',
|
2011-12-14 17:12:04 +00:00
|
|
|
],
|
2015-06-15 22:17:21 +00:00
|
|
|
'sources/': [
|
|
|
|
['exclude', 'SkFontMgr_.+_factory\\.cpp$'],
|
|
|
|
],
|
2011-12-14 17:12:04 +00:00
|
|
|
'conditions': [
|
2015-04-02 19:16:36 +00:00
|
|
|
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "android"]', {
|
2013-07-22 14:12:56 +00:00
|
|
|
'sources': [
|
|
|
|
'../src/ports/SkFontHost_FreeType.cpp',
|
|
|
|
'../src/ports/SkFontHost_FreeType_common.cpp',
|
2015-07-15 17:58:47 +00:00
|
|
|
'../src/ports/SkFontMgr_android.cpp',
|
|
|
|
'../src/ports/SkFontMgr_android_parser.cpp',
|
|
|
|
'../src/ports/SkFontMgr_custom.cpp',
|
2012-11-01 17:43:44 +00:00
|
|
|
],
|
2013-07-22 14:12:56 +00:00
|
|
|
'dependencies': [
|
|
|
|
'freetype.gyp:freetype',
|
|
|
|
],
|
Build Skia for a bare-bones embedded Linux system.
Motivation:
I have downloaded a barebones Linux system built for 64-bit ARM
from linaro.org and a ARMv8 Foundation Model from arm.com to run
it on. This will let us build and test Skia on ARM64 before we
aquire hardware to allow that. This CL introduces the changes to
the build files necessary to build Skia on a barebones embedded
Linux system. I tested it with the aarch64 GCC compiler provided
by linaro.org.
Changes:
Add a "barelinux" target_os for the DEPS file. Add an optional
git download of zlib.
Changes to gyp files: these changes abstract out libpng, libz, and
giflib so that images.gyp doesn't know whether they are static or
dynamically linked. I also add the variables skia_giflib_static,
skia_libpng_static, skia_zlib_static, and skia_freetype_static,
all of which default to false but when set to true will override
the behavior of the giflib, libpng, zlib, and freetype build
targets to require them to build statically. Also, the
skia_no_fontconfig variable turns off use of the fontconfig service.
Scripts in platform_tools/barelinux/bin:
arm64_download - this script downloads the Linaro's ARMv8 Aarch64
toolchain and minimal embedded Linux system as well as ARM's
foundation model. The required files are mirrored on Google
Cloud. The script then starts a emulated Arm64 Linux system in
the background. After the boot is complete, you can SSH into the
system at port 8022 via user@localhost. The SSH key will be
downloaded into the working directery as well.
download_deps - Uses gclient to download Skia's dependencies for a
bare Linux system (the normal dependecies plus giflib, libpng, and
zlib.)
barelinux_make - this script builds a version of skia that does
not depend on external libraries, perfect for putting in an
embedded system running Linux. Assumes you have run download_deps
first.
To test:
To build a barelinux target, use the barelinux_make script.
To build for a armv8 system: skia_arch_type=arm arm_neon=0 armv7=1
armv8=1 arm_thumb=0 skia_arch_width=64 and set the CC and CXX
variables to point at the cross-compiler downloaded by
arm64_download.
R=djsollen@google.com, scroggo@google.com, borenet@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/152513007
git-svn-id: http://skia.googlecode.com/svn/trunk@13570 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-24 20:22:34 +00:00
|
|
|
'conditions': [
|
2015-07-15 17:58:47 +00:00
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
'dependencies': [
|
|
|
|
'android_deps.gyp:expat',
|
|
|
|
],
|
|
|
|
}, {
|
2015-03-30 19:53:48 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-ldl',
|
2015-07-15 17:58:47 +00:00
|
|
|
'-lexpat',
|
2015-03-30 19:53:48 +00:00
|
|
|
],
|
|
|
|
},
|
2015-07-15 17:58:47 +00:00
|
|
|
}],
|
|
|
|
[ 'skia_embedded_fonts', {
|
2015-03-30 19:53:48 +00:00
|
|
|
'variables': {
|
|
|
|
'embedded_font_data_identifier': 'sk_fonts',
|
|
|
|
'fonts_to_include': [
|
2015-04-30 21:12:58 +00:00
|
|
|
'../resources/fonts/Funkster.ttf',
|
2015-03-30 19:53:48 +00:00
|
|
|
],
|
|
|
|
},
|
2015-06-15 22:17:21 +00:00
|
|
|
'sources/': [['include', '../src/ports/SkFontMgr_custom_embedded_factory.cpp']],
|
2015-03-30 19:53:48 +00:00
|
|
|
'actions': [{
|
|
|
|
'action_name': 'generate_embedded_font_data',
|
|
|
|
'inputs': [
|
|
|
|
'../tools/embed_resources.py',
|
|
|
|
'<@(fonts_to_include)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/ports/fonts/fonts.cpp',
|
|
|
|
],
|
|
|
|
'action': ['python', '../tools/embed_resources.py',
|
|
|
|
'--align', '4',
|
|
|
|
'--name', '<(embedded_font_data_identifier)',
|
|
|
|
'--input', '<@(fonts_to_include)',
|
|
|
|
'--output', '<@(_outputs)',
|
|
|
|
],
|
|
|
|
'message': 'Generating <@(_outputs)',
|
|
|
|
'process_outputs_as_sources': 1,
|
|
|
|
}],
|
|
|
|
'defines': [
|
|
|
|
'SK_EMBEDDED_FONTS=<(embedded_font_data_identifier)',
|
|
|
|
],
|
|
|
|
}, 'skia_no_fontconfig', {
|
2015-06-15 22:17:21 +00:00
|
|
|
'sources/': [['include', '../src/ports/SkFontMgr_custom_directory_factory.cpp']],
|
2015-07-15 17:58:47 +00:00
|
|
|
}, 'skia_os == "android"', {
|
|
|
|
'sources/': [['include', '../src/ports/SkFontMgr_android_factory.cpp']],
|
Build Skia for a bare-bones embedded Linux system.
Motivation:
I have downloaded a barebones Linux system built for 64-bit ARM
from linaro.org and a ARMv8 Foundation Model from arm.com to run
it on. This will let us build and test Skia on ARM64 before we
aquire hardware to allow that. This CL introduces the changes to
the build files necessary to build Skia on a barebones embedded
Linux system. I tested it with the aarch64 GCC compiler provided
by linaro.org.
Changes:
Add a "barelinux" target_os for the DEPS file. Add an optional
git download of zlib.
Changes to gyp files: these changes abstract out libpng, libz, and
giflib so that images.gyp doesn't know whether they are static or
dynamically linked. I also add the variables skia_giflib_static,
skia_libpng_static, skia_zlib_static, and skia_freetype_static,
all of which default to false but when set to true will override
the behavior of the giflib, libpng, zlib, and freetype build
targets to require them to build statically. Also, the
skia_no_fontconfig variable turns off use of the fontconfig service.
Scripts in platform_tools/barelinux/bin:
arm64_download - this script downloads the Linaro's ARMv8 Aarch64
toolchain and minimal embedded Linux system as well as ARM's
foundation model. The required files are mirrored on Google
Cloud. The script then starts a emulated Arm64 Linux system in
the background. After the boot is complete, you can SSH into the
system at port 8022 via user@localhost. The SSH key will be
downloaded into the working directery as well.
download_deps - Uses gclient to download Skia's dependencies for a
bare Linux system (the normal dependecies plus giflib, libpng, and
zlib.)
barelinux_make - this script builds a version of skia that does
not depend on external libraries, perfect for putting in an
embedded system running Linux. Assumes you have run download_deps
first.
To test:
To build a barelinux target, use the barelinux_make script.
To build for a armv8 system: skia_arch_type=arm arm_neon=0 armv7=1
armv8=1 arm_thumb=0 skia_arch_width=64 and set the CC and CXX
variables to point at the cross-compiler downloaded by
arm64_download.
R=djsollen@google.com, scroggo@google.com, borenet@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/152513007
git-svn-id: http://skia.googlecode.com/svn/trunk@13570 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-24 20:22:34 +00:00
|
|
|
}, {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lfontconfig',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
2014-08-25 19:00:49 +00:00
|
|
|
'../src/ports/SkFontMgr_fontconfig.cpp',
|
Build Skia for a bare-bones embedded Linux system.
Motivation:
I have downloaded a barebones Linux system built for 64-bit ARM
from linaro.org and a ARMv8 Foundation Model from arm.com to run
it on. This will let us build and test Skia on ARM64 before we
aquire hardware to allow that. This CL introduces the changes to
the build files necessary to build Skia on a barebones embedded
Linux system. I tested it with the aarch64 GCC compiler provided
by linaro.org.
Changes:
Add a "barelinux" target_os for the DEPS file. Add an optional
git download of zlib.
Changes to gyp files: these changes abstract out libpng, libz, and
giflib so that images.gyp doesn't know whether they are static or
dynamically linked. I also add the variables skia_giflib_static,
skia_libpng_static, skia_zlib_static, and skia_freetype_static,
all of which default to false but when set to true will override
the behavior of the giflib, libpng, zlib, and freetype build
targets to require them to build statically. Also, the
skia_no_fontconfig variable turns off use of the fontconfig service.
Scripts in platform_tools/barelinux/bin:
arm64_download - this script downloads the Linaro's ARMv8 Aarch64
toolchain and minimal embedded Linux system as well as ARM's
foundation model. The required files are mirrored on Google
Cloud. The script then starts a emulated Arm64 Linux system in
the background. After the boot is complete, you can SSH into the
system at port 8022 via user@localhost. The SSH key will be
downloaded into the working directery as well.
download_deps - Uses gclient to download Skia's dependencies for a
bare Linux system (the normal dependecies plus giflib, libpng, and
zlib.)
barelinux_make - this script builds a version of skia that does
not depend on external libraries, perfect for putting in an
embedded system running Linux. Assumes you have run download_deps
first.
To test:
To build a barelinux target, use the barelinux_make script.
To build for a armv8 system: skia_arch_type=arm arm_neon=0 armv7=1
armv8=1 arm_thumb=0 skia_arch_width=64 and set the CC and CXX
variables to point at the cross-compiler downloaded by
arm64_download.
R=djsollen@google.com, scroggo@google.com, borenet@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/152513007
git-svn-id: http://skia.googlecode.com/svn/trunk@13570 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-24 20:22:34 +00:00
|
|
|
'../src/ports/SkFontHost_fontconfig.cpp',
|
|
|
|
'../src/ports/SkFontConfigInterface_direct.cpp',
|
2015-12-01 19:12:05 +00:00
|
|
|
'../src/ports/SkFontConfigInterface_direct_factory.cpp',
|
Build Skia for a bare-bones embedded Linux system.
Motivation:
I have downloaded a barebones Linux system built for 64-bit ARM
from linaro.org and a ARMv8 Foundation Model from arm.com to run
it on. This will let us build and test Skia on ARM64 before we
aquire hardware to allow that. This CL introduces the changes to
the build files necessary to build Skia on a barebones embedded
Linux system. I tested it with the aarch64 GCC compiler provided
by linaro.org.
Changes:
Add a "barelinux" target_os for the DEPS file. Add an optional
git download of zlib.
Changes to gyp files: these changes abstract out libpng, libz, and
giflib so that images.gyp doesn't know whether they are static or
dynamically linked. I also add the variables skia_giflib_static,
skia_libpng_static, skia_zlib_static, and skia_freetype_static,
all of which default to false but when set to true will override
the behavior of the giflib, libpng, zlib, and freetype build
targets to require them to build statically. Also, the
skia_no_fontconfig variable turns off use of the fontconfig service.
Scripts in platform_tools/barelinux/bin:
arm64_download - this script downloads the Linaro's ARMv8 Aarch64
toolchain and minimal embedded Linux system as well as ARM's
foundation model. The required files are mirrored on Google
Cloud. The script then starts a emulated Arm64 Linux system in
the background. After the boot is complete, you can SSH into the
system at port 8022 via user@localhost. The SSH key will be
downloaded into the working directery as well.
download_deps - Uses gclient to download Skia's dependencies for a
bare Linux system (the normal dependecies plus giflib, libpng, and
zlib.)
barelinux_make - this script builds a version of skia that does
not depend on external libraries, perfect for putting in an
embedded system running Linux. Assumes you have run download_deps
first.
To test:
To build a barelinux target, use the barelinux_make script.
To build for a armv8 system: skia_arch_type=arm arm_neon=0 armv7=1
armv8=1 arm_thumb=0 skia_arch_width=64 and set the CC and CXX
variables to point at the cross-compiler downloaded by
arm64_download.
R=djsollen@google.com, scroggo@google.com, borenet@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/152513007
git-svn-id: http://skia.googlecode.com/svn/trunk@13570 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-24 20:22:34 +00:00
|
|
|
],
|
2015-06-17 14:55:59 +00:00
|
|
|
'sources/': [['include', '../src/ports/SkFontMgr_fontconfig_factory.cpp']],
|
Build Skia for a bare-bones embedded Linux system.
Motivation:
I have downloaded a barebones Linux system built for 64-bit ARM
from linaro.org and a ARMv8 Foundation Model from arm.com to run
it on. This will let us build and test Skia on ARM64 before we
aquire hardware to allow that. This CL introduces the changes to
the build files necessary to build Skia on a barebones embedded
Linux system. I tested it with the aarch64 GCC compiler provided
by linaro.org.
Changes:
Add a "barelinux" target_os for the DEPS file. Add an optional
git download of zlib.
Changes to gyp files: these changes abstract out libpng, libz, and
giflib so that images.gyp doesn't know whether they are static or
dynamically linked. I also add the variables skia_giflib_static,
skia_libpng_static, skia_zlib_static, and skia_freetype_static,
all of which default to false but when set to true will override
the behavior of the giflib, libpng, zlib, and freetype build
targets to require them to build statically. Also, the
skia_no_fontconfig variable turns off use of the fontconfig service.
Scripts in platform_tools/barelinux/bin:
arm64_download - this script downloads the Linaro's ARMv8 Aarch64
toolchain and minimal embedded Linux system as well as ARM's
foundation model. The required files are mirrored on Google
Cloud. The script then starts a emulated Arm64 Linux system in
the background. After the boot is complete, you can SSH into the
system at port 8022 via user@localhost. The SSH key will be
downloaded into the working directery as well.
download_deps - Uses gclient to download Skia's dependencies for a
bare Linux system (the normal dependecies plus giflib, libpng, and
zlib.)
barelinux_make - this script builds a version of skia that does
not depend on external libraries, perfect for putting in an
embedded system running Linux. Assumes you have run download_deps
first.
To test:
To build a barelinux target, use the barelinux_make script.
To build for a armv8 system: skia_arch_type=arm arm_neon=0 armv7=1
armv8=1 arm_thumb=0 skia_arch_width=64 and set the CC and CXX
variables to point at the cross-compiler downloaded by
arm64_download.
R=djsollen@google.com, scroggo@google.com, borenet@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/152513007
git-svn-id: http://skia.googlecode.com/svn/trunk@13570 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-24 20:22:34 +00:00
|
|
|
}]
|
2012-11-01 17:43:44 +00:00
|
|
|
],
|
|
|
|
}],
|
2011-12-14 17:12:04 +00:00
|
|
|
[ 'skia_os == "mac"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/utils/mac',
|
|
|
|
],
|
|
|
|
'sources': [
|
2013-03-03 03:50:09 +00:00
|
|
|
'../src/ports/SkFontHost_mac.cpp',
|
2013-03-15 18:08:09 +00:00
|
|
|
'../src/utils/mac/SkStream_mac.cpp',
|
2011-12-14 17:12:04 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "ios"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/utils/ios',
|
2012-09-18 15:41:18 +00:00
|
|
|
'../include/utils/mac',
|
2011-12-14 17:12:04 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2013-03-03 03:50:09 +00:00
|
|
|
'../src/ports/SkFontHost_mac.cpp',
|
2013-03-15 18:08:09 +00:00
|
|
|
'../src/utils/mac/SkStream_mac.cpp',
|
2011-12-14 17:12:04 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "win"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'config/win',
|
2012-08-16 16:13:40 +00:00
|
|
|
'../src/utils/win',
|
|
|
|
],
|
2011-12-14 17:12:04 +00:00
|
|
|
'sources!': [ # these are used everywhere but windows
|
|
|
|
'../src/ports/SkDebug_stdio.cpp',
|
2013-05-29 13:43:31 +00:00
|
|
|
'../src/ports/SkOSFile_posix.cpp',
|
2015-10-02 01:29:34 +00:00
|
|
|
'../src/ports/SkOSLibrary_posix.cpp',
|
2013-07-16 14:59:24 +00:00
|
|
|
'../src/ports/SkTime_Unix.cpp',
|
|
|
|
'../src/ports/SkTLS_pthread.cpp',
|
2013-08-16 20:31:11 +00:00
|
|
|
],
|
2013-08-21 15:20:43 +00:00
|
|
|
'conditions': [
|
|
|
|
# when we build for win, we only want one of these default files
|
2014-07-16 17:06:04 +00:00
|
|
|
[ 'skia_gdi', {
|
2015-06-15 22:17:21 +00:00
|
|
|
'sources/': [['include', '../src/ports/SkFontMgr_win_gdi_factory.cpp']],
|
2014-07-16 17:06:04 +00:00
|
|
|
}, { # normally default to direct write
|
2015-06-15 22:17:21 +00:00
|
|
|
'sources/': [['include', '../src/ports/SkFontMgr_win_dw_factory.cpp']],
|
2013-08-21 15:20:43 +00:00
|
|
|
}],
|
|
|
|
],
|
2011-12-14 17:12:04 +00:00
|
|
|
}, { # else !win
|
|
|
|
'sources!': [
|
|
|
|
'../src/ports/SkDebug_win.cpp',
|
|
|
|
'../src/ports/SkFontHost_win.cpp',
|
2014-06-05 20:38:45 +00:00
|
|
|
'../src/ports/SkFontMgr_win_dw.cpp',
|
2013-05-29 13:43:31 +00:00
|
|
|
'../src/ports/SkOSFile_win.cpp',
|
2015-10-02 01:29:34 +00:00
|
|
|
'../src/ports/SkOSLibrary_win.cpp',
|
2014-03-21 23:19:10 +00:00
|
|
|
'../src/ports/SkRemotableFontMgr_win_dw.cpp',
|
2011-12-14 17:12:04 +00:00
|
|
|
'../src/ports/SkTime_win.cpp',
|
2013-07-16 14:59:24 +00:00
|
|
|
'../src/ports/SkTLS_win.cpp',
|
2014-06-05 20:55:58 +00:00
|
|
|
'../src/ports/SkScalerContext_win_dw.cpp',
|
2014-06-05 20:38:45 +00:00
|
|
|
'../src/ports/SkScalerContext_win_dw.h',
|
|
|
|
'../src/ports/SkTypeface_win_dw.cpp',
|
|
|
|
'../src/ports/SkTypeface_win_dw.h',
|
2011-12-14 17:12:04 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
'sources!': [
|
|
|
|
'../src/ports/SkDebug_stdio.cpp',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../src/ports/SkDebug_android.cpp',
|
2011-12-15 16:16:22 +00:00
|
|
|
],
|
2012-08-23 18:14:13 +00:00
|
|
|
}],
|
2011-12-14 17:12:04 +00:00
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/ports',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|