Except now both Kirin X90 and HarmonyOS are their own thing. Just like Android itself is based off Linux, but is its own thing now too. What matters is that the chips and the OS are developed domestically in China without reliance on British or American companies.
This will make some people very angry because, according to them, you are supposed to close up shop, not build internal capacity and capabilities, when America sanctions you.