Home
last modified time | relevance | path

Searched refs:compiler (Results 1 – 25 of 43) sorted by relevance

12

/build/soong/rust/
Dcompiler.go27 func getEdition(compiler *baseCompiler) string {
28 return proptools.StringDefault(compiler.Properties.Edition, config.DefaultEdition)
31 func (compiler *baseCompiler) setNoStdlibs() {
32 compiler.Properties.No_stdlibs = proptools.BoolPtr(true)
123 func (compiler *baseCompiler) coverageOutputZipPath() android.OptionalPath {
127 var _ compiler = (*baseCompiler)(nil)
129 func (compiler *baseCompiler) inData() bool {
130 return compiler.location == InstallInData
133 func (compiler *baseCompiler) compilerProps() []interface{} {
134 return []interface{}{&compiler.Properties}
[all …]
Drust.go80 compiler compiler member
143 if mod.compiler != nil {
144 if _, ok := mod.compiler.(libraryInterface); ok {
156 if mod.compiler != nil {
157 if library, ok := mod.compiler.(libraryInterface); ok {
165 if mod.compiler != nil {
166 if library, ok := mod.compiler.(libraryInterface); ok {
174 if mod.compiler != nil {
175 if _, ok := mod.compiler.(libraryInterface); ok {
276 type compiler interface { interface
[all …]
Dcompiler_test.go91 "android_arm64_armv8-a_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
93 "android_arm_armv7-a-neon_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
95 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
Dprebuilt.go39 var _ compiler = (*prebuiltLibraryDecorator)(nil)
64 module.compiler = prebuilt
75 module.compiler = prebuilt
86 module.compiler = prebuilt
Dandroidmk.go79 if mod.compiler != nil {
80 mod.subAndroidMk(&ret, mod.compiler)
180 func (compiler *baseCompiler) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
184 ret.OutputFile = android.OptionalPathForPath(compiler.path)
187 path, file := filepath.Split(compiler.path.ToMakePath().String())
Dlibrary.go184 var _ compiler = (*libraryDecorator)(nil)
328 module.compiler = library
454 if m, ok := mctx.Module().(*Module); ok && m.compiler != nil {
455 switch library := m.compiler.(type) {
462 rlib.compiler.(libraryInterface).setRlib()
463 dylib.compiler.(libraryInterface).setDylib()
466 modules[0].(*Module).compiler.(libraryInterface).setRlib()
469 modules[0].(*Module).compiler.(libraryInterface).setDylib()
Dproc_macro.go38 var _ compiler = (*procMacroDecorator)(nil)
54 module.compiler = procMacro
Dbinary.go38 var _ compiler = (*binaryDecorator)(nil)
58 module.compiler = binary
Dproject_json.go102 if rModule.compiler == nil {
105 rustLib, ok := rModule.compiler.(*libraryDecorator)
DAndroid.bp16 "compiler.go",
Dtest.go75 module.compiler = test
/build/soong/cc/
Dcompiler.go216 var _ compiler = (*baseCompiler)(nil)
222 func (compiler *baseCompiler) Srcs() android.Paths {
223 return append(android.Paths{}, compiler.srcs...)
226 func (compiler *baseCompiler) appendCflags(flags []string) {
227 compiler.Properties.Cflags = append(compiler.Properties.Cflags, flags...)
230 func (compiler *baseCompiler) appendAsflags(flags []string) {
231 compiler.Properties.Asflags = append(compiler.Properties.Asflags, flags...)
234 func (compiler *baseCompiler) compilerProps() []interface{} {
235 return []interface{}{&compiler.Properties, &compiler.Proto}
238 func (compiler *baseCompiler) compilerInit(ctx BaseModuleContext) {}
[all …]
Dndk_library.go210 module.(*Module).compiler.(*stubDecorator).properties.ApiLevel = versionStrs[i]
217 if compiler, ok := m.compiler.(*stubDecorator); ok {
218 generateStubApiVariants(mctx, compiler)
387 module.compiler = stub
Dobject.go75 module.compiler = NewBaseCompiler()
78 module.compiler.appendCflags([]string{"-fno-addrsig"})
Dndk_prebuilt.go125 module.compiler = nil
143 module.compiler = nil
Dllndk_library.go188 module.compiler = stub
235 module.compiler = nil
DAndroid.bp45 "compiler.go",
Dtoolchain_library.go65 module.compiler = toolchainLibrary
Dcc.go378 type compiler interface { interface
490 compiler compiler member
796 if c.compiler != nil {
797 c.AddProperties(c.compiler.compilerProps()...)
913 if _, ok := c.compiler.(*stubDecorator); ok {
1495 if c.compiler != nil {
1496 flags = c.compiler.compilerFlags(ctx, flags, deps)
1554 if c.compiler != nil {
1555 objs = c.compiler.compile(ctx, flags, deps)
1614 if c.compiler != nil {
[all …]
Dprebuilt.go208 module.compiler = nil
380 module.compiler = nil
Dvendor_public_library.go152 module.compiler = stub
Dcompdb.go74 if compiledModule, ok := ccModule.compiler.(CompiledInterface); ok {
/build/make/core/
Drbe.mk60 …RBE_CXX := --labels=type=compile,lang=cpp,compiler=clang --env_var_whitelist=PWD --exec_strategy=$…
68 …$(strip $(JAVAC_WRAPPER) $(RBE_WRAPPER) --labels=type=compile,lang=java,compiler=javac --exec_stra…
72 …R8_WRAPPER := $(strip $(RBE_WRAPPER) --labels=type=compile,compiler=r8 --exec_strategy=$(r8_exec_s…
76 …D8_WRAPPER := $(strip $(RBE_WRAPPER) --labels=type=compile,compiler=d8 --exec_strategy=$(d8_exec_s…
Ddefinitions.mk1141 define transform-cpp-to-o-compiler-args
1165 $(hide) $(call-clang-tidy) $< -- $(transform-cpp-to-o-compiler-args)
1180 $(transform-cpp-to-o-compiler-args) \
1191 define transform-c-or-s-to-o-compiler-args
1202 define transform-c-to-o-compiler-args
1203 $(call transform-c-or-s-to-o-compiler-args, \
1211 $(hide) $(call-clang-tidy) $< -- $(transform-c-to-o-compiler-args)
1226 $(transform-c-to-o-compiler-args) \
1235 $(call transform-c-or-s-to-o-compiler-args, $(PRIVATE_ASFLAGS)) \
1264 define transform-host-cpp-to-o-compiler-args
[all …]
/build/make/target/board/
Dgo_defaults_common.prop29 # set the compiler filter for shared apks to quicken.

12