OLD | NEW |
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 # Set NACL_SHARED when we want to build shared libraries. | 88 # Set NACL_SHARED when we want to build shared libraries. |
89 if [ "${NACL_LIBC}" = "glibc" -o "${NACL_LIBC}" = "bionic" ]; then | 89 if [ "${NACL_LIBC}" = "glibc" -o "${NACL_LIBC}" = "bionic" ]; then |
90 NACL_SHARED=1 | 90 NACL_SHARED=1 |
91 else | 91 else |
92 NACL_SHARED=0 | 92 NACL_SHARED=0 |
93 fi | 93 fi |
94 | 94 |
95 # libcli_main.a has a circular dependency which makes static link fail | 95 # libcli_main.a has a circular dependency which makes static link fail |
96 # (cli_main => nacl_io => ppapi_cpp => cli_main). To break this loop, | 96 # (cli_main => nacl_io => ppapi_cpp => cli_main). To break this loop, |
97 # you should use this instead of -lcli_main. | 97 # you should use this instead of -lcli_main. |
98 export NACL_CLI_MAIN_LIB="-Xlinker -uPSUserCreateInstance -lcli_main" | 98 export NACL_CLI_MAIN_LIB="-Xlinker -uPSUserCreateInstance \ |
| 99 -lcli_main -lnacl_spawn" |
99 | 100 |
100 # Python variables | 101 # Python variables |
101 NACL_PYSETUP_ARGS="" | 102 NACL_PYSETUP_ARGS="" |
102 NACL_BUILD_SUBDIR=build | 103 NACL_BUILD_SUBDIR=build |
103 NACL_INSTALL_SUBDIR=install | 104 NACL_INSTALL_SUBDIR=install |
104 | 105 |
105 # output directories | 106 # output directories |
106 readonly NACL_PACKAGES_OUT=${NACL_SRC}/out | 107 readonly NACL_PACKAGES_OUT=${NACL_SRC}/out |
107 readonly NACL_PACKAGES_ROOT=${NACL_PACKAGES_OUT}/packages | 108 readonly NACL_PACKAGES_ROOT=${NACL_PACKAGES_OUT}/packages |
108 readonly NACL_PACKAGES_BUILD=${NACL_PACKAGES_OUT}/build | 109 readonly NACL_PACKAGES_BUILD=${NACL_PACKAGES_OUT}/build |
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1555 # These functions are called when this script is imported to do | 1556 # These functions are called when this script is imported to do |
1556 # any essential checking/setup operations. | 1557 # any essential checking/setup operations. |
1557 ###################################################################### | 1558 ###################################################################### |
1558 CheckToolchain | 1559 CheckToolchain |
1559 CheckPatchVersion | 1560 CheckPatchVersion |
1560 PatchSpecsFile | 1561 PatchSpecsFile |
1561 InjectSystemHeaders | 1562 InjectSystemHeaders |
1562 InstallConfigSite | 1563 InstallConfigSite |
1563 GetRevision | 1564 GetRevision |
1564 MakeDirs | 1565 MakeDirs |
OLD | NEW |