Given the definition of a cookie is “a baked or cooked snack or dessert that is small, flat, and sweet” they are cookies. I would venture on to say that, technically speaking, a cake cut into small enough is a cookie. Moreover, a barbecue pizza (if small enough) also fits this criterion.