Lines Matching refs:ok
165 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok {
193 if _, ok := mod.compiler.(libraryInterface); ok {
202 if library, ok := mod.compiler.(libraryInterface); ok {
211 if library, ok := mod.compiler.(libraryInterface); ok {
220 if library, ok := mod.compiler.(libraryInterface); ok {
229 if library, ok := mod.compiler.(libraryInterface); ok {
238 if _, ok := mod.compiler.(*binaryDecorator); ok {
252 if _, ok := mod.compiler.(libraryInterface); ok {
538 if _, ok := mod.compiler.(*libraryDecorator); ok {
549 if lib, ok := mod.compiler.(libraryInterface); ok && (lib.buildShared() || lib.buildStatic()) {
558 if library, ok := mod.compiler.(*libraryDecorator); ok {
567 if library, ok := mod.compiler.(libraryInterface); ok {
577 if library, ok := mod.compiler.(libraryInterface); ok {
587 if library, ok := mod.compiler.(libraryInterface); ok {
596 if library, ok := mod.compiler.(libraryInterface); ok {
886 tag, ok := depTag.(dependencyTag)
887 return ok && tag == dylibDepTag
891 tag, ok := depTag.(dependencyTag)
892 return ok && tag == rlibDepTag
935 if rustDep, ok := dep.(*Module); ok && !rustDep.CcLibraryInterface() {
941 dylib, ok := rustDep.compiler.(libraryInterface)
942 if !ok || !dylib.dylib() {
950 rlib, ok := rustDep.compiler.(libraryInterface)
951 if !ok || !rlib.rlib() {
996 if lib, ok := mod.compiler.(exportedFlagsProducer); ok {
1001 } else if ccDep, ok := dep.(cc.LinkableInterface); ok {
1004 if _, ok := ccDep.(*Module); !ok {
1027 if libName, ok := libNameFromFilePath(linkObject.Path()); ok {
1069 if lib, ok := mod.compiler.(exportedFlagsProducer); ok && exportDep {
1075 if srcDep, ok := dep.(android.SourceFileProducer); ok {
1167 if lib, ok := mod.compiler.(libraryInterface); !ok || !lib.sysroot() {
1225 if bindgen, ok := mod.sourceProvider.(*bindgenDecorator); ok &&
1236 if mod, ok := ctx.Module().(*Module); ok && mod.Enabled() {
1251 if p, ok := mod.compiler.(interface {
1253 }); ok {
1271 if binary, ok := mod.compiler.(*binaryDecorator); ok {
1312 if ccm, ok := dep.(*cc.Module); ok {
1345 if lib, ok := mod.compiler.(*libraryDecorator); ok && (lib.shared() || lib.dylib()) {
1348 if _, ok := mod.compiler.(*binaryDecorator); ok {