add legacy guard for SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL to android
add legacy guard for SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL to android

NOTRY=True

BUG=skia:
R=djsollen@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/530163002

Infinitive-OS/platform_external_skia,MIPS/external-chromium_org-third_party-skia,HalCanary/skia-hc,UBERMALLOW/external_skia,AOSP-YU/platform_external_skia,MarshedOut/android_external_skia,Igalia/skia,w3nd1go/android_external_skia,MarshedOut/android_external_skia,tmpvar/skia.cc,YUPlayGodDev/platform_external_skia,PAC-ROM/android_external_skia,MyAOSP/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,shahrzadmn/skia,chenlian2015/skia_from_google,PAC-ROM/android_external_skia,Omegaphora/external_chromium_org_third_party_skia,TeamTwisted/external_skia,OptiPop/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,DARKPOP/external_chromium_org_third_party_skia,amyvmiwei/skia,google/skia,MonkeyZZZZ/platform_external_skia,Omegaphora/external_chromium_org_third_party_skia,nvoron23/skia,DiamondLovesYou/skia-sys,TeamExodus/external_skia,OptiPop/external_chromium_org_third_party_skia,todotodoo/skia,timduru/platform-external-skia,ench0/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,amyvmiwei/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,UBERMALLOW/external_skia,nvoron23/skia,MIPS/external-chromium_org-third_party-skia,MyAOSP/external_chromium_org_third_party_skia,OneRom/external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,AOSPB/external_skia,OptiPop/external_chromium_org_third_party_skia,TeamEOS/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,FusionSP/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,Infinitive-OS/platform_external_skia,PAC-ROM/android_external_skia,invisiblek/android_external_skia,Hikari-no-Tenshi/android_external_skia,samuelig/skia,AOSPB/external_skia,MonkeyZZZZ/platform_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,Fusion-Rom/external_chromium_org_third_party_skia,AOSPB/external_skia,PAC-ROM/android_external_skia,DARKPOP/external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,boulzordev/android_external_skia,HalCanary/skia-hc,FusionSP/external_chromium_org_third_party_skia,google/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,ominux/skia,VRToxin-AOSP/android_external_skia,AOSP-YU/platform_external_skia,todotodoo/skia,BrokenROM/external_skia,w3nd1go/android_external_skia,geekboxzone/mmallow_external_skia,MinimalOS/external_chromium_org_third_party_skia,mydongistiny/external_chromium_org_third_party_skia,BrokenROM/external_skia,rubenvb/skia,UBERMALLOW/external_skia,shahrzadmn/skia,MinimalOS-AOSP/platform_external_skia,OneRom/external_skia,pcwalton/skia,ench0/external_chromium_org_third_party_skia,Igalia/skia,boulzordev/android_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,scroggo/skia,MinimalOS/external_chromium_org_third_party_skia,invisiblek/android_external_skia,MonkeyZZZZ/platform_external_skia,qrealka/skia-hc,timduru/platform-external-skia,DiamondLovesYou/skia-sys,TeamTwisted/external_skia,AOSP-YU/platform_external_skia,ench0/external_chromium_org_third_party_skia,qrealka/skia-hc,qrealka/skia-hc,mydongistiny/external_chromium_org_third_party_skia,timduru/platform-external-skia,scroggo/skia,MinimalOS/android_external_chromium_org_third_party_skia,pcwalton/skia,tmpvar/skia.cc,HalCanary/skia-hc,MarshedOut/android_external_skia,tmpvar/skia.cc,MinimalOS/android_external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,w3nd1go/android_external_skia,scroggo/skia,DiamondLovesYou/skia-sys,boulzordev/android_external_skia,boulzordev/android_external_skia,rubenvb/skia,ominux/skia,Hikari-no-Tenshi/android_external_skia,Hikari-no-Tenshi/android_external_skia,BrokenROM/external_skia,invisiblek/android_external_skia,qrealka/skia-hc,ench0/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,noselhq/skia,PAC-ROM/android_external_skia,UBERMALLOW/external_skia,pcwalton/skia,w3nd1go/android_external_skia,MinimalOS/external_chromium_org_third_party_skia,DiamondLovesYou/skia-sys,ench0/external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,MarshedOut/android_external_skia,android-ia/platform_external_chromium_org_third_party_skia,mydongistiny/external_chromium_org_third_party_skia,PAC-ROM/android_external_skia,chenlian2015/skia_from_google,samuelig/skia,noselhq/skia,amyvmiwei/skia,amyvmiwei/skia,noselhq/skia,jtg-gg/skia,Fusion-Rom/external_chromium_org_third_party_skia,samuelig/skia,jtg-gg/skia,BrokenROM/external_skia,Fusion-Rom/external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,BrokenROM/external_skia,MonkeyZZZZ/platform_external_skia,FusionSP/external_chromium_org_third_party_skia,ominux/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,DiamondLovesYou/skia-sys,chenlian2015/skia_from_google,jtg-gg/skia,OptiPop/external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,HalCanary/skia-hc,MonkeyZZZZ/platform_external_skia,boulzordev/android_external_skia,tmpvar/skia.cc,MyAOSP/external_chromium_org_third_party_skia,noselhq/skia,AOSP-YU/platform_external_skia,google/skia,DARKPOP/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,MinimalOS-AOSP/platform_external_skia,ominux/skia,Hikari-no-Tenshi/android_external_skia,TeamEOS/external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,pcwalton/skia,shahrzadmn/skia,aosp-mirror/platform_external_skia,FusionSP/external_chromium_org_third_party_skia,google/skia,TeamExodus/external_skia,MarshedOut/android_external_skia,PAC-ROM/android_external_skia,scroggo/skia,w3nd1go/android_external_skia,VRToxin-AOSP/android_external_skia,samuelig/skia,HalCanary/skia-hc,noselhq/skia,Infinitive-OS/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,shahrzadmn/skia,pcwalton/skia,android-ia/platform_external_chromium_org_third_party_skia,spezi77/android_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,Omegaphora/external_chromium_org_third_party_skia,chenlian2015/skia_from_google,HalCanary/skia-hc,MonkeyZZZZ/platform_external_skia,qrealka/skia-hc,nfxosp/platform_external_skia,geekboxzone/mmallow_external_skia,DiamondLovesYou/skia-sys,OptiPop/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,HalCanary/skia-hc,rubenvb/skia,TeamEOS/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,nvoron23/skia,TeamExodus/external_skia,Omegaphora/external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,invisiblek/android_external_skia,DiamondLovesYou/skia-sys,ominux/skia,TeamEOS/external_chromium_org_third_party_skia,qrealka/skia-hc,YUPlayGodDev/platform_external_skia,BrokenROM/external_skia,TeamTwisted/external_skia,scroggo/skia,MinimalOS/external_chromium_org_third_party_skia,Hikari-no-Tenshi/android_external_skia,shahrzadmn/skia,nvoron23/skia,UBERMALLOW/external_skia,AOSP-YU/platform_external_skia,shahrzadmn/skia,tmpvar/skia.cc,DARKPOP/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,geekboxzone/mmallow_external_skia,w3nd1go/android_external_skia,FusionSP/external_chromium_org_third_party_skia,vanish87/skia,geekboxzone/mmallow_external_skia,MinimalOS-AOSP/platform_external_skia,todotodoo/skia,geekboxzone/mmallow_external_skia,vanish87/skia,android-ia/platform_external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,TeamExodus/external_skia,mydongistiny/external_chromium_org_third_party_skia,todotodoo/skia,OneRom/external_skia,amyvmiwei/skia,invisiblek/android_external_skia,aosp-mirror/platform_external_skia,UBERMALLOW/external_skia,android-ia/platform_external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,w3nd1go/android_external_skia,scroggo/skia,todotodoo/skia,noselhq/skia,samuelig/skia,HalCanary/skia-hc,pcwalton/skia,samuelig/skia,TeamExodus/external_skia,TeamEOS/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,Jichao/skia,MIPS/external-chromium_org-third_party-skia,MIPS/external-chromium_org-third_party-skia,AOSPB/external_skia,ominux/skia,Infinitive-OS/platform_external_skia,vanish87/skia,invisiblek/android_external_skia,nvoron23/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,todotodoo/skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,samuelig/skia,MonkeyZZZZ/platform_external_skia,TeamTwisted/external_skia,tmpvar/skia.cc,scroggo/skia,Igalia/skia,MinimalOS/external_chromium_org_third_party_skia,geekboxzone/mmallow_external_skia,ominux/skia,spezi77/android_external_skia,MarshedOut/android_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,vanish87/skia,rubenvb/skia,Infinitive-OS/platform_external_skia,jtg-gg/skia,chenlian2015/skia_from_google,ench0/external_chromium_org_third_party_skia,rubenvb/skia,VRToxin-AOSP/android_external_skia,Jichao/skia,google/skia,DARKPOP/external_chromium_org_third_party_skia,pcwalton/skia,aosp-mirror/platform_external_skia,geekboxzone/mmallow_external_skia,amyvmiwei/skia,FusionSP/external_chromium_org_third_party_skia,DARKPOP/external_chromium_org_third_party_skia,amyvmiwei/skia,chenlian2015/skia_from_google,noselhq/skia,invisiblek/android_external_skia,nfxosp/platform_external_skia,nvoron23/skia,YUPlayGodDev/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,vanish87/skia,geekboxzone/mmallow_external_skia,google/skia,boulzordev/android_external_skia,aosp-mirror/platform_external_skia,rubenvb/skia,Igalia/skia,ench0/external_chromium_org_third_party_skia,vanish87/skia,todotodoo/skia,AOSPB/external_skia,BrokenROM/external_skia,nfxosp/platform_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,Hikari-no-Tenshi/android_external_skia,MyAOSP/external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,nfxosp/platform_external_skia,aosp-mirror/platform_external_skia,OneRom/external_skia,TeamTwisted/external_skia,PAC-ROM/android_external_skia,MinimalOS-AOSP/platform_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,YUPlayGodDev/platform_external_skia,TeamExodus/external_skia,ominux/skia,VRToxin-AOSP/android_external_skia,nvoron23/skia,Jichao/skia,boulzordev/android_external_skia,Hikari-no-Tenshi/android_external_skia,pcwalton/skia,Jichao/skia,TeamExodus/external_skia,android-ia/platform_external_chromium_org_third_party_skia,Hikari-no-Tenshi/android_external_skia,Omegaphora/external_chromium_org_third_party_skia,Jichao/skia,OneRom/external_skia,VRToxin-AOSP/android_external_skia,tmpvar/skia.cc,geekboxzone/lollipop_external_chromium_org_third_party_skia,AOSPB/external_skia,spezi77/android_external_skia,MarshedOut/android_external_skia,invisiblek/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,OneRom/external_skia,chenlian2015/skia_from_google,scroggo/skia,aosp-mirror/platform_external_skia,timduru/platform-external-skia,YUPlayGodDev/platform_external_skia,Omegaphora/external_chromium_org_third_party_skia,boulzordev/android_external_skia,vanish87/skia,UBERMALLOW/external_skia,MinimalOS-AOSP/platform_external_skia,DARKPOP/external_chromium_org_third_party_skia,todotodoo/skia,rubenvb/skia,DARKPOP/external_chromium_org_third_party_skia,todotodoo/skia,MIPS/external-chromium_org-third_party-skia,MinimalOS/android_external_chromium_org_third_party_skia,nfxosp/platform_external_skia,amyvmiwei/skia,Fusion-Rom/external_chromium_org_third_party_skia,noselhq/skia,MyAOSP/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,Igalia/skia,UBERMALLOW/external_skia,Igalia/skia,android-ia/platform_external_chromium_org_third_party_skia,OneRom/external_skia,shahrzadmn/skia,spezi77/android_external_skia,MIPS/external-chromium_org-third_party-skia,Igalia/skia,YUPlayGodDev/platform_external_skia,AOSPB/external_skia,OptiPop/external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,rubenvb/skia,VRToxin-AOSP/android_external_skia,ominux/skia,rubenvb/skia,boulzordev/android_external_skia,MyAOSP/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,AOSPB/external_skia,TeamExodus/external_skia,jtg-gg/skia,nvoron23/skia,jtg-gg/skia,Infinitive-OS/platform_external_skia,geekboxzone/mmallow_external_skia,OneRom/external_skia,shahrzadmn/skia,mydongistiny/external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,Omegaphora/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,timduru/platform-external-skia,pcwalton/skia,tmpvar/skia.cc,aosp-mirror/platform_external_skia,OneRom/external_skia,tmpvar/skia.cc,TeamExodus/external_skia,MinimalOS/external_chromium_org_third_party_skia,w3nd1go/android_external_skia,Igalia/skia,google/skia,spezi77/android_external_skia,TeamTwisted/external_skia,google/skia,MonkeyZZZZ/platform_external_skia,TeamTwisted/external_skia,noselhq/skia,MarshedOut/android_external_skia,TeamTwisted/external_skia,qrealka/skia-hc,Fusion-Rom/external_chromium_org_third_party_skia,shahrzadmn/skia,vanish87/skia,FusionSP/external_chromium_org_third_party_skia,rubenvb/skia,HalCanary/skia-hc,timduru/platform-external-skia,w3nd1go/android_external_skia,qrealka/skia-hc,samuelig/skia,Omegaphora/external_chromium_org_third_party_skia,HalCanary/skia-hc,Jichao/skia,YUPlayGodDev/platform_external_skia,timduru/platform-external-skia,mydongistiny/external_chromium_org_third_party_skia,Jichao/skia,Jichao/skia,BrokenROM/external_skia,TeamTwisted/external_skia,ench0/external_chromium_org_third_party_skia,AOSPB/external_skia,MarshedOut/android_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,jtg-gg/skia,MinimalOS/external_chromium_org_third_party_skia,FusionSP/external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,vanish87/skia,google/skia,UBERMALLOW/external_skia,PAC-ROM/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,nvoron23/skia,TeamEOS/external_chromium_org_third_party_skia,Jichao/skia,spezi77/android_external_skia,google/skia