Fixing ID collision if two gyp files share the same name.
Fixing ID collision if two gyp files share the same name.

If a project has one target that has a dependency on two gyp files of the same
name at different paths the generation of an xcode project fails as the
generated ID collides.

The ID for those objects was created by using the name of the gyp file and the
parent name. The ID now also includes the name of all the children.

Patch from Eric Noyau <noyau@google.com>
Review URL: https://codereview.appspot.com/6476070/



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

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