Not exactly, according to the OECD.
https://stats.oecd.org/glossary/detail.asp?ID=1163
> Gross domestic product is an aggregate measure of production equal to the sum of the gross values ... or the sum of primary incomes distributed by resident producer units.
I guess it's more nuanced, but I don't have a PhD in economics like the author.