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

Side by Side Diff: libraries/glibc-compat/nacl-glibc-compat.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/glib-2.28.8/nacl-glib-2.28.8.sh ('k') | libraries/gmock-1.5.0/nacl-gmock-1.5.0.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) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 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-glibc-compat-0.1.sh 7 # nacl-glibc-compat-0.1.sh
8 # 8 #
9 # usage: nacl-glibc-compat-0.1.sh 9 # usage: nacl-glibc-compat-0.1.sh
10 # 10 #
(...skipping 17 matching lines...) Expand all
28 CustomConfigureStep() { 28 CustomConfigureStep() {
29 Banner "Configuring ${PACKAGE_NAME}" 29 Banner "Configuring ${PACKAGE_NAME}"
30 # export the nacl tools 30 # export the nacl tools
31 export CC=${NACLCC} 31 export CC=${NACLCC}
32 export CXX=${NACLCXX} 32 export CXX=${NACLCXX}
33 export AR=${NACLAR} 33 export AR=${NACLAR}
34 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 34 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
35 } 35 }
36 36
37 CustomInstallStep() { 37 CustomInstallStep() {
38 Remove ${NACL_SDK_USR_LIB}/${LIB_GLIBC_COMPAT} 38 Remove ${NACLPORTS_LIBDIR}/${LIB_GLIBC_COMPAT}
39 Remove ${NACL_SDK_USR_INCLUDE}/glibc-compat 39 Remove ${NACLPORTS_INCLUDE}/glibc-compat
40 install -m 644 out/${LIB_GLIBC_COMPAT} ${NACL_SDK_USR_LIB}/${LIB_GLIBC_COMPAT} 40 install -m 644 out/${LIB_GLIBC_COMPAT} ${NACLPORTS_LIBDIR}/${LIB_GLIBC_COMPAT}
41 cp -r include ${NACL_SDK_USR_INCLUDE}/glibc-compat 41 cp -r include ${NACLPORTS_INCLUDE}/glibc-compat
42 } 42 }
43 43
44 CustomPackageInstall() { 44 CustomPackageInstall() {
45 DefaultPreInstallStep 45 DefaultPreInstallStep
46 CustomExtractStep 46 CustomExtractStep
47 CustomConfigureStep 47 CustomConfigureStep
48 DefaultBuildStep 48 DefaultBuildStep
49 CustomInstallStep 49 CustomInstallStep
50 DefaultCleanUpStep 50 DefaultCleanUpStep
51 } 51 }
52 52
53 CustomPackageInstall 53 CustomPackageInstall
OLDNEW
« no previous file with comments | « libraries/glib-2.28.8/nacl-glib-2.28.8.sh ('k') | libraries/gmock-1.5.0/nacl-gmock-1.5.0.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698