Home
last modified time | relevance | path

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

12

/build/soong/rust/
Dcompiler.go35 func (compiler *baseCompiler) edition() string {
36 return proptools.StringDefault(compiler.Properties.Edition, config.DefaultEdition)
39 func (compiler *baseCompiler) setNoStdlibs() {
40 compiler.Properties.No_stdlibs = proptools.BoolPtr(true)
43 func (compiler *baseCompiler) disableLints() {
44 compiler.Properties.Lints = proptools.StringPtr("none")
179 func (compiler *baseCompiler) Disabled() bool {
183 func (compiler *baseCompiler) SetDisabled() {
187 func (compiler *baseCompiler) coverageOutputZipPath() android.OptionalPath {
191 func (compiler *baseCompiler) preferRlib() bool {
[all …]
Drust.go117 compiler compiler member
154 return mod.sanitize != nil && mod.compiler != nil
158 if mod.compiler != nil {
159 return mod.compiler.isDependencyRoot()
165 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok {
174 if mod.sourceProvider != nil && (mod.compiler == nil || mod.compiler.Disabled()) {
192 if mod.compiler != nil {
193 if _, ok := mod.compiler.(libraryInterface); ok {
201 if mod.compiler != nil {
202 if library, ok := mod.compiler.(libraryInterface); ok {
[all …]
Dandroidmk.go71 if mod.compiler != nil && !mod.compiler.Disabled() {
72 mod.SubAndroidMk(&ret, mod.compiler)
179 func (compiler *baseCompiler) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
180 if compiler.path == (android.InstallPath{}) {
188 ret.OutputFile = android.OptionalPathForPath(compiler.path)
189 } else if compiler.strippedOutputFile.Valid() {
191 ret.OutputFile = compiler.strippedOutputFile
196 path, file := filepath.Split(compiler.path.ToMakePath().String())
Dprebuilt.go39 var _ compiler = (*prebuiltLibraryDecorator)(nil)
64 module.compiler = prebuilt
75 module.compiler = prebuilt
86 module.compiler = prebuilt
Dlibrary.go247 var _ compiler = (*libraryDecorator)(nil)
391 module.compiler = library
585 if !ok || m.compiler == nil {
588 library, ok := m.compiler.(libraryInterface)
618 v.(*Module).compiler.(libraryInterface).setRlib()
620 v.(*Module).compiler.(libraryInterface).setDylib()
627 v.(*Module).compiler.(libraryInterface).setSource()
630 v.(*Module).compiler.SetDisabled()
650 if m, ok := mctx.Module().(*Module); ok && m.compiler != nil && !m.compiler.Disabled() {
651 switch library := m.compiler.(type) {
[all …]
Dproject_json.go88 rustLib, ok := rModule.compiler.(*libraryDecorator)
111 rustLib, ok := rModule.compiler.(*libraryDecorator)
131 variantLib, _ := rVariant.compiler.(*libraryDecorator)
201 if rModule.compiler == nil {
205 switch c := rModule.compiler.(type) {
Dproc_macro.go38 var _ compiler = (*procMacroDecorator)(nil)
56 module.compiler = procMacro
Dcompiler_test.go114 "android_arm64_armv8-a_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
116 "android_arm_armv7-a-neon_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
118 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
Dsanitize.go149 if binary, ok := mod.compiler.(*binaryDecorator); ok {
285 if lib, ok := mod.compiler.(libraryInterface); ok {
309 if lib, ok := mod.compiler.(libraryInterface); ok {
311 } else if binary, ok := mod.compiler.(*binaryDecorator); ok {
Dtest_test.go39 dataPaths := testingModule.Module().(*Module).compiler.(*testDecorator).dataPaths()
DAndroid.bp22 "compiler.go",
Dfuzz.go44 var _ compiler = (*binaryDecorator)(nil)
63 module.compiler = fuzz
139 fuzzModule, ok := rustModule.compiler.(*fuzzDecorator)
Dimage.go216 if lib, ok := mod.compiler.(libraryInterface); !ok || (ok && lib.buildShared()) {
231 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok {
Dsource_provider.go75 module.compiler = library
Dbenchmark.go68 module.compiler = benchmark
Dtest.go103 module.compiler = test
Dbuilder.go170 moduleGenDir := ctx.RustModule().compiler.CargoOutDir()
238 moduleGenDir := ctx.RustModule().compiler.CargoOutDir()
/build/soong/cc/
Dcompiler.go237 var _ compiler = (*baseCompiler)(nil)
243 func (compiler *baseCompiler) Srcs() android.Paths {
244 return append(android.Paths{}, compiler.srcs...)
247 func (compiler *baseCompiler) appendCflags(flags []string) {
248 compiler.Properties.Cflags = append(compiler.Properties.Cflags, flags...)
251 func (compiler *baseCompiler) appendAsflags(flags []string) {
252 compiler.Properties.Asflags = append(compiler.Properties.Asflags, flags...)
255 func (compiler *baseCompiler) compilerProps() []interface{} {
256 return []interface{}{&compiler.Properties, &compiler.Proto}
259 func (compiler *baseCompiler) includeBuildDirectory() bool {
[all …]
Dbp2build.go73 if lib, ok := module.compiler.(*libraryDecorator); ok {
98 lib, ok := module.compiler.(*libraryDecorator)
136 lib, ok := module.compiler.(*libraryDecorator)
223 for _, props := range module.compiler.compilerProps() {
239 if c, ok := module.compiler.(*baseCompiler); ok && c.includeBuildDirectory() {
241 } else if c, ok := module.compiler.(*libraryDecorator); ok && c.includeBuildDirectory() {
Dobject.go102 module.compiler = NewBaseCompiler()
106 module.compiler.appendCflags([]string{"-fno-addrsig"})
153 if m.compiler == nil {
Dndk_prebuilt.go124 module.compiler = nil
142 module.compiler = nil
DAndroid.bp54 "compiler.go",
Dimage.go636 if lib, ok := m.compiler.(*libraryDecorator); ok {
649 if lib, ok := m.compiler.(*libraryDecorator); ok {
662 if lib, ok := m.compiler.(*libraryDecorator); ok {
675 if lib, ok := m.compiler.(*libraryDecorator); ok {
Dtoolchain_library.go64 module.compiler = toolchainLibrary
/build/make/core/
Drbe.mk66 …RBE_CXX := --labels=type=compile,lang=cpp,compiler=clang --env_var_allowlist=PWD --exec_strategy=$…
74 …$(strip $(JAVAC_WRAPPER) $(RBE_WRAPPER) --labels=type=compile,lang=java,compiler=javac --exec_stra…
78 …R8_WRAPPER := $(strip $(RBE_WRAPPER) --labels=type=compile,compiler=r8 --exec_strategy=$(r8_exec_s…
82 …D8_WRAPPER := $(strip $(RBE_WRAPPER) --labels=type=compile,compiler=d8 --exec_strategy=$(d8_exec_s…

12