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

Side by Side Diff: libraries/dreadthread/nacl-dreadthread.sh

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: rebase 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 | Annotate | Revision Log
« no previous file with comments | « libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh ('k') | libraries/faac-1.28/nacl-faac-1.28.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-dreadthread.sh 7 # nacl-dreadthread.sh
8 # 8 #
9 # usage: nacl-dreadthread.sh 9 # usage: nacl-dreadthread.sh
10 # 10 #
(...skipping 15 matching lines...) Expand all
26 ${NACLCC} -c ${START_DIR}/dread_chain.c -o dread_chain.o 26 ${NACLCC} -c ${START_DIR}/dread_chain.c -o dread_chain.o
27 ${NACLAR} rcs libdreadthread.a \ 27 ${NACLAR} rcs libdreadthread.a \
28 dread.o \ 28 dread.o \
29 dread_chain.o 29 dread_chain.o
30 ${NACLRANLIB} libdreadthread.a 30 ${NACLRANLIB} libdreadthread.a
31 } 31 }
32 32
33 CustomInstallStep() { 33 CustomInstallStep() {
34 Banner "Installing ${PACKAGE_NAME}" 34 Banner "Installing ${PACKAGE_NAME}"
35 export PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}" 35 export PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}"
36 cp ${PACKAGE_DIR}/libdreadthread.a ${NACL_SDK_USR_LIB} 36 cp ${PACKAGE_DIR}/libdreadthread.a ${NACLPORTS_LIBDIR}
37 cp ${START_DIR}/dreadthread.h ${NACL_SDK_USR_INCLUDE} 37 cp ${START_DIR}/dreadthread.h ${NACLPORTS_INCLUDE}
38 cp ${START_DIR}/dreadthread_ctxt.h ${NACL_SDK_USR_INCLUDE} 38 cp ${START_DIR}/dreadthread_ctxt.h ${NACLPORTS_INCLUDE}
39 cp ${START_DIR}/dreadthread_chain.h ${NACL_SDK_USR_INCLUDE} 39 cp ${START_DIR}/dreadthread_chain.h ${NACLPORTS_INCLUDE}
40 DefaultTouchStep 40 DefaultTouchStep
41 } 41 }
42 42
43 CustomPackageInstall() { 43 CustomPackageInstall() {
44 DefaultPreInstallStep 44 DefaultPreInstallStep
45 CustomBuildStep 45 CustomBuildStep
46 CustomInstallStep 46 CustomInstallStep
47 DefaultCleanUpStep 47 DefaultCleanUpStep
48 } 48 }
49 49
50 CustomPackageInstall 50 CustomPackageInstall
51 exit 0 51 exit 0
OLDNEW
« no previous file with comments | « libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh ('k') | libraries/faac-1.28/nacl-faac-1.28.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698