Merge pull request #1162 from foxeng/fix-static-only build: Support BUILD_SHARED=no GitOrigin-RevId: 851ef4b23c7cbf4ceb2ba1099666a8b5ec4fa195 Change-Id: I98c5fabb4d1a75cc980b8a1e49d0909ab8068f8a