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 = staticlib 9 test $PRODUCT_TYPE = com.apple.product-type.library.static 10 test $PRODUCT_NAME = nonbundle_static_library 11 test $FULL_PRODUCT_NAME = libnonbundle_static_library.a 12 13 test $EXECUTABLE_NAME = libnonbundle_static_library.a 14 test $EXECUTABLE_PATH = libnonbundle_static_library.a 15 [[ ! $WRAPPER_NAME && ${WRAPPER_NAME-_} ]] 16 17 [[ ! $DYLIB_INSTALL_NAME_BASE && ${DYLIB_INSTALL_NAME_BASE-_} ]] 18 [[ ! $LD_DYLIB_INSTALL_NAME && ${LD_DYLIB_INSTALL_NAME-_} ]] 19 20 "$(dirname "$0")/test_check_sdkroot.sh" 21