]>
Commit | Line | Data |
---|---|---|
81345200 A |
1 | cd "${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}" |
2 | ||
ed1e77d3 | 3 | UNIFDEF_OPTIONS="-D__MAC_OS_X_VERSION_MIN_REQUIRED=${TARGET_MAC_OS_X_VERSION_MAJOR}" |
81345200 A |
4 | |
5 | for ((i = 0; i < ${SCRIPT_INPUT_FILE_COUNT}; ++i)); do | |
6 | eval HEADER=\${SCRIPT_INPUT_FILE_${i}}; | |
7 | unifdef -B ${UNIFDEF_OPTIONS} -o ${HEADER}.unifdef ${HEADER} | |
8 | case $? in | |
9 | 0) | |
10 | rm ${HEADER}.unifdef | |
11 | ;; | |
12 | 1) | |
13 | mv ${HEADER}{.unifdef,} | |
14 | ;; | |
15 | *) | |
16 | exit 1 | |
17 | esac | |
18 | done |