Home
last modified time | relevance | path

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

12

/build/soong/cc/
Dbinary.go109 func (binary *binaryDecorator) linkerProps() []interface{} {
110 return append(binary.baseLinker.linkerProps(),
111 &binary.Properties,
112 &binary.stripper.StripProperties)
116 func (binary *binaryDecorator) getStemWithoutSuffix(ctx BaseModuleContext) string {
118 if String(binary.Properties.Stem) != "" {
119 stem = String(binary.Properties.Stem)
125 func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string {
126 return binary.getStemWithoutSuffix(ctx) + String(binary.Properties.Suffix)
129 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
[all …]
Dandroidmk.go324 func (binary *binaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
325 ctx.subAndroidMk(entries, binary.baseInstaller)
328 entries.DistFiles = binary.distFiles
330 entries.SetString("LOCAL_SOONG_UNSTRIPPED_BINARY", binary.unstrippedOutputFile.String())
331 if len(binary.symlinks) > 0 {
332 entries.AddStrings("LOCAL_MODULE_SYMLINKS", binary.symlinks...)
335 if binary.coverageOutputFile.Valid() {
336 entries.SetString("LOCAL_PREBUILT_COVERAGE_ARCHIVE", binary.coverageOutputFile.String())
339 if len(binary.Properties.Overrides) > 0 {
340 …entries.SetString("LOCAL_OVERRIDES_MODULES", strings.Join(makeOverrideModuleNames(ctx, binary.Prop…
[all …]
Dtest.go424 module, binary := NewBinary(hod)
426 binary.baseInstaller = NewTestInstaller()
430 linker: binary.baseLinker,
432 binaryDecorator: binary,
551 module, binary := NewBinary(hod)
553 binary.baseInstaller = NewBaseInstaller("benchmarktest", "benchmarktest64", InstallInData)
556 binaryDecorator: binary,
Dprebuilt.go367 func (p *prebuiltBinaryLinker) binary() bool { func
379 module, binary := NewBinary(hod)
383 binaryDecorator: binary,
390 return module, binary
Dvendor_snapshot.go357 module, binary := NewBinary(android.DeviceSupported)
358 binary.baseLinker.Properties.No_libcrt = BoolPtr(true)
359 binary.baseLinker.Properties.Nocrt = BoolPtr(true)
362 if binary.baseLinker.Properties.System_shared_libs == nil {
363 binary.baseLinker.Properties.System_shared_libs = []string{}
367 binaryDecorator: binary,
591 if m.binary() || m.object() {
755 } else if m.binary() {
969 } else if module.binary() {
/build/soong/rust/
Dbinary.go54 binary := &binaryDecorator{
58 module.compiler = binary
60 return module, binary
63 func (binary *binaryDecorator) preferDynamic() bool {
64 return Bool(binary.Properties.Prefer_dynamic)
67 func (binary *binaryDecorator) compilerFlags(ctx ModuleContext, flags Flags) Flags {
68 flags = binary.baseCompiler.compilerFlags(ctx, flags)
79 if binary.preferDynamic() {
85 func (binary *binaryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
86 deps = binary.baseCompiler.compilerDeps(ctx, deps)
[all …]
Dandroidmk.go89 func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
90 ctx.subAndroidMk(ret, binary.baseCompiler)
92 if binary.distFile.Valid() {
93 ret.DistFiles = android.MakeDefaultDistFiles(binary.distFile.Path())
98 fmt.Fprintln(w, "LOCAL_SOONG_UNSTRIPPED_BINARY :=", binary.unstrippedOutputFile.String())
99 if binary.coverageOutputZipFile.Valid() {
100 fmt.Fprintln(w, "LOCAL_PREBUILT_COVERAGE_ARCHIVE := "+binary.coverageOutputZipFile.String())
DAndroid.bp12 "binary.go",
/build/soong/python/
Dbinary.go87 func (binary *binaryDecorator) autorun() bool {
88 return BoolDefault(binary.binaryProperties.Autorun, true)
91 func (binary *binaryDecorator) bootstrapperProps() []interface{} {
92 return []interface{}{&binary.binaryProperties}
95 func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersion string,
100 if binary.autorun() {
101 main = binary.getPyMainFile(ctx, srcsPathMappings)
118 binary.getHostInterpreterName(ctx, actualVersion),
119 main, binary.getStem(ctx), append(android.Paths{srcsZip}, depsSrcsZips...))
125 func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext,
[all …]
Dtest.go65 module, binary := NewBinary(hod)
67 binary.pythonInstaller = NewPythonInstaller("nativetest", "nativetest64")
69 test := &testDecorator{binaryDecorator: binary}
DAndroid.bp11 "binary.go",
Dpython_test.go398 `binary "%s" variant "%s" has unexpected pyRunfiles: %q!`,
406 `binary "%s" variant "%s" has unexpected srcsZip: %q!`,
417 `binary "%s" variant "%s" has unexpected depsSrcsZips: %q!`,
/build/soong/java/
Dkotlin.go222 binary.Write(buf, binary.BigEndian, uint32(len(options)))
224 binary.Write(buf, binary.BigEndian, uint16(len(option[0])))
226 binary.Write(buf, binary.BigEndian, uint16(len(option[1])))
238 binary.Write(header, binary.BigEndian, uint32(buf.Len()))
Dandroidmk.go259 func (binary *Binary) AndroidMkEntries() []android.AndroidMkEntries {
261 if !binary.isWrapperVariant {
264 OutputFile: android.OptionalPathForPath(binary.outputFile),
268 entries.SetPath("LOCAL_SOONG_HEADER_JAR", binary.headerJarFile)
269 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", binary.implementationAndResourcesJar)
270 if binary.dexJarFile != nil {
271 entries.SetPath("LOCAL_SOONG_DEX_JAR", binary.dexJarFile)
273 if len(binary.dexpreopter.builtInstalled) > 0 {
274 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", binary.dexpreopter.builtInstalled)
287 OutputFile: android.OptionalPathForPath(binary.wrapperFile),
/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
Dcheck_elf_file.mk28 @echo Check prebuilt ELF binary: $<
Dstatic_library_internal.mk21 include $(BUILD_SYSTEM)/binary.mk
DWINPTHREADS_COPYING34 * Redistribution and use in source and binary forms, with or without modification,
40 * * Redistributions in binary form must reproduce the above copyright notice,
/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
/build/soong/third_party/zip/
Dwriter.go421 binary.LittleEndian.PutUint16(*b, v)
426 binary.LittleEndian.PutUint32(*b, v)
431 binary.LittleEndian.PutUint64(*b, v)

12