Skip to content

Commit

Permalink
Added Xcode 4 header environment to j2objcc.
Browse files Browse the repository at this point in the history
	Change on 2013/05/09 by tball <tball@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=46410328
  • Loading branch information
tomball committed May 15, 2013
1 parent 378bd6f commit dca7f07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/j2objcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ else
readonly DIR=$(dirname "$0")
fi

if [ -d ${DIR}/include ]; then
if [ "x${PUBLIC_HEADERS_FOLDER_PATH}" != "x" ]; then
readonly INCLUDE_PATH=${DIR}/${PUBLIC_HEADERS_FOLDER_PATH}
elif [ -d ${DIR}/include ]; then
readonly INCLUDE_PATH=${DIR}/include
else
# Xcode 4 default for new projects.
readonly INCLUDE_PATH=${DIR}/Headers
fi
readonly LIB_PATH=${DIR}/lib
Expand Down

0 comments on commit dca7f07

Please sign in to comment.