In a medium size bowl, mix together the flour, cocoa powder, salt and baking soda. In the bowl of a mixer add the butter and sugar and beat together until light and fluffy, add the egg and beat until smooth.
Preheat oven to 375 F degrees.
Add the shredded coconut and continue beating until everything is well incorporated.
Beat the cream cheese with the ¾ cup of sugar until light and fluffy. Add the egg yolk, and vanilla extract and continue mixing for another minute.