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 = {
|
2016-08-29 14:14:28 +00:00
|
|
|
"buildtools": "https://chromium.googlesource.com/chromium/buildtools.git@adb8bf4e8fc92aa1717bf151b862d58e6f27c4f2",
|
2016-06-23 12:56:18 +00:00
|
|
|
|
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?
|
|
|
|
|
2016-08-26 17:37:57 +00:00
|
|
|
"third_party/externals/angle2" : "https://chromium.googlesource.com/angle/angle.git@55033e583ba1bc5cbfafbab11d3255fecdfe9056",
|
2015-09-14 17:02:50 +00:00
|
|
|
"third_party/externals/cmake" : "https://cmake.googlesource.com/cmake.git@v3.3.1",
|
2016-08-31 19:48:18 +00:00
|
|
|
"third_party/externals/freetype": "https://skia.googlesource.com/third_party/freetype2.git@4d3f7ca8cedbddad40b9e93a82926618e3fb4265",
|
2016-02-03 19:25:26 +00:00
|
|
|
"third_party/externals/gyp" : "https://chromium.googlesource.com/external/gyp.git@87ac4d0e63fc7dd8152a350327fea8dcf031bf56",
|
2016-07-27 17:08:39 +00:00
|
|
|
"third_party/externals/harfbuzz": "https://skia.googlesource.com/third_party/harfbuzz.git@1.3.0",
|
2016-01-11 19:36:33 +00:00
|
|
|
"third_party/externals/jsoncpp" : "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@1.0.0",
|
2016-01-22 14:58:27 +00:00
|
|
|
"third_party/externals/libwebp" : "https://chromium.googlesource.com/webm/libwebp.git@v0.5.0",
|
2016-05-23 21:02:54 +00:00
|
|
|
"third_party/externals/zlib" : "https://chromium.googlesource.com/chromium/src/third_party/zlib@4576304a4b9835aa8646c9735b079e1d96858633",
|
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
|
|
|
|
2016-04-24 15:14:57 +00:00
|
|
|
"third_party/externals/dng_sdk" : "https://android.googlesource.com/platform/external/dng_sdk.git@96443b262250c390b0caefbf3eed8463ba35ecae",
|
2016-04-14 14:04:00 +00:00
|
|
|
"third_party/externals/piex" : "https://android.googlesource.com/platform/external/piex.git@be908191d0a6883a95333bdc0bca749c9b830969",
|
2016-01-25 16:26:16 +00:00
|
|
|
|
2016-05-02 17:43:22 +00:00
|
|
|
"third_party/externals/libjpeg-turbo" : "https://skia.googlesource.com/third_party/libjpeg-turbo.git@debddedc75850bcdeb8a57258572f48b802a4bb3",
|
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",
|
|
|
|
|
2016-07-14 21:02:24 +00:00
|
|
|
"third_party/externals/expat" : "https://android.googlesource.com/platform/external/expat.git@android-6.0.1_r55",
|
2014-07-16 21:45:47 +00:00
|
|
|
|
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
|
2016-07-27 19:28:55 +00:00
|
|
|
"third_party/externals/sfntly" : "https://chromium.googlesource.com/external/github.com/googlei18n/sfntly.git@b18b09b6114b9b7fe6fc2f96d8b15e8a72f66916",
|
2015-05-18 20:15:56 +00:00
|
|
|
# ICU is needed for sfntly.
|
2016-07-27 17:13:25 +00:00
|
|
|
"third_party/externals/icu" : "https://chromium.googlesource.com/chromium/deps/icu.git@ec9c1133693148470ffe2e5e53576998e3650c1d",
|
2015-10-28 20:28:54 +00:00
|
|
|
|
|
|
|
# sdl will be needed for native windows
|
|
|
|
"third_party/externals/sdl" : "https://skia.googlesource.com/third_party/sdl@9b526d28cb2d7f0ccff0613c94bb52abc8f53b6f",
|
2016-01-22 19:17:46 +00:00
|
|
|
|
|
|
|
# microhttpd for skiaserve
|
|
|
|
"third_party/externals/microhttpd" : "https://android.googlesource.com/platform/external/libmicrohttpd@748945ec6f1c67b7efc934ab0808e1d32f2fb98d",
|
2016-02-03 19:53:18 +00:00
|
|
|
|
2016-03-03 23:43:03 +00:00
|
|
|
# shaderc for the vulkan backend
|
2016-04-18 20:42:02 +00:00
|
|
|
"third_party/externals/shaderc2" : "https://github.com/google/shaderc.git@7308a2cacffce47cc944a59b411ab065c01c3f03",
|
2016-03-31 13:16:31 +00:00
|
|
|
"third_party/externals/shaderc2/third_party/googletest" : "https://github.com/google/googletest.git@d225acc90bc3a8c420a9bcd1f033033c1ccd7fe0",
|
2016-04-18 20:42:02 +00:00
|
|
|
"third_party/externals/shaderc2/third_party/glslang" : "https://github.com/google/glslang.git@e1cd410d9c03a24c00c570c91a99cad88bb475d1",
|
|
|
|
"third_party/externals/shaderc2/third_party/spirv-tools" : "https://github.com/KhronosGroup/SPIRV-Tools.git@009c4358b5a1c93203166b3ed60a548f63522e81",
|
2016-03-10 13:49:48 +00:00
|
|
|
}
|
2016-02-12 20:15:23 +00:00
|
|
|
|
2016-03-10 13:49:48 +00:00
|
|
|
deps_os = {
|
|
|
|
'llvm': {
|
|
|
|
# xSAN bots build Clang from scratch.
|
|
|
|
"third_party/externals/llvm": "https://llvm.googlesource.com/llvm@release_38",
|
|
|
|
"third_party/externals/llvm/tools/clang": "https://llvm.googlesource.com/clang@release_38",
|
|
|
|
"third_party/externals/llvm/projects/compiler-rt": "https://llvm.googlesource.com/compiler-rt@release_38",
|
|
|
|
"third_party/externals/llvm/projects/libcxx": "https://llvm.googlesource.com/libcxx@release_38",
|
|
|
|
"third_party/externals/llvm/projects/libcxxabi": "https://llvm.googlesource.com/libcxxabi@release_38",
|
|
|
|
}
|
2013-05-02 12:27:21 +00:00
|
|
|
}
|
|
|
|
|
2014-11-21 19:41:35 +00:00
|
|
|
recursedeps = [ "common" ]
|