Remove has_stubs attr from cc_library_shared has_stubs is always true if stubs_symbol_file is defined. Otherwise, it's false. Therefore, we can change cc_library_shared to rely only on stubs_symbol_file attr. Test: bazel analysis tests Bug: 260771171 Change-Id: Ib2df06bd08236dc545c001ea8ebc17f33357dd11