Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 1 | #!/bin/bash |
| 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 |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | set -e |
| 7 | |
| 8 | test $MACH_O_TYPE = mh_dylib |
| 9 | test $PRODUCT_TYPE = com.apple.product-type.framework |
| 10 | test $PRODUCT_NAME = bundle_shared_library |
| 11 | test $FULL_PRODUCT_NAME = bundle_shared_library.framework |
| 12 | |
| 13 | test $EXECUTABLE_NAME = bundle_shared_library |
| 14 | test $EXECUTABLE_PATH = \ |
| 15 | "bundle_shared_library.framework/Versions/A/bundle_shared_library" |
| 16 | test $WRAPPER_NAME = bundle_shared_library.framework |
| 17 | |
| 18 | test $DYLIB_INSTALL_NAME_BASE = "/Library/Frameworks" |
| 19 | test $LD_DYLIB_INSTALL_NAME = \ |
| 20 | "/Library/Frameworks/bundle_shared_library.framework/Versions/A/bundle_shared_library" |
| 21 | |
| 22 | "$(dirname "$0")/test_check_sdkroot.sh" |