OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright (c) 2012 Google Inc. All rights reserved. | 2 # Copyright (c) 2012 Google Inc. 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 set -e | 6 set -e |
7 | 7 |
8 test $MACH_O_TYPE = mh_bundle | 8 test $MACH_O_TYPE = mh_bundle |
9 test $PRODUCT_TYPE = com.apple.product-type.bundle | 9 test $PRODUCT_TYPE = com.apple.product-type.bundle |
10 test $PRODUCT_NAME = bundle_loadable_module | 10 test $PRODUCT_NAME = bundle_loadable_module |
11 test $FULL_PRODUCT_NAME = bundle_loadable_module.bundle | 11 test $FULL_PRODUCT_NAME = bundle_loadable_module.bundle |
12 | 12 |
13 test $EXECUTABLE_NAME = bundle_loadable_module | 13 test $EXECUTABLE_NAME = bundle_loadable_module |
14 test $EXECUTABLE_PATH = \ | 14 test $EXECUTABLE_PATH = \ |
15 "bundle_loadable_module.bundle/Contents/MacOS/bundle_loadable_module" | 15 "bundle_loadable_module.bundle/Contents/MacOS/bundle_loadable_module" |
16 test $WRAPPER_NAME = bundle_loadable_module.bundle | 16 test $WRAPPER_NAME = bundle_loadable_module.bundle |
17 | 17 |
18 [[ ! $DYLIB_INSTALL_NAME_BASE && ${DYLIB_INSTALL_NAME_BASE-_} ]] | 18 [[ ! $DYLIB_INSTALL_NAME_BASE && ${DYLIB_INSTALL_NAME_BASE-_} ]] |
19 [[ ! $LD_DYLIB_INSTALL_NAME && ${LD_DYLIB_INSTALL_NAME-_} ]] | 19 [[ ! $LD_DYLIB_INSTALL_NAME && ${LD_DYLIB_INSTALL_NAME-_} ]] |
| 20 |
| 21 # Should be set, but empty. |
| 22 [[ ! $SDKROOT && ! ${SDKROOT-_} ]] |
OLD | NEW |