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

Side by Side Diff: ports/xaos/build.sh

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 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 | « ports/x264/build.sh ('k') | ports/yajl/build.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 source pkg_info
7 source ../../build_tools/common.sh
8 6
9 EXAMPLE_DIR=${NACL_SRC}/ports/xaos 7 EXAMPLE_DIR=${NACL_SRC}/ports/xaos
10 EXECUTABLES=bin/xaos 8 EXECUTABLES=bin/xaos
11 9
12 PatchStep() { 10 PatchStep() {
13 DefaultPatchStep 11 DefaultPatchStep
14 local src_dir="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}" 12 local src_dir="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}"
15 echo "copy nacl driver" 13 echo "copy nacl driver"
16 cp -r "${START_DIR}/nacl-ui-driver" "${src_dir}/src/ui/ui-drv/nacl" 14 cp -r "${START_DIR}/nacl-ui-driver" "${src_dir}/src/ui/ui-drv/nacl"
17 } 15 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 local build_dir=${out_dir}/${NACL_BUILD_SUBDIR} 64 local build_dir=${out_dir}/${NACL_BUILD_SUBDIR}
67 local publish_dir="${NACL_PACKAGES_PUBLISH}/${PACKAGE_NAME}" 65 local publish_dir="${NACL_PACKAGES_PUBLISH}/${PACKAGE_NAME}"
68 66
69 MakeDir ${publish_dir} 67 MakeDir ${publish_dir}
70 install ${START_DIR}/xaos.html ${publish_dir} 68 install ${START_DIR}/xaos.html ${publish_dir}
71 install ${START_DIR}/xaos.nmf ${publish_dir} 69 install ${START_DIR}/xaos.nmf ${publish_dir}
72 # Not used yet 70 # Not used yet
73 install ${build_dir}/help/xaos.hlp ${publish_dir} 71 install ${build_dir}/help/xaos.hlp ${publish_dir}
74 install ${build_dir}/bin/xaos ${publish_dir}/xaos_${NACL_ARCH}${NACL_EXEEXT} 72 install ${build_dir}/bin/xaos ${publish_dir}/xaos_${NACL_ARCH}${NACL_EXEEXT}
75 } 73 }
76
77 PackageInstall
78 exit 0
OLDNEW
« no previous file with comments | « ports/x264/build.sh ('k') | ports/yajl/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698