The work that Google is doing in China is indirectly benefiting the Chinese military. Indirect may not be a full characterization of the way it is. It's more of a direct benefit to the Chinese military.
Gen. Joseph F. Dunford Jr., USMC, Says the Military's Mission in Afghanistan Will Continue to Change As the War Winds Down / Budget Uncertainty Continues in 2014 / Be Tax-Savvy - (Military Officer - December 2013)