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

Side by Side Diff: libraries/gtest-1.5.0/nacl-gtest-1.5.0.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
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-gtest-1.5.0.sh 7 # nacl-gtest-1.5.0.sh
8 # 8 #
9 # usage: nacl-gtest-1.5.0.sh 9 # usage: nacl-gtest-1.5.0.sh
10 # 10 #
(...skipping 10 matching lines...) Expand all
21 export CXX=${NACLCXX} 21 export CXX=${NACLCXX}
22 export AR=${NACLAR} 22 export AR=${NACLAR}
23 export RANLIB=${NACLRANLIB} 23 export RANLIB=${NACLRANLIB}
24 export PATH=${NACL_BIN_PATH}:${PATH}; 24 export PATH=${NACL_BIN_PATH}:${PATH};
25 export LIB_GTEST=libgtest.a 25 export LIB_GTEST=libgtest.a
26 26
27 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 27 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
28 } 28 }
29 29
30 CustomInstallStep() { 30 CustomInstallStep() {
31 Remove ${NACL_SDK_USR_INCLUDE}/gtest 31 Remove ${NACLPORTS_INCLUDE}/gtest
32 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 32 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
33 (ChangeDir include; tar cf - --exclude='gtest-death-test.h' --exclude='gtest-d eath-test-internal.h' gtest | (ChangeDir ${NACL_SDK_USR_INCLUDE}; tar xfp -)) 33 (ChangeDir include; tar cf - --exclude='gtest-death-test.h' --exclude='gtest-d eath-test-internal.h' gtest | (ChangeDir ${NACLPORTS_INCLUDE}; tar xfp -))
34 Remove ${NACL_SDK_USR_LIB}/${LIB_GTEST} 34 Remove ${NACLPORTS_LIBDIR}/${LIB_GTEST}
35 install -m 644 ${LIB_GTEST} ${NACL_SDK_USR_LIB}/${LIB_GTEST} 35 install -m 644 ${LIB_GTEST} ${NACLPORTS_LIBDIR}/${LIB_GTEST}
36 DefaultTouchStep 36 DefaultTouchStep
37 } 37 }
38 38
39 CustomPackageInstall() { 39 CustomPackageInstall() {
40 DefaultPreInstallStep 40 DefaultPreInstallStep
41 DefaultDownloadStep 41 DefaultDownloadStep
42 DefaultExtractStep 42 DefaultExtractStep
43 DefaultPatchStep 43 DefaultPatchStep
44 CustomConfigureStep 44 CustomConfigureStep
45 DefaultBuildStep 45 DefaultBuildStep
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/gmock-1.5.0/nacl-gmock-1.5.0.sh ('k') | libraries/jsoncpp-0.5.0/nacl-jsoncpp-0.5.0.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698