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_dylib | 8 test $MACH_O_TYPE = mh_dylib |
9 test $PRODUCT_TYPE = com.apple.product-type.library.dynamic | 9 test $PRODUCT_TYPE = com.apple.product-type.library.dynamic |
10 test $PRODUCT_NAME = nonbundle_shared_library | 10 test $PRODUCT_NAME = nonbundle_shared_library |
11 test $FULL_PRODUCT_NAME = libnonbundle_shared_library.dylib | 11 test $FULL_PRODUCT_NAME = libnonbundle_shared_library.dylib |
12 | 12 |
13 test $EXECUTABLE_NAME = libnonbundle_shared_library.dylib | 13 test $EXECUTABLE_NAME = libnonbundle_shared_library.dylib |
14 test $EXECUTABLE_PATH = libnonbundle_shared_library.dylib | 14 test $EXECUTABLE_PATH = libnonbundle_shared_library.dylib |
15 [[ ! $WRAPPER_NAME && ${WRAPPER_NAME-_} ]] | 15 [[ ! $WRAPPER_NAME && ${WRAPPER_NAME-_} ]] |
16 | 16 |
17 test $DYLIB_INSTALL_NAME_BASE = "/usr/local/lib" | 17 test $DYLIB_INSTALL_NAME_BASE = "/usr/local/lib" |
18 test $LD_DYLIB_INSTALL_NAME = "/usr/local/lib/libnonbundle_shared_library.dylib" | 18 test $LD_DYLIB_INSTALL_NAME = "/usr/local/lib/libnonbundle_shared_library.dylib" |
| 19 |
| 20 # Should be set, but empty. |
| 21 [[ ! $SDKROOT && ! ${SDKROOT-_} ]] |
OLD | NEW |