/core/externals/update-engine/externals/gdata-objectivec-client/Examples/BloggerSample/buildStripHeaders
Shell | 17 lines | 3 code | 5 blank | 9 comment | 0 complexity | 38b5302dc0e4a662c40b288306a2f6ac MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, GPL-2.0
- #!/bin/sh
- #
- # buildStripHeaders
- #
- # Remove header files from the built copy of the framework inside our
- # application.
- # Strip "*.h" files
- find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname '*.h' -delete
- # Strip "Headers" links
- find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete
- # Strip "Headers" directories
- find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune -delete