Stubs generation should not depend on core_platform

Test: m droid
Change-Id: Ia3835306970445b6f224b1c329dc4e63b845e544
2 files changed