Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 45) sorted by relevance

12

/build/soong/cc/
Dbinary.go119 func (binary *binaryDecorator) linkerProps() []interface{} {
120 return append(binary.baseLinker.linkerProps(),
121 &binary.Properties,
122 &binary.stripper.StripProperties)
130 func (binary *binaryDecorator) getStemWithoutSuffix(ctx BaseModuleContext) string {
132 if String(binary.Properties.Stem) != "" {
133 stem = String(binary.Properties.Stem)
141 func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string {
142 return binary.getStemWithoutSuffix(ctx) + String(binary.Properties.Suffix)
147 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
[all …]
Dandroidmk.go328 func (binary *binaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
329 ctx.subAndroidMk(entries, binary.baseInstaller)
332 entries.DistFiles = binary.distFiles
334 entries.SetString("LOCAL_SOONG_UNSTRIPPED_BINARY", binary.unstrippedOutputFile.String())
335 if len(binary.symlinks) > 0 {
336 entries.AddStrings("LOCAL_MODULE_SYMLINKS", binary.symlinks...)
339 if binary.coverageOutputFile.Valid() {
340 entries.SetString("LOCAL_PREBUILT_COVERAGE_ARCHIVE", binary.coverageOutputFile.String())
343 if len(binary.Properties.Overrides) > 0 {
344 …entries.SetString("LOCAL_OVERRIDES_MODULES", strings.Join(makeOverrideModuleNames(ctx, binary.Prop…
[all …]
Dtest.go463 module, binary := NewBinary(hod)
465 binary.baseInstaller = NewTestInstaller()
469 linker: binary.baseLinker,
471 binaryDecorator: binary,
590 module, binary := NewBinary(hod)
592 binary.baseInstaller = NewBaseInstaller("benchmarktest", "benchmarktest64", InstallInData)
595 binaryDecorator: binary,
Dsnapshot_prebuilt.go828 module, binary := NewBinary(android.DeviceSupported)
829 binary.baseLinker.Properties.No_libcrt = BoolPtr(true)
830 binary.baseLinker.Properties.Nocrt = BoolPtr(true)
833 if binary.baseLinker.Properties.System_shared_libs == nil {
834 binary.baseLinker.Properties.System_shared_libs = []string{}
838 binaryDecorator: binary,
Dprebuilt.go488 func (p *prebuiltBinaryLinker) binary() bool { func
500 module, binary := NewBinary(hod)
504 binaryDecorator: binary,
512 return module, binary
/build/soong/python/
Dbinary.go178 func (binary *binaryDecorator) autorun() bool {
179 return BoolDefault(binary.binaryProperties.Autorun, true)
182 func (binary *binaryDecorator) bootstrapperProps() []interface{} {
183 return []interface{}{&binary.binaryProperties}
186 func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersion string,
191 if binary.autorun() {
192 main = binary.getPyMainFile(ctx, srcsPathMappings)
209 binary.getHostInterpreterName(ctx, actualVersion),
210 main, binary.getStem(ctx), append(android.Paths{srcsZip}, depsSrcsZips...))
216 func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext,
[all …]
Dtest.go100 module, binary := NewBinary(hod)
102 binary.pythonInstaller = NewPythonInstaller("nativetest", "nativetest64")
104 test := &testDecorator{binaryDecorator: binary}
DAndroid.bp15 "binary.go",
/build/soong/java/
Dkotlin.go225 binary.Write(buf, binary.BigEndian, uint32(len(options)))
227 binary.Write(buf, binary.BigEndian, uint16(len(option[0])))
229 binary.Write(buf, binary.BigEndian, uint16(len(option[1])))
241 binary.Write(header, binary.BigEndian, uint32(buf.Len()))
Dandroidmk.go264 func (binary *Binary) AndroidMkEntries() []android.AndroidMkEntries {
266 if !binary.isWrapperVariant {
269 OutputFile: android.OptionalPathForPath(binary.outputFile),
273 entries.SetPath("LOCAL_SOONG_HEADER_JAR", binary.headerJarFile)
274 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", binary.implementationAndResourcesJar)
275 if binary.dexJarFile != nil {
276 entries.SetPath("LOCAL_SOONG_DEX_JAR", binary.dexJarFile)
278 if len(binary.dexpreopter.builtInstalled) > 0 {
279 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", binary.dexpreopter.builtInstalled)
290 outputFile := binary.wrapperFile
[all …]
/build/soong/android/
Dwritedocs.go38 binary := absolutePath(os.Args[0])
39 primaryBuilder, err := filepath.Rel(buildDir, binary)
/build/soong/cc/libbuildversion/tests/
Dbuild_version_test.cpp25 TEST(BuildNumber, binary) { in TEST() argument
/build/soong/ui/build/
Dconfig_darwin.go39 return binary.LittleEndian.Uint64([]byte(s))
/build/make/core/
Dheader_library_internal.mk14 include $(BUILD_SYSTEM)/binary.mk
Dhost_static_library_internal.mk21 include $(BUILD_SYSTEM)/binary.mk
Dhost_shared_library_internal.mk34 include $(BUILD_SYSTEM)/binary.mk
Dhost_executable_internal.mk29 include $(BUILD_SYSTEM)/binary.mk
Dstatic_library_internal.mk21 include $(BUILD_SYSTEM)/binary.mk
Dcheck_elf_file.mk30 @echo Check prebuilt ELF binary: $<
/build/soong/rust/
Dandroidmk.go88 func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
89 ctx.SubAndroidMk(ret, binary.baseCompiler)
91 if binary.distFile.Valid() {
92 ret.DistFiles = android.MakeDefaultDistFiles(binary.distFile.Path())
Dsanitize.go149 if binary, ok := mod.compiler.(*binaryDecorator); ok {
150 if Bool(binary.Properties.Static_executable) {
311 } else if binary, ok := mod.compiler.(*binaryDecorator); ok {
312 return Bool(binary.Properties.Static_executable)
DAndroid.bp18 "binary.go",
/build/soong/finder/fs/
DLICENSE4 Redistribution and use in source and binary forms, with or without
10 * Redistributions in binary form must reproduce the above
/build/soong/third_party/zip/
DLICENSE4 Redistribution and use in source and binary forms, with or without
10 * Redistributions in binary form must reproduce the above
/build/soong/third_party/zip/testdata/
Dreadme.notzip30 If you have just untarred a binary Go distribution, you need to set
35 You should also add the Go binary directory $GOROOT/bin

12