I'd say they wouldn't shut down everything but may stop adding new features.
Android was a hedge against Apple. GCP is a hedge against AWS. I don't see Google putting the brakes on GCP anytime soon.
Apple makes more from Google in mobile than Google makes from Android.
https://www.google.com/amp/s/mobile.reuters.com/article/amp/...
Google's Android operating system has generated revenue of about $31 billion and profit of $22 billion since its release, an Oracle Corp lawyer told a U.S. court hearing the software company's copyright lawsuit against Google.