native: move to cc files