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

Side by Side Diff: build_tools/common.sh

Issue 710193003: Reduce the number of times we build a host copy of python. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 # 4 #
5 # Environment variable NACL_ARCH should be set to one of the following 5 # Environment variable NACL_ARCH should be set to one of the following
6 # values: i686 x86_64 pnacl arm 6 # values: i686 x86_64 pnacl arm
7 7
8 8
9 # NAMING CONVENTION 9 # NAMING CONVENTION
10 # ================= 10 # =================
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 NACL_BUILD_SUBDIR=build 108 NACL_BUILD_SUBDIR=build
109 NACL_INSTALL_SUBDIR=install 109 NACL_INSTALL_SUBDIR=install
110 110
111 # output directories 111 # output directories
112 readonly NACL_PACKAGES_OUT=${NACL_SRC}/out 112 readonly NACL_PACKAGES_OUT=${NACL_SRC}/out
113 readonly NACL_PACKAGES_ROOT=${NACL_PACKAGES_OUT}/packages 113 readonly NACL_PACKAGES_ROOT=${NACL_PACKAGES_OUT}/packages
114 readonly NACL_PACKAGES_BUILD=${NACL_PACKAGES_OUT}/build 114 readonly NACL_PACKAGES_BUILD=${NACL_PACKAGES_OUT}/build
115 readonly NACL_PACKAGES_PUBLISH=${NACL_PACKAGES_OUT}/publish 115 readonly NACL_PACKAGES_PUBLISH=${NACL_PACKAGES_OUT}/publish
116 readonly NACL_PACKAGES_CACHE=${NACL_PACKAGES_OUT}/cache 116 readonly NACL_PACKAGES_CACHE=${NACL_PACKAGES_OUT}/cache
117 readonly NACL_PACKAGES_STAMPDIR=${NACL_PACKAGES_OUT}/stamp 117 readonly NACL_PACKAGES_STAMPDIR=${NACL_PACKAGES_OUT}/stamp
118 readonly NACL_HOST_PYROOT=${NACL_PACKAGES_BUILD}/host_python_root 118 readonly NACL_HOST_PYROOT=${NACL_PACKAGES_BUILD}/python-host/install_host
119 readonly NACL_HOST_PYBUILD=${NACL_PACKAGES_BUILD}/python-host/build_host
119 readonly NACL_HOST_PYTHON=${NACL_HOST_PYROOT}/bin/python2.7 120 readonly NACL_HOST_PYTHON=${NACL_HOST_PYROOT}/bin/python2.7
120 readonly NACL_DEST_PYROOT=${NACL_PREFIX} 121 readonly NACL_DEST_PYROOT=${NACL_PREFIX}
121 readonly SITE_PACKAGES="lib/python2.7/site-packages/" 122 readonly SITE_PACKAGES="lib/python2.7/site-packages/"
122 123
123 # The components of package names cannot contain underscore 124 # The components of package names cannot contain underscore
124 # characters so use x86-64 rather then x86_64 for arch component. 125 # characters so use x86-64 rather then x86_64 for arch component.
125 if [ "${NACL_ARCH}" = "x86_64" ]; then 126 if [ "${NACL_ARCH}" = "x86_64" ]; then
126 PACKAGE_SUFFIX="_x86-64" 127 PACKAGE_SUFFIX="_x86-64"
127 else 128 else
128 PACKAGE_SUFFIX="_${NACL_ARCH}" 129 PACKAGE_SUFFIX="_${NACL_ARCH}"
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 # These functions are called when this script is imported to do 1684 # These functions are called when this script is imported to do
1684 # any essential checking/setup operations. 1685 # any essential checking/setup operations.
1685 ###################################################################### 1686 ######################################################################
1686 CheckToolchain 1687 CheckToolchain
1687 CheckPatchVersion 1688 CheckPatchVersion
1688 CheckSDKVersion 1689 CheckSDKVersion
1689 PatchSpecsFile 1690 PatchSpecsFile
1690 InjectSystemHeaders 1691 InjectSystemHeaders
1691 InstallConfigSite 1692 InstallConfigSite
1692 GetRevision 1693 GetRevision
OLDNEW
« README.rst ('K') | « build_tools/README.txt ('k') | build_tools/partition4.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698