/aosp12/build/soong/rust/ |
H A D | compiler.go | 35 func (compiler *baseCompiler) edition() string { 39 func (compiler *baseCompiler) setNoStdlibs() { 43 func (compiler *baseCompiler) disableLints() { 48 return &baseCompiler{ 158 type baseCompiler struct { struct 179 func (compiler *baseCompiler) Disabled() bool { 183 func (compiler *baseCompiler) SetDisabled() { 191 func (compiler *baseCompiler) preferRlib() bool { 206 var _ compiler = (*baseCompiler)(nil) 208 func (compiler *baseCompiler) inData() bool { [all …]
|
H A D | binary.go | 35 *baseCompiler anonMember 58 baseCompiler: NewBaseCompiler("bin", "", InstallInSystem), 67 flags = binary.baseCompiler.compilerFlags(ctx, flags) 87 deps = binary.baseCompiler.compilerDeps(ctx, deps) 103 return append(binary.baseCompiler.compilerProps(), 113 …return Bool(binary.baseCompiler.Properties.Prefer_rlib) || Bool(binary.Properties.Static_executabl… 118 srcPath, _ := srcPathFromModuleSrcs(ctx, binary.baseCompiler.Properties.Srcs) 151 return binary.baseCompiler.stdLinkage(ctx)
|
H A D | proc_macro.go | 29 *baseCompiler anonMember 50 baseCompiler: NewBaseCompiler("lib", "lib64", InstallInSystem), 62 return append(procMacro.baseCompiler.compilerProps(), 70 srcPath, _ := srcPathFromModuleSrcs(ctx, procMacro.baseCompiler.Properties.Srcs) 76 stem := procMacro.baseCompiler.getStemWithoutSuffix(ctx) 79 return stem + String(procMacro.baseCompiler.Properties.Suffix)
|
H A D | project_json.go | 146 func crateSource(ctx android.SingletonContext, rModule *Module, comp *baseCompiler) (string, bool) { argument 196 func isModuleSupported(ctx android.SingletonContext, module android.Module) (*Module, *baseCompiler… 204 var comp *baseCompiler 207 comp = c.baseCompiler 209 comp = c.baseCompiler 211 comp = c.binaryDecorator.baseCompiler 221 …ingleton) addCrate(ctx android.SingletonContext, rModule *Module, comp *baseCompiler) (int, bool) { argument
|
H A D | fuzz.go | 59 fuzz.binaryDecorator.baseCompiler.dir = "fuzz" 60 fuzz.binaryDecorator.baseCompiler.dir64 = "fuzz" 61 fuzz.binaryDecorator.baseCompiler.location = InstallInData 286 fuzz.binaryDecorator.baseCompiler.dir = filepath.Join( 288 fuzz.binaryDecorator.baseCompiler.dir64 = filepath.Join( 290 fuzz.binaryDecorator.baseCompiler.install(ctx)
|
H A D | library.go | 94 *baseCompiler anonMember 241 } else if library.baseCompiler.preferRlib() { 387 baseCompiler: NewBaseCompiler("lib", "lib64", InstallInSystem), 397 return append(library.baseCompiler.compilerProps(), 404 deps = library.baseCompiler.compilerDeps(ctx, deps) 421 flags = library.baseCompiler.compilerFlags(ctx, flags) 518 path, _ := srcPathFromModuleSrcs(ctx, library.baseCompiler.Properties.Srcs) 539 stem := library.baseCompiler.getStemWithoutSuffix(ctx) 542 return stem + String(library.baseCompiler.Properties.Suffix) 548 library.baseCompiler.install(ctx)
|
H A D | benchmark.go | 64 baseCompiler: NewBaseCompiler("nativebench", "nativebench64", InstallInData), 124 benchmark.baseCompiler.relative = ctx.ModuleName() 125 } else if String(benchmark.baseCompiler.Properties.Relative_install_path) == "" {
|
H A D | test.go | 99 baseCompiler: NewBaseCompiler("nativetest", "nativetest64", InstallInData), 127 test.baseCompiler.relative = ctx.ModuleName() 128 } else if String(test.baseCompiler.Properties.Relative_install_path) == "" {
|
H A D | androidmk.go | 89 ctx.SubAndroidMk(ret, binary.baseCompiler) 129 ctx.SubAndroidMk(ret, library.baseCompiler) 147 ctx.SubAndroidMk(ret, procMacro.baseCompiler) 179 func (compiler *baseCompiler) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
|
H A D | prebuilt.go | 113 deps = prebuilt.baseCompiler.compilerDeps(ctx, deps)
|
H A D | rust.go | 1272 return android.OptionalPathForPath(binary.baseCompiler.path)
|
/aosp12/build/soong/cc/ |
H A D | image.go | 637 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs, 638 lib.baseCompiler.Properties.Target.Vendor.Srcs...) 640 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs, 643 …lib.baseCompiler.Properties.Exclude_generated_sources = append(lib.baseCompiler.Properties.Exclude… 650 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs, 653 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs, 656 …lib.baseCompiler.Properties.Exclude_generated_sources = append(lib.baseCompiler.Properties.Exclude… 663 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs, 666 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs, 669 …lib.baseCompiler.Properties.Exclude_generated_sources = append(lib.baseCompiler.Properties.Exclude… [all …]
|
H A D | compiler.go | 215 func NewBaseCompiler() *baseCompiler { 216 return &baseCompiler{} 219 type baseCompiler struct { struct 237 var _ compiler = (*baseCompiler)(nil) 243 func (compiler *baseCompiler) Srcs() android.Paths { 247 func (compiler *baseCompiler) appendCflags(flags []string) { 251 func (compiler *baseCompiler) appendAsflags(flags []string) { 259 func (compiler *baseCompiler) includeBuildDirectory() bool { 282 func (compiler *baseCompiler) useApexNameMacro() bool { 591 func (compiler *baseCompiler) hasSrcExt(ext string) bool { [all …]
|
H A D | library.go | 520 *baseCompiler anonMember 845 if len(library.baseCompiler.Properties.Srcs) > 0 { 879 srcs, library.baseCompiler.pathDeps, library.baseCompiler.cFlagsDeps)) 883 srcs, library.baseCompiler.pathDeps, library.baseCompiler.cFlagsDeps)) 1013 deps = library.baseCompiler.compilerDeps(ctx, deps) 1518 if library.baseCompiler.hasSrcExt(".aidl") { 1529 if library.baseCompiler.hasSrcExt(".proto") { 1543 if library.baseCompiler.hasSrcExt(".sysprop") { 1903 baseCompiler: NewBaseCompiler(), 1940 sharedCompiler.baseCompiler.Properties.Srcs [all …]
|
H A D | test.go | 181 return test.baseCompiler.Properties.Srcs 194 test.baseCompiler.Properties.Srcs = []string{src} 199 test.baseCompiler.Properties.Srcs = nil 328 *baseCompiler anonMember 472 baseCompiler: NewBaseCompiler(),
|
H A D | ndk_library.go | 163 c.baseCompiler.compilerInit(ctx) 203 flags = stub.baseCompiler.compilerFlags(ctx, flags, deps)
|
H A D | fuzz.go | 95 *baseCompiler anonMember 334 baseCompiler: NewBaseCompiler(),
|
H A D | bp2build.go | 239 if c, ok := module.compiler.(*baseCompiler); ok && c.includeBuildDirectory() {
|