Home | History | Annotate | Download | only in cc

Lines Matching refs:vndk

26 	Vndk struct {
27 // declared as a VNDK or VNDK-SP module. The vendor variant
30 // `vendor_available: true` must set to together for VNDK
34 // declared as a VNDK-SP module, which is a subset of VNDK.
36 // `vndk: { enabled: true }` must set together.
38 // All these modules are allowed to link to VNDK-SP or LL-NDK
42 // the module is VNDK-core and can link to other VNDK-core,
43 // VNDK-SP or LL-NDK modules only.
52 func (vndk *vndkdep) props() []interface{} {
53 return []interface{}{&vndk.Properties}
56 func (vndk *vndkdep) begin(ctx BaseModuleContext) {}
58 func (vndk *vndkdep) deps(ctx BaseModuleContext, deps Deps) Deps {
62 func (vndk *vndkdep) isVndk() bool {
63 return Bool(vndk.Properties.Vndk.Enabled)
66 func (vndk *vndkdep) isVndkSp() bool {
67 return Bool(vndk.Properties.Vndk.Support_system_process)
70 func (vndk *vndkdep) typeName() string {
71 if !vndk.isVndk() {
74 if !vndk.isVndkSp() {
75 return "native:vendor:vndk"
80 func (vndk *vndkdep) vndkCheckLinkType(ctx android.ModuleContext, to *Module) {
91 vndk.typeName(), to.Name())
97 if (vndk.isVndk() && !to.vndkdep.isVndk()) || (vndk.isVndkSp() && !to.vndkdep.isVndkSp()) {
99 vndk.typeName(), to.Name(), to.vndkdep.typeName())
111 // gather list of vndk-core, vndk-sp, and ll-ndk libs