Does word "war" have the same meaning in the following two sentences?

The "war on drugs" is a campaign against the use of narcotic drugs.

In the US, conservatives rail against the "war on Christmas".
the same meaning