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

Side by Side Diff: libraries/agg-2.5/nacl-agg-2.5.sh

Issue 11636027: Add ARM toolchain support. (Closed) Base URL: git@github.com:samclegg/naclports.git@sbc
Patch Set: revert .c file change Created 7 years, 11 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 | « experimental/v8/run.sh ('k') | libraries/ffmpeg-0.5/nacl-ffmpeg-0.5.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 6
7 # nacl-agg-2.5.sh 7 # nacl-agg-2.5.sh
8 # 8 #
9 # usage: nacl-agg-2.5.sh 9 # usage: nacl-agg-2.5.sh
10 # 10 #
11 # this script downloads, patches, and builds agg for Native Client 11 # this script downloads, patches, and builds agg for Native Client
12 # 12 #
13 13
14 readonly URL=http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/ag g-2.5.tar.gz 14 readonly URL=http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/ag g-2.5.tar.gz
15 #readonly URL=http://www.antigrain.com/agg-2.5.tar.gz 15 #readonly URL=http://www.antigrain.com/agg-2.5.tar.gz
16 readonly PATCH_FILE=nacl-agg-2.5.patch 16 readonly PATCH_FILE=nacl-agg-2.5.patch
17 readonly PACKAGE_NAME=agg-2.5 17 readonly PACKAGE_NAME=agg-2.5
18 18
19 source ../../build_tools/common.sh 19 source ../../build_tools/common.sh
20 20
21 21
22 CustomBuildStep() { 22 CustomBuildStep() {
23 cd ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 23 cd ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
24 if [ ${NACL_PACKAGES_BITSIZE} = "pnacl" ] ; then 24 if [ ${NACL_ARCH} = "pnacl" ] ; then
25 extra="" 25 extra=""
26 else 26 else
27 extra="-O3 -mfpmath=sse -msse -fomit-frame-pointer" 27 extra="-O3 -mfpmath=sse -msse -fomit-frame-pointer"
28 fi 28 fi
29 AGGCXXFLAGS="${extra}" make NACLCXX=${NACLCXX} NACLCC=${NACLCC} NACLAR=${NACLA R} 29 AGGCXXFLAGS="${extra}" make NACLCXX=${NACLCXX} NACLCC=${NACLCC} NACLAR=${NACLA R}
30 } 30 }
31 31
32 32
33 CustomInstallStep() { 33 CustomInstallStep() {
34 # copy libs and headers manually 34 # copy libs and headers manually
(...skipping 16 matching lines...) Expand all
51 DefaultExtractStep 51 DefaultExtractStep
52 DefaultPatchStep 52 DefaultPatchStep
53 CustomBuildStep 53 CustomBuildStep
54 CustomInstallStep 54 CustomInstallStep
55 DefaultCleanUpStep 55 DefaultCleanUpStep
56 } 56 }
57 57
58 58
59 CustomPackageInstall 59 CustomPackageInstall
60 exit 0 60 exit 0
OLDNEW
« no previous file with comments | « experimental/v8/run.sh ('k') | libraries/ffmpeg-0.5/nacl-ffmpeg-0.5.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698