Added more logic to cg_to_glsl converter to find cgc in o3d/third_party/cgc/ as a last resort. This will allow the converter to always be run as part of the build process.
Added more logic to cg_to_glsl converter to find cgc in o3d/third_party/cgc/
as a last resort. This will allow the converter to always be run as part of
the build process.

BUG=none
TEST=manual testing on Mac and Windows
TBR=amarinichev

Review URL: http://codereview.chromium.org/1773008

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@45737 0039d316-1c4b-4281-b951-d872f2087c98

chuan9/chromium-crosswalk,ltilve/chromium,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,keishi/chromium,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,zcbenz/cefode-chromium,patrickm/chromium.src,markYoungH/chromium.src,nacl-webkit/chrome_deps,ltilve/chromium,TheTypoMaster/chromium-crosswalk,robclark/chromium,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,littlstar/chromium.src,fujunwei/chromium-crosswalk,patrickm/chromium.src,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,ondra-novak/chromium.src,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,littlstar/chromium.src,patrickm/chromium.src,rogerwang/chromium,fujunwei/chromium-crosswalk,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,dushu1203/chromium.src,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,rogerwang/chromium,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,ltilve/chromium,markYoungH/chromium.src,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,robclark/chromium,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,Jonekee/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,robclark/chromium,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,dushu1203/chromium.src,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,rogerwang/chromium,ltilve/chromium,dednal/chromium.src,rogerwang/chromium,rogerwang/chromium,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,dednal/chromium.src,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk,patrickm/chromium.src,M4sse/chromium.src,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,hujiajie/pa-chromium,ondra-novak/chromium.src,jaruba/chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,ChromiumWebApps/chromium,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,M4sse/chromium.src,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,markYoungH/chromium.src,patrickm/chromium.src,rogerwang/chromium,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,robclark/chromium,Just-D/chromium-1,dednal/chromium.src,rogerwang/chromium,keishi/chromium,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,Chilledheart/chromium,dednal/chromium.src,patrickm/chromium.src,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,zcbenz/cefode-chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,robclark/chromium,nacl-webkit/chrome_deps,littlstar/chromium.src,dednal/chromium.src,robclark/chromium,M4sse/chromium.src,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,keishi/chromium,dushu1203/chromium.src,keishi/chromium,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,keishi/chromium,zcbenz/cefode-chromium,PeterWangIntel/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,Chilledheart/chromium,markYoungH/chromium.src,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,anirudhSK/chromium,timopulkkinen/BubbleFish,patrickm/chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,nacl-webkit/chrome_deps,fujunwei/chromium-crosswalk,anirudhSK/chromium,hujiajie/pa-chromium,anirudhSK/chromium,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,rogerwang/chromium,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,markYoungH/chromium.src,keishi/chromium,M4sse/chromium.src,robclark/chromium,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,rogerwang/chromium,bright-sparks/chromium-spacewalk,keishi/chromium,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,jaruba/chromium.src,chuan9/chromium-crosswalk,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,jaruba/chromium.src,mogoweb/chromium-crosswalk,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,dushu1203/chromium.src,keishi/chromium,hgl888/chromium-crosswalk-efl,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,ChromiumWebApps/chromium,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,keishi/chromium,ltilve/chromium,zcbenz/cefode-chromium,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,Jonekee/chromium.src,robclark/chromium,jaruba/chromium.src,anirudhSK/chromium,hujiajie/pa-chromium,jaruba/chromium.src,dednal/chromium.src,Just-D/chromium-1,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,M4sse/chromium.src,dushu1203/chromium.src,chuan9/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,Just-D/chromium-1,ChromiumWebApps/chromium,anirudhSK/chromium,Chilledheart/chromium,ltilve/chromium,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,markYoungH/chromium.src,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,Fireblend/chromium-crosswalk,M4sse/chromium.src,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,axinging/chromium-crosswalk,jaruba/chromium.src,fujunwei/chromium-crosswalk,dushu1203/chromium.src,axinging/chromium-crosswalk,Jonekee/chromium.src,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,keishi/chromium,dednal/chromium.src,ltilve/chromium,keishi/chromium,dednal/chromium.src,Just-D/chromium-1,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,markYoungH/chromium.src,ondra-novak/chromium.src,robclark/chromium,hujiajie/pa-chromium,patrickm/chromium.src,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,ondra-novak/chromium.src,hujiajie/pa-chromium,Jonekee/chromium.src,ltilve/chromium,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,hujiajie/pa-chromium,markYoungH/chromium.src,ChromiumWebApps/chromium,jaruba/chromium.src,anirudhSK/chromium,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,hujiajie/pa-chromium,nacl-webkit/chrome_deps,dednal/chromium.src,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,ltilve/chromium,Just-D/chromium-1,anirudhSK/chromium,dednal/chromium.src,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,fujunwei/chromium-crosswalk,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,rogerwang/chromium,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,robclark/chromium,Just-D/chromium-1,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,timopulkkinen/BubbleFish,dushu1203/chromium.src