2011-06-16 22:19:46 +04:00
|
|
|
use_relative_paths = True
|
|
|
|
|
2011-06-13 22:08:41 +04:00
|
|
|
# Dependencies on outside packages, as needed for developers/bots that use
|
|
|
|
# "gclient" instead of raw SVN access.
|
|
|
|
#
|
|
|
|
# For now, this must be maintained in parallel with "SVN externals"
|
|
|
|
# dependencies for developers who use raw SVN instead of "gclient".
|
|
|
|
# See third_party/externals/README
|
2011-06-16 22:19:46 +04:00
|
|
|
#
|
2011-06-13 22:08:41 +04:00
|
|
|
deps = {
|
2013-06-10 19:19:33 +04:00
|
|
|
# DEPS using https://chromium.googlesource.com are pulled from chromium @ r205199
|
|
|
|
# (see https://chromium.googlesource.com/chromium/chromium/+/c59bfa8ef877f45bfa859669053859857af1d279)
|
2013-12-02 17:50:38 +04:00
|
|
|
"third_party/externals/angle" : "https://chromium.googlesource.com/external/angleproject.git",
|
2014-01-15 21:24:22 +04:00
|
|
|
"third_party/externals/fontconfig" : "https://skia.googlesource.com/third_party/fontconfig.git@2.11.0",
|
2013-07-23 19:51:12 +04:00
|
|
|
"third_party/externals/freetype" : "https://skia.googlesource.com/third_party/freetype2.git@VER-2-5-0-1",
|
2013-12-13 00:55:00 +04:00
|
|
|
"third_party/externals/gyp" : "https://chromium.googlesource.com/external/gyp.git@5917c6a6b77c9e97a0cbb66847194381bd36ec4c",
|
2013-08-02 23:10:06 +04:00
|
|
|
"third_party/externals/iconv" : "https://skia.googlesource.com/third_party/libiconv.git@v1.14",
|
2013-06-10 19:19:33 +04:00
|
|
|
"third_party/externals/libjpeg" : "https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@82ce8a6d4ebe12a177c0c3597192f2b4f09e81c3",
|
|
|
|
"third_party/externals/jsoncpp" : "https://chromium.googlesource.com/external/jsoncpp/jsoncpp.git@ab1e40f3bce061ea6f9bdc60351d6cde2a4f872b",
|
2013-06-12 00:03:50 +04:00
|
|
|
# Move to a webp version newer than 0.3.0 to pickup NEON fix for iOS
|
2013-06-10 19:19:33 +04:00
|
|
|
"third_party/externals/jsoncpp-chromium" : "https://chromium.googlesource.com/chromium/src/third_party/jsoncpp.git@41239939c0c60481f34887d52c038facf05f5533",
|
2013-06-12 00:03:50 +04:00
|
|
|
"third_party/externals/libwebp" : "https://chromium.googlesource.com/webm/libwebp.git@3fe91635df8734b23f3c1b9d1f0c4fa8cfaf4e39",
|
2013-08-02 23:10:06 +04:00
|
|
|
"third_party/externals/poppler" : "https://skia.googlesource.com/third_party/poppler.git@poppler-0.22.5",
|
2014-01-08 19:14:09 +04:00
|
|
|
# "third_party/externals/v8" : "git://github.com/v8/v8.git@d15b0f0f2099dbd72867f3df70e9aaf5b8afbd2c",
|
2011-06-13 22:08:41 +04:00
|
|
|
}
|
2011-06-16 22:19:46 +04:00
|
|
|
|
2013-05-02 16:27:21 +04:00
|
|
|
deps_os = {
|
|
|
|
"android": {
|
2013-06-10 19:19:33 +04:00
|
|
|
"platform_tools/android/third_party/externals/expat" : "https://android.googlesource.com/platform/external/expat.git@android-4.2.2_r1.2",
|
|
|
|
"platform_tools/android/third_party/externals/gif" : "https://android.googlesource.com/platform/external/giflib.git@android-4.2.2_r1.2",
|
|
|
|
"platform_tools/android/third_party/externals/png" : "https://android.googlesource.com/platform/external/libpng.git@android-4.2.2_r1.2",
|
|
|
|
"platform_tools/android/third_party/externals/jpeg" : "https://android.googlesource.com/platform/external/jpeg.git@android-4.2.2_r1.2",
|
2013-05-02 16:27:21 +04:00
|
|
|
},
|
2013-06-11 19:52:19 +04:00
|
|
|
"chromeos": {
|
|
|
|
"platform_tools/chromeos/third_party/externals/gif" : "https://android.googlesource.com/platform/external/giflib.git@android-4.2.2_r1.2",
|
2013-06-19 19:13:32 +04: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",
|
2013-06-11 19:52:19 +04: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-25 00:22:34 +04:00
|
|
|
|
|
|
|
# barelinux is a DEPS target that has no shared libraries to link
|
|
|
|
# to, similar to android or chromeos.
|
|
|
|
"barelinux": {
|
|
|
|
"third_party/externals/giflib" :
|
|
|
|
"https://android.googlesource.com/platform/external/giflib.git@android-4.2.2_r1.2",
|
|
|
|
"third_party/externals/libpng" :
|
|
|
|
"https://android.googlesource.com/platform/external/libpng.git@android-4.2.2_r1.2",
|
|
|
|
"third_party/externals/zlib" :
|
|
|
|
"https://android.googlesource.com/platform/external/zlib.git@android-4.2.2_r1.2",
|
|
|
|
}
|
2013-05-02 16:27:21 +04:00
|
|
|
}
|
|
|
|
|
2011-06-16 22:24:11 +04:00
|
|
|
#hooks = [
|
|
|
|
# {
|
|
|
|
# # A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
|
|
|
# "pattern": ".",
|
|
|
|
# "action": ["python", "trunk/gyp_skia"],
|
|
|
|
# },
|
|
|
|
#]
|