]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/Prototype/Component.java
3 public class Component
extends Module
14 // These are the libs we want to build with.
15 public Set
<LibInst
> buildLibs
;
17 public String
name() { return name
; }
19 public boolean autoBuild()
21 // buildLibs must contain a list of libInstances. We need to check that
22 // These libs meet certain criterea.
23 if(!duplicateLibClasses(buildLibs
).isEmpty())
25 // Error: The lib instance implement the same lib twice.
28 if(! libClassesProduced(buildLibs
).containsAll(consumesLibClasses
))
30 // We can not cover the libclasses consumed with these instances.
33 getConstructorOrder(buildLibs
);
34 getDestructorOrder(buildLibs
);
36 // Get PPI, Protocol, GUID, PCDs from the lib instances. These are all simple unions of
37 // the corresponding sets in the modules. There is no ordering needed.