Lines Matching refs:compiler
153 compiler compiler member
192 return mod.sanitize != nil && mod.compiler != nil
196 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok {
205 if mod.sourceProvider != nil && (mod.compiler == nil || mod.compiler.Disabled()) {
223 if mod.compiler != nil {
224 if _, ok := mod.compiler.(libraryInterface); ok {
232 if mod.compiler != nil {
233 if library, ok := mod.compiler.(libraryInterface); ok {
241 if mod.compiler != nil {
242 if library, ok := mod.compiler.(libraryInterface); ok {
250 if mod.compiler != nil {
251 if library, ok := mod.compiler.(libraryInterface); ok {
259 if mod.compiler != nil {
260 if library, ok := mod.compiler.(libraryInterface); ok {
268 if binary, ok := mod.compiler.(binaryInterface); ok {
287 if mod.compiler != nil {
288 if lib, ok := mod.compiler.(libraryInterface); ok {
300 if mod.compiler != nil {
301 return mod.compiler.relativeInstallPath()
454 type compiler interface { interface
593 return mod.compiler.crateName()
597 if mod.compiler != nil {
598 if _, ok := mod.compiler.(libraryInterface); ok {
606 if mod.compiler != nil {
609 if lib, ok := mod.compiler.(libraryInterface); ok && (lib.buildShared() || lib.buildStatic()) {
617 if mod.compiler != nil {
618 return mod.compiler.unstrippedOutputFilePath()
624 if mod.compiler != nil {
625 if library, ok := mod.compiler.(*libraryDecorator); ok {
633 if mod.compiler != nil {
634 if library, ok := mod.compiler.(libraryInterface); ok {
643 if mod.compiler != nil {
644 if library, ok := mod.compiler.(libraryInterface); ok {
653 if mod.compiler != nil {
654 if library, ok := mod.compiler.(libraryInterface); ok {
662 if mod.compiler != nil {
663 if library, ok := mod.compiler.(libraryInterface); ok {
679 if mod.compiler != nil {
712 if mod.compiler != nil {
713 mod.AddProperties(mod.compiler.compilerProps()...)
811 return mod.compiler != nil && mod.compiler.nativeCoverage()
815 return mod.compiler != nil &&
817 mod.compiler.everInstallable()
825 if pm, ok := mod.compiler.(procMacroInterface); ok {
874 if mod.compiler != nil {
875 flags = mod.compiler.compilerFlags(ctx, flags)
876 flags = mod.compiler.cfgFlags(ctx, flags)
877 flags = mod.compiler.featureFlags(ctx, flags)
895 if mod.compiler.(libraryInterface).source() {
900 sourceLib := sourceMod.(*Module).compiler.(*libraryDecorator)
905 if mod.compiler != nil && !mod.compiler.Disabled() {
906 mod.compiler.initialize(ctx)
907 outputFile := mod.compiler.compile(ctx, flags, deps)
912 …bloaty.MeasureSizeForPaths(ctx, mod.compiler.strippedOutputFilePath(), android.OptionalPathForPath…
914 mod.docTimestampFile = mod.compiler.rustdoc(ctx, flags, deps)
921 if lib, ok := mod.compiler.(snapshotLibraryInterface); ok {
943 mod.compiler.install(ctx)
956 if mod.compiler != nil {
957 deps = mod.compiler.compilerDeps(ctx, deps)
1055 if p, ok := mod.compiler.(rustPrebuilt); ok {
1096 dylib, ok := rustDep.compiler.(libraryInterface)
1105 rlib, ok := rustDep.compiler.(libraryInterface)
1148 if lib, ok := mod.compiler.(exportedFlagsProducer); ok {
1243 if lib, ok := mod.compiler.(exportedFlagsProducer); ok && exportDep {
1323 if mod.compiler == nil {
1326 return mod.compiler.inData()
1359 if mod.compiler.stdLinkage(ctx) == RlibLinkage {
1365 if lib, ok := mod.compiler.(libraryInterface); !ok || !lib.sysroot() {
1386 if deps.Rustlibs != nil && !mod.compiler.Disabled() {
1387 autoDep := mod.compiler.(autoDeppable).autoDep(ctx)
1409 if mod.compiler.stdLinkage(ctx) == RlibLinkage {
1504 if p, ok := mod.compiler.(interface {
1525 if binary, ok := mod.compiler.(*binaryDecorator); ok {
1527 } else if pm, ok := mod.compiler.(*procMacroDecorator); ok {
1600 if mod.compiler != nil {
1601 if lib, ok := mod.compiler.(libraryInterface); ok && (lib.shared() || lib.dylib()) {
1604 if _, ok := mod.compiler.(*binaryDecorator); ok {