Make xcode_emulation.py work with Python 2.5.
Make xcode_emulation.py work with Python 2.5.

BUG=109452
Review URL: http://codereview.chromium.org/9121020

git-svn-id: e7e1075985beda50ea81ac4472467b4f6e91fc78@1134 78cadc50-ecff-11dd-a971-7dbc132099af

Jack-Q/GYP-copy,chromium/gyp,turbulenz/gyp,mapbox/gyp,svn2github/kgyp,LazyCodingCat/gyp,MIPS/external-chromium_org-tools-gyp,Omegaphora/external_chromium_org_tools_gyp,lukeweber/gyp-override,AWhetter/gyp,mgamer/gyp,msc-/gyp,Phuehvk/gyp,ryfx/gyp,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,svn2github/gyp,android-ia/platform_external_chromium_org_tools_gyp,sdklite/gyp,lukeweber/gyp-override,duanhjlt/gyp,azunite/gyp,azunite/gyp_20150930,bdarnell/gyp,pandaxcl/gyp,msc-/gyp,pyokagan/gyp,mapbox/gyp,openpeer/webrtc-gyp,lianliuwei/gyp,adblockplus/gyp,carlTLR/gyp,luvit/gyp,mistydemeo/gyp,sanyaade-teachings/gyp,carlTLR/gyp,azunite/gyp,ryfx/gyp,msc-/gyp,ttyangf/pdfium_gyp,trafi/gyp,okwasi/gyp,android-ia/platform_external_chromium_org_tools_gyp,yinquan529/platform-external-chromium_org-tools-gyp,kevinchen3315/gyp-git,clar/gyp,adblockplus/gyp,saghul/gyn,lianliuwei/gyp,Chilledheart/gyp,lukeweber/gyp-override,chromium/gyp,mgamer/gyp,LazyCodingCat/gyp,Danath/gyp,springmeyer/gyp,mistydemeo/gyp,ttyangf/gyp,msc-/gyp,MIPS/external-chromium_org-tools-gyp,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,android-ia/platform_external_chromium_org_tools_gyp,clar/gyp,mistydemeo/gyp,adblockplus/gyp,xin3liang/platform_external_chromium_org_tools_gyp,azunite/gyp_20150930,sdklite/gyp,cchamberlain/gyp,ttyangf/pdfium_gyp,cchamberlain/gyp,Chilledheart/gyp,lianliuwei/gyp,Phuehvk/gyp,mkrautz/gyp-libmumble,omasanori/gyp,okwasi/gyp,Danath/gyp,sanyaade-teachings/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,sanyaade-teachings/gyp,okumura/gyp,alexcrichton/gyp,sanyaade-teachings/gyp,sanyaade-teachings/gyp,mumble-voip/libmumble-gyp,yangrongwei/gyp,bulldy80/gyp_unofficial,chromium/gyp,channing/gyp,saghul/gyn,mumble-voip/libmumble-gyp,tarc/gyp,bpsinc-native/src_tools_gyp,LazyCodingCat/gyp,pandaxcl/gyp,sloanyang/gyp,pyokagan/gyp,okumura/gyp,tarc/gyp,Danath/gyp,bulldy80/gyp_unofficial,alexcrichton/gyp,AOSPU/external_chromium_org_tools_gyp,pyokagan/gyp,dougbeal/gyp,yangrongwei/gyp,dougbeal/gyp,AWhetter/gyp,sdklite/gyp,bnoordhuis/gyp,erikge/watch_gyp,kevinchen3315/gyp-git,ttyangf/gyp,pyokagan/gyp,mapbox/gyp,mkrautz/gyp-libmumble,azunite/gyp_20150930,bnq4ever/gypgoogle,enkripsi/gyp,turbulenz/gyp,Chilledheart/gyp,sport-monkey/GYP,ttyangf/gyp,svn2github/kgyp,AOSPU/external_chromium_org_tools_gyp,azunite/gyp,mgamer/gyp,okwasi/gyp,sloanyang/gyp,cysp/gyp,amoikevin/gyp,ryfx/gyp,saghul/gyn,Omegaphora/external_chromium_org_tools_gyp,dougbeal/gyp,Omegaphora/external_chromium_org_tools_gyp,cysp/gyp,svn2github/gyp,pandaxcl/gyp,cysp/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,duanhjlt/gyp,mapbox/gyp,clar/gyp,kevinchen3315/gyp-git,bnoordhuis/gyp,svn2github/kgyp,brson/gyp,sdklite/gyp,omasanori/gyp,trafi/gyp,okumura/gyp,svn2github/gyp,ttyangf/pdfium_gyp,mumble-voip/libmumble-gyp,alexcrichton/gyp,xin3liang/platform_external_chromium_org_tools_gyp,Jack-Q/GYP-copy,MIPS/external-chromium_org-tools-gyp,sport-monkey/GYP,brson/gyp,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,springmeyer/gyp,yinquan529/platform-external-chromium_org-tools-gyp,svn2github/kgyp,adblockplus/gyp,saghul/gyn,saghul/gyn,trafi/gyp,trafi/gyp,mkrautz/gyp-libmumble,channing/gyp,alexcrichton/gyp,azunite/gyp,erikge/watch_gyp,Omegaphora/external_chromium_org_tools_gyp,Phuehvk/gyp,erikge/watch_gyp,turbulenz/gyp,ryfx/gyp,msc-/gyp,yangrongwei/gyp,mumble-voip/libmumble-gyp,AWhetter/gyp,bnoordhuis/gyp,bdarnell/gyp,mkrautz/gyp-libmumble,okwasi/gyp,Danath/gyp,pandaxcl/gyp,Jack-Q/GYP-copy,kevinchen3315/gyp-git,erikge/watch_gyp,sdklite/gyp,yinquan529/platform-external-chromium_org-tools-gyp,Jack-Q/GYP-copy,openpeer/webrtc-gyp,sport-monkey/GYP,bnoordhuis/gyp,xin3liang/platform_external_chromium_org_tools_gyp,turbulenz/gyp,amoikevin/gyp,tarc/gyp,xin3liang/platform_external_chromium_org_tools_gyp,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,yjhjstz/gyp,chromium/gyp,cchamberlain/gyp,turbulenz/gyp,azunite/gyp_20150930,AWhetter/gyp,cysp/gyp,mistydemeo/gyp,openpeer/webrtc-gyp,mapbox/gyp,enkripsi/gyp,bulldy80/gyp_unofficial,yjhjstz/gyp,bnq4ever/gypgoogle,carlTLR/gyp,chromium/gyp,Chilledheart/gyp,svn2github/gyp,yangrongwei/gyp,dougbeal/gyp,trafi/gyp,bdarnell/gyp,tarc/gyp,lianliuwei/gyp,omasanori/gyp,cchamberlain/gyp,azunite/gyp,sport-monkey/GYP,sloanyang/gyp,AWhetter/gyp,Jack-Q/GYP-copy,yjhjstz/gyp,yjhjstz/gyp,yjhjstz/gyp,android-ia/platform_external_chromium_org_tools_gyp,Danath/gyp,bpsinc-native/src_tools_gyp,ttyangf/pdfium_gyp,openpeer/webrtc-gyp,adblockplus/gyp,amoikevin/gyp,luvit/gyp,ryfx/gyp,dougbeal/gyp,Phuehvk/gyp,channing/gyp,bulldy80/gyp_unofficial,channing/gyp,erikge/watch_gyp,MIPS/external-chromium_org-tools-gyp,yinquan529/platform-external-chromium_org-tools-gyp,brson/gyp,bdarnell/gyp,svn2github/kgyp,tarc/gyp,cysp/gyp,sport-monkey/GYP,lukeweber/gyp-override,LazyCodingCat/gyp,duanhjlt/gyp,sloanyang/gyp,clar/gyp,enkripsi/gyp,azunite/gyp_20150930,ttyangf/pdfium_gyp,bpsinc-native/src_tools_gyp,ttyangf/gyp,mgamer/gyp,springmeyer/gyp,svn2github/gyp,brson/gyp,ttyangf/gyp,carlTLR/gyp,carlTLR/gyp,Phuehvk/gyp,pandaxcl/gyp,pyokagan/gyp,mgamer/gyp,cchamberlain/gyp,bnq4ever/gypgoogle,omasanori/gyp,openpeer/webrtc-gyp,amoikevin/gyp,luvit/gyp,AOSPU/external_chromium_org_tools_gyp,okumura/gyp,springmeyer/gyp,luvit/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,enkripsi/gyp,bnq4ever/gypgoogle,Chilledheart/gyp,bulldy80/gyp_unofficial,enkripsi/gyp,bnq4ever/gypgoogle,AOSPU/external_chromium_org_tools_gyp,duanhjlt/gyp,clar/gyp,amoikevin/gyp,bpsinc-native/src_tools_gyp,duanhjlt/gyp,bnoordhuis/gyp,LazyCodingCat/gyp,springmeyer/gyp