Initial TSan v2 support in Chromium. Add the 'tsan' GYP flag (off by default) that enables compiler-based data race detection with ThreadSanitizer v2. TSan v2 does not currently work on Linux x86 and Mac OS, thus we add only Linux flags. Review URL: https://chromiumcodereview.appspot.com/10700061
Initial TSan v2 support in Chromium.
Add the 'tsan' GYP flag (off by default) that enables compiler-based data race detection with ThreadSanitizer v2.
TSan v2 does not currently work on Linux x86 and Mac OS, thus we add only Linux flags.
Review URL: https://chromiumcodereview.appspot.com/10700061

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

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