Home
last modified time | relevance | path

Searched refs:baseCompiler (Results 1 – 16 of 16) sorted by relevance

/build/soong/rust/
Dcompiler.go27 func getEdition(compiler *baseCompiler) string { argument
31 func (compiler *baseCompiler) setNoStdlibs() {
35 func NewBaseCompiler(dir, dir64 string, location installLocation) *baseCompiler {
36 return &baseCompiler{
106 type baseCompiler struct { struct
123 func (compiler *baseCompiler) coverageOutputZipPath() android.OptionalPath { argument
127 var _ compiler = (*baseCompiler)(nil)
129 func (compiler *baseCompiler) inData() bool { argument
133 func (compiler *baseCompiler) compilerProps() []interface{} { argument
137 func (compiler *baseCompiler) featuresToFlags(features []string) []string { argument
[all …]
Dproc_macro.go29 *baseCompiler anonMember
50 baseCompiler: NewBaseCompiler("lib", "lib64", InstallInSystem),
60 return append(procMacro.baseCompiler.compilerProps(),
68 srcPath, _ := srcPathFromModuleSrcs(ctx, procMacro.baseCompiler.Properties.Srcs)
77 stem := procMacro.baseCompiler.getStemWithoutSuffix(ctx)
80 return stem + String(procMacro.baseCompiler.Properties.Suffix)
Dbinary.go33 *baseCompiler anonMember
55 baseCompiler: NewBaseCompiler("bin", "", InstallInSystem),
68 flags = binary.baseCompiler.compilerFlags(ctx, flags)
86 deps = binary.baseCompiler.compilerDeps(ctx, deps)
98 return append(binary.baseCompiler.compilerProps(),
109 srcPath, _ := srcPathFromModuleSrcs(ctx, binary.baseCompiler.Properties.Srcs)
Dtest.go71 baseCompiler: NewBaseCompiler("nativetest", "nativetest64", InstallInData),
94 test.baseCompiler.relative = ctx.ModuleName()
95 } else if String(test.baseCompiler.Properties.Relative_install_path) == "" {
Dlibrary.go75 *baseCompiler anonMember
324 baseCompiler: NewBaseCompiler("lib", "lib64", InstallInSystem),
334 return append(library.baseCompiler.compilerProps(),
340 deps = library.baseCompiler.compilerDeps(ctx, deps)
357 flags = library.baseCompiler.compilerFlags(ctx, flags)
371 srcPath, _ := srcPathFromModuleSrcs(ctx, library.baseCompiler.Properties.Srcs)
427 stem := library.baseCompiler.getStemWithoutSuffix(ctx)
430 return stem + String(library.baseCompiler.Properties.Suffix)
Dandroidmk.go90 ctx.subAndroidMk(ret, binary.baseCompiler)
124 ctx.subAndroidMk(ret, library.baseCompiler)
152 ctx.subAndroidMk(ret, procMacro.baseCompiler)
180 func (compiler *baseCompiler) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
Dproject_json.go117 src := rustLib.baseCompiler.Properties.Srcs[0]
119 crate.Edition = getEdition(rustLib.baseCompiler)
Dprebuilt.go109 deps = prebuilt.baseCompiler.compilerDeps(ctx, deps)
/build/soong/cc/
Dcompiler.go196 func NewBaseCompiler() *baseCompiler {
197 return &baseCompiler{}
200 type baseCompiler struct { struct
216 var _ compiler = (*baseCompiler)(nil)
222 func (compiler *baseCompiler) Srcs() android.Paths { argument
226 func (compiler *baseCompiler) appendCflags(flags []string) { argument
230 func (compiler *baseCompiler) appendAsflags(flags []string) { argument
234 func (compiler *baseCompiler) compilerProps() []interface{} { argument
238 func (compiler *baseCompiler) compilerInit(ctx BaseModuleContext) {} argument
240 func (compiler *baseCompiler) compilerDeps(ctx DepsContext, deps Deps) Deps { argument
[all …]
Dlibrary.go384 *baseCompiler anonMember
553 flags = library.baseCompiler.compilerFlags(ctx, flags, deps)
641 if len(library.baseCompiler.Properties.Srcs) > 0 {
662 total_length := len(library.baseCompiler.Properties.Srcs) + len(deps.GeneratedSources) +
668 objs := library.baseCompiler.compile(ctx, flags, deps)
675 srcs, library.baseCompiler.pathDeps, library.baseCompiler.cFlagsDeps))
679 srcs, library.baseCompiler.pathDeps, library.baseCompiler.cFlagsDeps))
774 deps = library.baseCompiler.compilerDeps(ctx, deps)
1135 if library.baseCompiler.hasSrcExt(".aidl") {
1140 library.reexportDeps(library.baseCompiler.pathDeps...)
[all …]
Dvendor_public_library.go82 stub.baseCompiler.compilerInit(ctx)
101 flags = stub.baseCompiler.compilerFlags(ctx, flags, deps)
Dtest.go165 return test.baseCompiler.Properties.Srcs
178 test.baseCompiler.Properties.Srcs = []string{src}
183 test.baseCompiler.Properties.Srcs = nil
311 *baseCompiler anonMember
433 baseCompiler: NewBaseCompiler(),
Dcc.go3010 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs,
3011 lib.baseCompiler.Properties.Target.Vendor.Srcs...)
3013 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs,
3014 lib.baseCompiler.Properties.Target.Vendor.Exclude_srcs...)
3016 …lib.baseCompiler.Properties.Exclude_generated_sources = append(lib.baseCompiler.Properties.Exclude…
3017 lib.baseCompiler.Properties.Target.Vendor.Exclude_generated_sources...)
3023 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs,
3024 lib.baseCompiler.Properties.Target.Recovery.Srcs...)
3026 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs,
3027 lib.baseCompiler.Properties.Target.Recovery.Exclude_srcs...)
[all …]
Dndk_library.go225 c.baseCompiler.compilerInit(ctx)
264 flags = stub.baseCompiler.compilerFlags(ctx, flags, deps)
Dllndk_library.go80 flags = stub.baseCompiler.compilerFlags(ctx, flags, deps)
Dfuzz.go84 *baseCompiler anonMember
297 baseCompiler: NewBaseCompiler(),