Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Side by Side Diff: platform_tools/barelinux/bin/arm64_make

Issue 211133002: platform_tools/barelinux/bin/arm64_make script (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: AnotherPatchSet Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # Copyright 2014 Google Inc.
4 #
5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file.
7
8 usage() {
9 cat >&2 <<EOF
10 arm64_make - this script builds a ARMv7 Aarch64 version of skia that
11 does not depend on external libraries, perfect for putting in an
12 embedded system running Linux.
13
14 Assumes that you have already run the download_deps script.
15
16 Usage:
17 $0 \\
18 [-o SKIA_OUT_DIR] [-c CC_EXE] [-x CXX_EXE] \\
19 [-t Debug | Release | Coverage | Release_Developer] \\
20
21 Example use:
22 $0 \\
23 -o ~/build/skia/arg64gcc \\
24 -c ~/local/arm64/bin/aarch64-linux-gnu-gcc \\
25 -x ~/local/arm64/bin/aarch64-linux-gnu-g++ \\
26 EOF
27 return 1
28 }
29
30 # BUILD_TYPE should be one of:
31 # Coverage, Debug, Release, or Release_Developer
32 BUILD_TYPE='Debug'
33
34 while getopts ":c:x:o:t:h" opt ; do
35 case $opt in
36 c) export CC="$OPTARG" ;;
37 x) export CXX="$OPTARG" ;;
38 o) export SKIA_OUT="$OPTARG";;
39 t) BUILD_TYPE="$OPTARG";;
40 h) usage || exit;;
41 ?) echo "unknown option '$OPTARG'" >&2;
42 usage || exit;;
43 esac
44 done
45
46 export GYP_DEFINES="${GYP_DEFINES} \
47 skia_gpu=0 \
48 skia_arch_type=arm \
49 skia_arch_width=64 \
50 armv7=1 \
51 armv8=1 \
52 arm_neon=0 \
53 arm_thumb=0 \
54 "
55
56 "$(dirname "$0")/barelinux_make" -t "$BUILD_TYPE"
57
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698