Implement DetectNumberOfCores on Android and make it consistent on Linux and Android
Implement DetectNumberOfCores on Android and make it consistent on Linux and Android

TEST=Number of cpu cores on Linux and Android is right
R=fischman@webrtc.org, niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1585007

Patch from Jeremy Mao <yujie.mao@intel.com>.

git-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@4185 4adac7df-926f-26a2-2b94-8c16560cd09d

krieger-od/nwjs_chromium_webrtc,sippet/webrtc,sippet/webrtc,MIPS/external-chromium_org-third_party-webrtc,AOSPU/external_chromium_org_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,AOSPU/external_chromium_org_third_party_webrtc,CyanogenMod/android_external_chromium_org_third_party_webrtc,lukeweber/webrtc-src-override,Alkalyne/webrtctrunk,aleonliao/webrtc-trunk,sippet/webrtc,lukeweber/webrtc-src-override,svn2github/webrtc-Revision-8758,Omegaphora/external_chromium_org_third_party_webrtc,AOSPU/external_chromium_org_third_party_webrtc,PersonifyInc/chromium_webrtc,Alkalyne/webrtctrunk,xin3liang/platform_external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,AOSPU/external_chromium_org_third_party_webrtc,svn2github/webrtc-Revision-8758,CyanogenMod/android_external_chromium_org_third_party_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,lukeweber/webrtc-src-override,svn2github/webrtc-Revision-8758,lukeweber/webrtc-src-override,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,svn2github/webrtc-Revision-8758,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc,jchavanton/webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,MIPS/external-chromium_org-third_party-webrtc,bpsinc-native/src_third_party_webrtc,krieger-od/webrtc,Omegaphora/external_chromium_org_third_party_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,krieger-od/nwjs_chromium_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,jchavanton/webrtc,AOSPU/external_chromium_org_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,sippet/webrtc,MIPS/external-chromium_org-third_party-webrtc,krieger-od/webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,CyanogenMod/android_external_chromium_org_third_party_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,aleonliao/webrtc-trunk,krieger-od/webrtc,bpsinc-native/src_third_party_webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,CyanogenMod/android_external_chromium_org_third_party_webrtc,aleonliao/webrtc-trunk,CyanogenMod/android_external_chromium_org_third_party_webrtc,krieger-od/webrtc,bpsinc-native/src_third_party_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,sippet/webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,svn2github/webrtc-Revision-8758,Alkalyne/webrtctrunk,xin3liang/platform_external_chromium_org_third_party_webrtc,PersonifyInc/chromium_webrtc,sippet/webrtc,krieger-od/nwjs_chromium_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,android-ia/platform_external_chromium_org_third_party_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,krieger-od/webrtc,jchavanton/webrtc,PersonifyInc/chromium_webrtc,jgcaaprom/android_external_chromium_org_third_party_webrtc,lukeweber/webrtc-src-override,xin3liang/platform_external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,lukeweber/webrtc-src-override,krieger-od/nwjs_chromium_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,CyanogenMod/android_external_chromium_org_third_party_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,aleonliao/webrtc-trunk,jgcaaprom/android_external_chromium_org_third_party_webrtc,jchavanton/webrtc,krieger-od/nwjs_chromium_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,AOSPU/external_chromium_org_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,aleonliao/webrtc-trunk,geekboxzone/lollipop_external_chromium_org_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc,PersonifyInc/chromium_webrtc,krieger-od/nwjs_chromium_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,Alkalyne/webrtctrunk,PersonifyInc/chromium_webrtc,android-ia/platform_external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,AOSPU/external_chromium_org_third_party_webrtc,bpsinc-native/src_third_party_webrtc,lukeweber/webrtc-src-override,jgcaaprom/android_external_chromium_org_third_party_webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,Omegaphora/external_chromium_org_third_party_webrtc,PersonifyInc/chromium_webrtc,aleonliao/webrtc-trunk,jchavanton/webrtc,krieger-od/webrtc,xin3liang/platform_external_chromium_org_third_party_webrtc,CyanogenMod/android_external_chromium_org_third_party_webrtc,svn2github/webrtc-Revision-8758