Home
last modified time | relevance | path

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

123

/build/soong/rust/
Dcompiler.go36 func (compiler *baseCompiler) edition() string {
37 return proptools.StringDefault(compiler.Properties.Edition, config.DefaultEdition)
40 func (compiler *baseCompiler) setNoStdlibs() {
41 compiler.Properties.No_stdlibs = proptools.BoolPtr(true)
44 func (compiler *baseCompiler) disableLints() {
45 compiler.Properties.Lints = proptools.StringPtr("none")
202 func (compiler *baseCompiler) Disabled() bool {
206 func (compiler *baseCompiler) SetDisabled() {
210 func (compiler *baseCompiler) coverageOutputZipPath() android.OptionalPath {
214 func (compiler *baseCompiler) preferRlib() bool {
[all …]
Drust.go153 compiler compiler member
192 return mod.sanitize != nil && mod.compiler != nil
196 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok {
205 if mod.sourceProvider != nil && (mod.compiler == nil || mod.compiler.Disabled()) {
223 if mod.compiler != nil {
224 if _, ok := mod.compiler.(libraryInterface); ok {
232 if mod.compiler != nil {
233 if library, ok := mod.compiler.(libraryInterface); ok {
241 if mod.compiler != nil {
242 if library, ok := mod.compiler.(libraryInterface); ok {
[all …]
Dandroidmk.go71 if mod.compiler != nil && !mod.compiler.Disabled() {
72 mod.SubAndroidMk(&ret, mod.compiler)
187 func (compiler *baseCompiler) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
188 if compiler.path == (android.InstallPath{}) {
192 if compiler.strippedOutputFile.Valid() {
193 ret.OutputFile = compiler.strippedOutputFile
198 entries.SetPath("LOCAL_SOONG_UNSTRIPPED_BINARY", compiler.unstrippedOutputFile)
199 path, file := filepath.Split(compiler.path.String())
Dprebuilt.go64 module.compiler = prebuilt
71 var _ compiler = (*prebuiltLibraryDecorator)(nil)
75 var _ compiler = (*prebuiltProcMacroDecorator)(nil)
108 module.compiler = prebuilt
122 module.compiler = prebuilt
136 module.compiler = prebuilt
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) {
232 _, procMacro := rModule.compiler.(*procMacroDecorator)
Dsnapshot_utils.go44 if lib, ok := mod.compiler.(libraryInterface); ok {
70 if l, ok := m.compiler.(snapshotLibraryInterface); ok {
Dlibrary.go270 var _ compiler = (*libraryDecorator)(nil)
414 module.compiler = library
647 if !ok || m.compiler == nil {
650 library, ok := m.compiler.(libraryInterface)
680 v.(*Module).compiler.(libraryInterface).setRlib()
682 v.(*Module).compiler.(libraryInterface).setDylib()
708 v.(*Module).compiler.(libraryInterface).setSource()
711 v.(*Module).compiler.SetDisabled()
731 if m, ok := mctx.Module().(*Module); ok && m.compiler != nil && !m.compiler.Disabled() {
732 switch library := m.compiler.(type) {
[all …]
Dimage.go81 if snapshot, ok := mod.compiler.(cc.SnapshotInterface); ok {
114 if p, ok := mod.compiler.(cc.SnapshotInterface); ok {
237 if lib, ok := mod.compiler.(libraryInterface); !ok || (ok && lib.buildShared()) {
242 if lib, ok := mod.compiler.(libraryInterface); ok && lib.buildDylib() {
251 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok {
Dtoolchain_library.go76 module.compiler = toolchainLibrary
84 if toolchainLib, ok := ctx.Module().(*Module).compiler.(*toolchainLibraryDecorator); ok {
Dtest_test.go39 dataPaths := testingModule.Module().(*Module).compiler.(*testDecorator).dataPaths()
110 testBinary := module.(*Module).compiler.(*testDecorator)
172 testBinary := module.(*Module).compiler.(*testDecorator)
Dproc_macro.go39 var _ compiler = (*procMacroDecorator)(nil)
57 module.compiler = procMacro
Dbuilder.go170 moduleGenDir := ctx.RustModule().compiler.CargoOutDir()
254 moduleGenDir := ctx.RustModule().compiler.CargoOutDir()
279 if ctx.RustModule().compiler.CargoEnvCompat() {
280 if _, ok := ctx.RustModule().compiler.(*binaryDecorator); ok {
284 pkgVersion := ctx.RustModule().compiler.CargoPkgVersion()
Dcompiler_test.go173 "android_arm64_armv8-a_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
175 "android_arm_armv7-a-neon_dylib").Module().(*Module).compiler.(*libraryDecorator).path.String()
177 "android_arm64_armv8-a").Module().(*Module).compiler.(*binaryDecorator).path.String()
Dfuzz.go39 var _ compiler = (*fuzzDecorator)(nil)
58 module.compiler = fuzz
129 fuzzModule, ok := rustModule.compiler.(*fuzzDecorator)
Dsanitize.go118 if binary, ok := ctx.RustModule().compiler.(binaryInterface); ok && binary.testBinary() {
294 if binary, ok := mod.compiler.(binaryInterface); ok {
438 if lib, ok := mod.compiler.(libraryInterface); ok {
462 if lib, ok := mod.compiler.(libraryInterface); ok {
464 } else if binary, ok := mod.compiler.(binaryInterface); ok {
Dbinary.go47 var _ compiler = (*binaryDecorator)(nil)
67 module.compiler = binary
DAndroid.bp24 "compiler.go",
Dsource_provider.go75 module.compiler = library
/build/soong/cc/
Dcompiler.go239 var _ compiler = (*baseCompiler)(nil)
245 func (compiler *baseCompiler) Srcs() android.Paths {
246 return append(android.Paths{}, compiler.srcs...)
249 func (compiler *baseCompiler) appendCflags(flags []string) {
250 compiler.Properties.Cflags = append(compiler.Properties.Cflags, flags...)
253 func (compiler *baseCompiler) appendAsflags(flags []string) {
254 compiler.Properties.Asflags = append(compiler.Properties.Asflags, flags...)
257 func (compiler *baseCompiler) compilerProps() []interface{} {
258 return []interface{}{&compiler.Properties, &compiler.Proto}
265 func (compiler *baseCompiler) includeBuildDirectory() bool {
[all …]
Dndk_prebuilt.go124 module.compiler = nil
142 module.compiler = nil
Dobject.go111 module.compiler = NewBaseCompiler()
115 module.compiler.appendCflags([]string{"-fno-addrsig"})
142 if m.compiler == nil {
Dimage.go637 if lib, ok := m.compiler.(*libraryDecorator); ok {
650 if lib, ok := m.compiler.(*libraryDecorator); ok {
663 if lib, ok := m.compiler.(*libraryDecorator); ok {
676 if lib, ok := m.compiler.(*libraryDecorator); ok {
DAndroid.bp57 "compiler.go",
/build/make/core/
Drbe.mk72 …RBE_CXX := --labels=type=compile,lang=cpp,compiler=clang --env_var_allowlist=PWD --exec_strategy=$…
80 …$(strip $(JAVAC_WRAPPER) $(RBE_WRAPPER) --labels=type=compile,lang=java,compiler=javac --exec_stra…
84 …R8_WRAPPER := $(strip $(RBE_WRAPPER) --labels=type=compile,compiler=r8 --exec_strategy=$(r8_exec_s…
88 …D8_WRAPPER := $(strip $(RBE_WRAPPER) --labels=type=compile,compiler=d8 --exec_strategy=$(d8_exec_s…
/build/soong/cmd/symbols_map/
Dr8_test.go33 data: `# compiler: R8
52 data: `# compiler: R8

123