2011-06-16 18:19:46 +00:00
|
|
|
use_relative_paths = True
|
|
|
|
|
2014-06-03 17:35:28 +00:00
|
|
|
# Dependencies on outside packages.
|
2011-06-16 18:19:46 +00:00
|
|
|
#
|
2011-06-13 18:08:41 +00:00
|
|
|
deps = {
|
2015-04-15 11:49:32 +00:00
|
|
|
"common": "https://skia.googlesource.com/common.git@c282fe0b6e392b14f88d647cbd86e1a3ef5498e0",
|
2014-06-20 14:55:03 +00:00
|
|
|
|
2014-11-21 19:41:35 +00:00
|
|
|
# There is some duplication here that might be worth cleaning up:
|
|
|
|
# - can use use our existing t_p/e/libjpeg instead of pulling it for Android?
|
|
|
|
|
2015-09-29 17:30:31 +00:00
|
|
|
"third_party/externals/angle2" : "https://chromium.googlesource.com/angle/angle.git@7258e30c8b4dd42b779f26f94eea91fc0ff3a118",
|
2015-09-14 17:02:50 +00:00
|
|
|
"third_party/externals/cmake" : "https://cmake.googlesource.com/cmake.git@v3.3.1",
|
2015-03-03 16:59:20 +00:00
|
|
|
"third_party/externals/freetype": "https://skia.googlesource.com/third_party/freetype2.git@VER-2-5-0-1",
|
2015-06-01 14:25:17 +00:00
|
|
|
"third_party/externals/gyp" : "https://chromium.googlesource.com/external/gyp.git@08429da7955a98ef764fafa223dd7de73f654b2d",
|
2014-11-21 19:41:35 +00:00
|
|
|
"third_party/externals/harfbuzz": "https://skia.googlesource.com/third_party/harfbuzz.git@0.9.35",
|
2014-08-19 14:21:00 +00:00
|
|
|
"third_party/externals/jsoncpp" : "https://chromium.googlesource.com/external/jsoncpp/jsoncpp.git@1afff032c83e26ddf7f2776e8b43de5ad666c1fa",
|
2015-10-01 17:56:08 +00:00
|
|
|
# Slightly ahead of v 0.4.3, to include the fix for skbug.com/4038
|
|
|
|
"third_party/externals/libwebp" : "https://chromium.googlesource.com/webm/libwebp.git@5ff0079ece626f122bfb8e33a5f92b5a68484176",
|
2015-03-02 14:24:15 +00:00
|
|
|
"third_party/externals/nanomsg" : "https://skia.googlesource.com/third_party/nanomsg.git@0.4-beta",
|
|
|
|
"third_party/externals/zlib" : "https://chromium.googlesource.com/chromium/src/third_party/zlib@4ba7cdd0e7bf49d671645264f839838fc56e1492",
|
2015-03-03 16:59:20 +00:00
|
|
|
# NOTE: If we update libpng, we may need to update the generated file at third_party/libpng/pnglibconf.h
|
2015-04-09 14:33:23 +00:00
|
|
|
"third_party/externals/libpng" : "https://skia.googlesource.com/third_party/libpng.git@070a616b8275277e18ef8ee91e2ca23f7bdc67d5",
|
2015-08-24 19:00:15 +00:00
|
|
|
"third_party/externals/giflib" : "https://android.googlesource.com/platform/external/giflib.git@ab10e256df4f684260ca239905b1cec727181f6c",
|
2014-10-24 12:57:37 +00:00
|
|
|
|
2015-08-11 20:32:54 +00:00
|
|
|
"third_party/externals/libjpeg-turbo" : "https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@631e2dd119d49794e3572b6ca3f16ee39d59f372",
|
2015-07-07 15:50:01 +00:00
|
|
|
# libjpeg-turbo depends on yasm to compile .asm files
|
|
|
|
"third_party/externals/yasm/source/patched-yasm/" : "https://chromium.googlesource.com/chromium/deps/yasm/patched-yasm.git@4671120cd8558ce62ee8672ebf3eb6f5216f909b",
|
|
|
|
"third_party/externals/yasm/binaries" : "https://chromium.googlesource.com/chromium/deps/yasm/binaries.git@52f9b3f4b0aa06da24ef8b123058bb61ee468881",
|
|
|
|
|
2015-03-30 14:52:52 +00:00
|
|
|
"platform_tools/android/third_party/externals/expat" : "https://android.googlesource.com/platform/external/expat.git@android-5.1.0_r3",
|
|
|
|
"platform_tools/android/third_party/externals/jpeg" : "https://android.googlesource.com/platform/external/jpeg.git@android-5.1.0_r3",
|
2015-08-18 18:36:44 +00:00
|
|
|
"platform_tools/android/third_party/externals/png" : "https://android.googlesource.com/platform/external/libpng.git@android-4.2.2_r1.2",
|
2014-07-16 21:45:47 +00:00
|
|
|
|
2014-11-21 19:41:35 +00:00
|
|
|
"platform_tools/chromeos/toolchain/src/third_party/chromite": "https://chromium.googlesource.com/chromiumos/chromite.git@d6a4c7e0ee4d53ddc5238dbddfc0417796a70e54",
|
|
|
|
"platform_tools/chromeos/toolchain/src/third_party/pyelftools": "https://chromium.googlesource.com/chromiumos/third_party/pyelftools.git@bdc1d380acd88d4bfaf47265008091483b0d614e",
|
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
|
|
|
|
2014-11-21 19:41:35 +00:00
|
|
|
# The line below is needed for compiling SkV8Example. Do not delete.
|
|
|
|
#"third_party/externals/v8": "https://chromium.googlesource.com/v8/v8.git@5f1ae66d5634e43563b2d25ea652dfb94c31a3b4",
|
2015-05-18 20:15:56 +00:00
|
|
|
|
|
|
|
# sfntly is used by the PDF backend for font subsetting
|
|
|
|
"third_party/externals/sfntly" : "https://chromium.googlesource.com/external/sfntly/cpp/src.git@1bdaae8fc788a5ac8936d68bf24f37d977a13dac",
|
|
|
|
# ICU is needed for sfntly.
|
|
|
|
"third_party/externals/icu" : "https://chromium.googlesource.com/chromium/deps/icu.git@ce41627e388fb46ab49671bd16a5db81dcd75a71",
|
2013-05-02 12:27:21 +00:00
|
|
|
}
|
|
|
|
|
2014-11-21 19:41:35 +00:00
|
|
|
recursedeps = [ "common" ]
|