Second attempt at CL/223980636.
Second attempt at CL/223980636.

It looks like SUPPORT_SELECTIVE_REGISTRATION is used in both the :android_srcs_only_runtime and :android_srcs_no_runtime source files, i.e. in core/framework/types.h. This means that we have to have two separate non-runtime libraries, one with and one without selective registration.

To avoid future problems of this type, I've added a *_no_runtime version for each of the Android build rules.

BEGIN_PUBLIC
Internal change.
END_PUBLIC

*** Original change description ***

Automated rollback of commit e68e9432bf224987106123e08cc61b9686f256ce

PiperOrigin-RevId: 224040015

jhseu/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,sarvex/tensorflow,annarev/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,hfp/tensorflow-xsmm,Intel-tensorflow/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,aldian/tensorflow,ghchinoy/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,asimshankar/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,Bismarrck/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,theflofly/tensorflow,adit-chandra/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,ageron/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,theflofly/tensorflow,ageron/tensorflow,freedomtan/tensorflow,hfp/tensorflow-xsmm,frreiss/tensorflow-fred,theflofly/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,freedomtan/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,Bismarrck/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,ageron/tensorflow,asimshankar/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow-pywrap_tf_optimizer,kevin-coder/tensorflow-fork,petewarden/tensorflow,xzturn/tensorflow,ageron/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,DavidNorman/tensorflow,jendap/tensorflow,tensorflow/tensorflow,annarev/tensorflow,kevin-coder/tensorflow-fork,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,aldian/tensorflow,yongtang/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,asimshankar/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,jbedorf/tensorflow,aam-at/tensorflow,alsrgv/tensorflow,aldian/tensorflow,annarev/tensorflow,theflofly/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,aldian/tensorflow,aam-at/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,ghchinoy/tensorflow,gautam1858/tensorflow,ghchinoy/tensorflow,hfp/tensorflow-xsmm,apark263/tensorflow,DavidNorman/tensorflow,karllessard/tensorflow,jhseu/tensorflow,arborh/tensorflow,arborh/tensorflow,gunan/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,ageron/tensorflow,apark263/tensorflow,aam-at/tensorflow,jendap/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,Bismarrck/tensorflow,aldian/tensorflow,Bismarrck/tensorflow,karllessard/tensorflow,jendap/tensorflow,asimshankar/tensorflow,arborh/tensorflow,arborh/tensorflow,gautam1858/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Bismarrck/tensorflow,jhseu/tensorflow,Bismarrck/tensorflow,ppwwyyxx/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,karllessard/tensorflow,sarvex/tensorflow,apark263/tensorflow,chemelnucfin/tensorflow,yongtang/tensorflow,jbedorf/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,alsrgv/tensorflow,renyi533/tensorflow,hfp/tensorflow-xsmm,karllessard/tensorflow,aam-at/tensorflow,jendap/tensorflow,theflofly/tensorflow,apark263/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,chemelnucfin/tensorflow,asimshankar/tensorflow,frreiss/tensorflow-fred,theflofly/tensorflow,arborh/tensorflow,ageron/tensorflow,aldian/tensorflow,annarev/tensorflow,gunan/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_saved_model,asimshankar/tensorflow,gunan/tensorflow,karllessard/tensorflow,jbedorf/tensorflow,annarev/tensorflow,jendap/tensorflow,renyi533/tensorflow,xzturn/tensorflow,arborh/tensorflow,petewarden/tensorflow,apark263/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,chemelnucfin/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,gautam1858/tensorflow,jbedorf/tensorflow,yongtang/tensorflow,adit-chandra/tensorflow,jbedorf/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,hfp/tensorflow-xsmm,ppwwyyxx/tensorflow,chemelnucfin/tensorflow,petewarden/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,hfp/tensorflow-xsmm,gautam1858/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,ageron/tensorflow,gautam1858/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,ageron/tensorflow,jbedorf/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,alsrgv/tensorflow,cxxgtxy/tensorflow,jendap/tensorflow,Bismarrck/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,hfp/tensorflow-xsmm,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,arborh/tensorflow,paolodedios/tensorflow,asimshankar/tensorflow,petewarden/tensorflow,jbedorf/tensorflow,Intel-tensorflow/tensorflow,Bismarrck/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,asimshankar/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,jbedorf/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,alsrgv/tensorflow,gunan/tensorflow,asimshankar/tensorflow,chemelnucfin/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,kevin-coder/tensorflow-fork,xzturn/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,jhseu/tensorflow,gunan/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,theflofly/tensorflow,aldian/tensorflow,theflofly/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kevin-coder/tensorflow-fork,paolodedios/tensorflow,alsrgv/tensorflow,yongtang/tensorflow,yongtang/tensorflow,asimshankar/tensorflow,theflofly/tensorflow,jhseu/tensorflow,alsrgv/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,kevin-coder/tensorflow-fork,kevin-coder/tensorflow-fork,ghchinoy/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,hfp/tensorflow-xsmm,chemelnucfin/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,aam-at/tensorflow,apark263/tensorflow,jhseu/tensorflow,kevin-coder/tensorflow-fork,freedomtan/tensorflow,petewarden/tensorflow,yongtang/tensorflow,ghchinoy/tensorflow,renyi533/tensorflow,karllessard/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,jendap/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,apark263/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,jendap/tensorflow,paolodedios/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,jendap/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,DavidNorman/tensorflow,alsrgv/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,theflofly/tensorflow,arborh/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,chemelnucfin/tensorflow,davidzchen/tensorflow,apark263/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,aam-at/tensorflow,Bismarrck/tensorflow,karllessard/tensorflow,hfp/tensorflow-xsmm,xzturn/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,arborh/tensorflow,hfp/tensorflow-xsmm,apark263/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,hfp/tensorflow-xsmm,ppwwyyxx/tensorflow,jhseu/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,tensorflow/tensorflow,ageron/tensorflow,yongtang/tensorflow,alsrgv/tensorflow,ageron/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_saved_model,apark263/tensorflow,theflofly/tensorflow,theflofly/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,petewarden/tensorflow,jendap/tensorflow,kevin-coder/tensorflow-fork,freedomtan/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,sarvex/tensorflow,tensorflow/tensorflow,annarev/tensorflow,paolodedios/tensorflow,Bismarrck/tensorflow,sarvex/tensorflow,aldian/tensorflow