Commit e602b1cd authored by Chang Xing's avatar Chang Xing
Browse files

Fix boot classes init when compiling app image

Classes resident in boot library should not be initialized and stored in
app image anyway while compiling app image.

Fixed by checking the location of classes in compiler driver when
initializing classes and is compiling app image.

The InitializeDependencies is advanced which makes TryInitialize become
the only entrypoint for app image, and since boot image doesn't need
this function, the behavior for compiling boot image should stay the
same.

Bug: 62715577
Test: not covered now, will be fixed and test by another CL.
Change-Id: I8e683e6b14f1402dba8ef5c4b0f5fa936a343d8c
parent 222a480d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment