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

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: 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
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 14 matching lines...) Expand all
25 ${NACLCC} -c ${START_DIR}/dread_chain.c -o dread_chain.o 25 ${NACLCC} -c ${START_DIR}/dread_chain.c -o dread_chain.o
26 ${NACLAR} rcs libdreadthread.a \ 26 ${NACLAR} rcs libdreadthread.a \
27 dread.o \ 27 dread.o \
28 dread_chain.o 28 dread_chain.o
29 ${NACLRANLIB} libdreadthread.a 29 ${NACLRANLIB} libdreadthread.a
30 } 30 }
31 31
32 CustomInstallStep() { 32 CustomInstallStep() {
33 Banner "Installing ${PACKAGE_NAME}" 33 Banner "Installing ${PACKAGE_NAME}"
34 export PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}" 34 export PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}"
35 cp ${PACKAGE_DIR}/libdreadthread.a ${NACL_SDK_USR_LIB} 35 cp ${PACKAGE_DIR}/libdreadthread.a ${NACLPORTS_LIBDIR}
36 cp ${START_DIR}/dreadthread.h ${NACL_SDK_USR_INCLUDE} 36 cp ${START_DIR}/dreadthread.h ${NACLPORTS_INCLUDE}
37 cp ${START_DIR}/dreadthread_ctxt.h ${NACL_SDK_USR_INCLUDE} 37 cp ${START_DIR}/dreadthread_ctxt.h ${NACLPORTS_INCLUDE}
38 cp ${START_DIR}/dreadthread_chain.h ${NACL_SDK_USR_INCLUDE} 38 cp ${START_DIR}/dreadthread_chain.h ${NACLPORTS_INCLUDE}
39 DefaultTouchStep 39 DefaultTouchStep
40 } 40 }
41 41
42 CustomPackageInstall() { 42 CustomPackageInstall() {
43 DefaultPreInstallStep 43 DefaultPreInstallStep
44 CustomBuildStep 44 CustomBuildStep
45 CustomInstallStep 45 CustomInstallStep
46 DefaultCleanUpStep 46 DefaultCleanUpStep
47 } 47 }
48 48
49 CustomPackageInstall 49 CustomPackageInstall
50 exit 0 50 exit 0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698