Home
last modified time | relevance | path

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

/build/soong/rust/
Dcompiler.go35 func (compiler *baseCompiler) edition() string {
39 func (compiler *baseCompiler) setNoStdlibs() {
43 func (compiler *baseCompiler) disableLints() {
47 func NewBaseCompiler(dir, dir64 string, location installLocation) *baseCompiler {
48 return &baseCompiler{
158 type baseCompiler struct { struct
179 func (compiler *baseCompiler) Disabled() bool { argument
183 func (compiler *baseCompiler) SetDisabled() { argument
187 func (compiler *baseCompiler) coverageOutputZipPath() android.OptionalPath { argument
191 func (compiler *baseCompiler) preferRlib() bool { argument
[all …]
Dproc_macro.go29 *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)
Dproject_json.go146 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) {
Dbenchmark.go64 baseCompiler: NewBaseCompiler("nativebench", "nativebench64", InstallInData),
124 benchmark.baseCompiler.relative = ctx.ModuleName()
125 } else if String(benchmark.baseCompiler.Properties.Relative_install_path) == "" {
Dfuzz.go59 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)
Dtest.go99 baseCompiler: NewBaseCompiler("nativetest", "nativetest64", InstallInData),
127 test.baseCompiler.relative = ctx.ModuleName()
128 } else if String(test.baseCompiler.Properties.Relative_install_path) == "" {
Dlibrary.go94 *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)
Dandroidmk.go89 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) {
Dprebuilt.go113 deps = prebuilt.baseCompiler.compilerDeps(ctx, deps)
Drust.go1272 return android.OptionalPathForPath(binary.baseCompiler.path)
/build/soong/cc/
Dimage.go637 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,
641 lib.baseCompiler.Properties.Target.Vendor.Exclude_srcs...)
643 …lib.baseCompiler.Properties.Exclude_generated_sources = append(lib.baseCompiler.Properties.Exclude…
644 lib.baseCompiler.Properties.Target.Vendor.Exclude_generated_sources...)
650 lib.baseCompiler.Properties.Srcs = append(lib.baseCompiler.Properties.Srcs,
651 lib.baseCompiler.Properties.Target.Product.Srcs...)
653 lib.baseCompiler.Properties.Exclude_srcs = append(lib.baseCompiler.Properties.Exclude_srcs,
654 lib.baseCompiler.Properties.Target.Product.Exclude_srcs...)
[all …]
Dcompiler.go215 func NewBaseCompiler() *baseCompiler {
216 return &baseCompiler{}
219 type baseCompiler struct { struct
237 var _ compiler = (*baseCompiler)(nil)
243 func (compiler *baseCompiler) Srcs() android.Paths { argument
247 func (compiler *baseCompiler) appendCflags(flags []string) { argument
251 func (compiler *baseCompiler) appendAsflags(flags []string) { argument
255 func (compiler *baseCompiler) compilerProps() []interface{} { argument
259 func (compiler *baseCompiler) includeBuildDirectory() bool { argument
263 func (compiler *baseCompiler) compilerInit(ctx BaseModuleContext) {} argument
[all …]
Dlibrary.go520 *baseCompiler anonMember
770 flags = library.baseCompiler.compilerFlags(ctx, flags, deps)
845 if len(library.baseCompiler.Properties.Srcs) > 0 {
866 totalLength := len(library.baseCompiler.Properties.Srcs) + len(deps.GeneratedSources) +
872 objs := library.baseCompiler.compile(ctx, flags, deps)
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") {
1522 library.reexportDeps(library.baseCompiler.aidlOrderOnlyDeps...)
[all …]
Dtest.go181 return test.baseCompiler.Properties.Srcs
194 test.baseCompiler.Properties.Srcs = []string{src}
199 test.baseCompiler.Properties.Srcs = nil
328 *baseCompiler anonMember
472 baseCompiler: NewBaseCompiler(),
Dndk_library.go163 c.baseCompiler.compilerInit(ctx)
203 flags = stub.baseCompiler.compilerFlags(ctx, flags, deps)
Dfuzz.go95 *baseCompiler anonMember
334 baseCompiler: NewBaseCompiler(),
Dbp2build.go239 if c, ok := module.compiler.(*baseCompiler); ok && c.includeBuildDirectory() {