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 28 matching lines...) Expand all Loading... |
39 export NACLSTRIP | 39 export NACLSTRIP |
40 export NACL_EXEEXT | 40 export NACL_EXEEXT |
41 | 41 |
42 # sha1check python script | 42 # sha1check python script |
43 readonly SHA1CHECK=${TOOLS_DIR}/sha1check.py | 43 readonly SHA1CHECK=${TOOLS_DIR}/sha1check.py |
44 | 44 |
45 readonly NACLPORTS_INCLUDE=${NACL_PREFIX}/include | 45 readonly NACLPORTS_INCLUDE=${NACL_PREFIX}/include |
46 readonly NACLPORTS_LIBDIR=${NACL_PREFIX}/lib | 46 readonly NACLPORTS_LIBDIR=${NACL_PREFIX}/lib |
47 readonly NACLPORTS_BIN=${NACL_PREFIX}/bin | 47 readonly NACLPORTS_BIN=${NACL_PREFIX}/bin |
48 | 48 |
| 49 readonly GTEST_SRC=$NACL_PREFIX/src/gtest |
| 50 |
49 # The prefix used when configuring packages. Since we want to build re-usable | 51 # The prefix used when configuring packages. Since we want to build re-usable |
50 # re-locatable binary packages, we use a dummy value here and then modify | 52 # re-locatable binary packages, we use a dummy value here and then modify |
51 # at install time certain parts of package (e.g. pkgconfig .pc files) that | 53 # at install time certain parts of package (e.g. pkgconfig .pc files) that |
52 # embed this this information. | 54 # embed this this information. |
53 readonly PREFIX=/webports-dummydir | 55 readonly PREFIX=/webports-dummydir |
54 | 56 |
55 NACLPORTS_LIBS="" | 57 NACLPORTS_LIBS="" |
56 NACLPORTS_CFLAGS="" | 58 NACLPORTS_CFLAGS="" |
57 NACLPORTS_CXXFLAGS="" | 59 NACLPORTS_CXXFLAGS="" |
58 NACLPORTS_CPPFLAGS="${NACL_CPPFLAGS}" | 60 NACLPORTS_CPPFLAGS="${NACL_CPPFLAGS}" |
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1613 ###################################################################### | 1615 ###################################################################### |
1614 # Always run | 1616 # Always run |
1615 # These functions are called when this script is imported to do | 1617 # These functions are called when this script is imported to do |
1616 # any essential checking/setup operations. | 1618 # any essential checking/setup operations. |
1617 ###################################################################### | 1619 ###################################################################### |
1618 PatchSpecsFile | 1620 PatchSpecsFile |
1619 InjectSystemHeaders | 1621 InjectSystemHeaders |
1620 InstallConfigSite | 1622 InstallConfigSite |
1621 GetRevision | 1623 GetRevision |
1622 MakeDirs | 1624 MakeDirs |
OLD | NEW |