I would disagree extremely strongly that it is common in Japan, at least among anyone under the age of 80.

I've been struck by the number of very well-educated, financially successful Indian immigrants in Canada who express a preference for baby boys. The cultural desire for boys runs very deep.