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

Side by Side Diff: libraries/gmock-1.5.0/nacl-gmock-1.5.0.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-gmock-1.5.0.sh 7 # nacl-gmock-1.5.0.sh
8 # 8 #
9 # usage: nacl-gmock-1.5.0.sh 9 # usage: nacl-gmock-1.5.0.sh
10 # 10 #
(...skipping 14 matching lines...) Expand all
25 export CXX=${NACLCXX} 25 export CXX=${NACLCXX}
26 export AR=${NACLAR} 26 export AR=${NACLAR}
27 export RANLIB=${NACLRANLIB} 27 export RANLIB=${NACLRANLIB}
28 export PATH=${NACL_BIN_PATH}:${PATH}; 28 export PATH=${NACL_BIN_PATH}:${PATH};
29 export LIB_GMOCK=libgmock.a 29 export LIB_GMOCK=libgmock.a
30 30
31 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 31 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
32 } 32 }
33 33
34 CustomInstallStep() { 34 CustomInstallStep() {
35 Remove ${NACL_SDK_USR_INCLUDE}/gmock 35 Remove ${NACLPORTS_INCLUDE}/gmock
36 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 36 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
37 (ChangeDir include; tar cf - gmock | (ChangeDir ${NACL_SDK_USR_INCLUDE}; tar x fp -)) 37 (ChangeDir include; tar cf - gmock | (ChangeDir ${NACLPORTS_INCLUDE}; tar xfp -))
38 Remove ${NACL_SDK_USR_LIB}/${LIB_GMOCK} 38 Remove ${NACLPORTS_LIBDIR}/${LIB_GMOCK}
39 install -m 644 ${LIB_GMOCK} ${NACL_SDK_USR_LIB}/${LIB_GMOCK} 39 install -m 644 ${LIB_GMOCK} ${NACLPORTS_LIBDIR}/${LIB_GMOCK}
40 DefaultTouchStep 40 DefaultTouchStep
41 } 41 }
42 42
43 CustomPackageInstall() { 43 CustomPackageInstall() {
44 DefaultPreInstallStep 44 DefaultPreInstallStep
45 DefaultDownloadStep 45 DefaultDownloadStep
46 DefaultExtractStep 46 DefaultExtractStep
47 DefaultPatchStep 47 DefaultPatchStep
48 CustomConfigureStep 48 CustomConfigureStep
49 DefaultBuildStep 49 DefaultBuildStep
50 CustomInstallStep 50 CustomInstallStep
51 DefaultCleanUpStep 51 DefaultCleanUpStep
52 } 52 }
53 53
54 CustomPackageInstall 54 CustomPackageInstall
55 exit 0 55 exit 0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698