Home
last modified time | relevance | path

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

123

/build/soong/rust/
Dlibrary.go110 func (library *libraryDecorator) nativeCoverage() bool {
114 func (library *libraryDecorator) rlib() bool {
115 return library.MutatedProperties.VariantIsRlib
118 func (library *libraryDecorator) dylib() bool {
119 return library.MutatedProperties.VariantIsDylib
122 func (library *libraryDecorator) shared() bool {
123 return library.MutatedProperties.VariantIsShared
126 func (library *libraryDecorator) static() bool {
127 return library.MutatedProperties.VariantIsStatic
130 func (library *libraryDecorator) buildRlib() bool {
[all …]
Dprebuilt.go58 module, library := NewRustLibrary(hod)
59 library.BuildOnlyRust()
60 library.setNoStdlibs()
62 libraryDecorator: library,
69 module, library := NewRustLibrary(hod)
70 library.BuildOnlyDylib()
71 library.setNoStdlibs()
73 libraryDecorator: library,
80 module, library := NewRustLibrary(hod)
81 library.BuildOnlyRlib()
[all …]
Dandroidmk.go123 func (library *libraryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
124 ctx.subAndroidMk(ret, library.baseCompiler)
126 if library.rlib() {
128 } else if library.dylib() {
130 } else if library.static() {
132 } else if library.shared() {
136 if library.distFile.Valid() {
137 ret.DistFiles = android.MakeDefaultDistFiles(library.distFile.Path())
141 if !library.rlib() {
142 fmt.Fprintln(w, "LOCAL_SOONG_UNSTRIPPED_BINARY :=", library.unstrippedOutputFile.String())
[all …]
Drust.go157 if library, ok := mod.compiler.(libraryInterface); ok {
158 return library.static()
166 if library, ok := mod.compiler.(libraryInterface); ok {
167 return library.shared()
409 if library, ok := mod.compiler.(*libraryDecorator); ok {
410 return library.includeDirs
418 if library, ok := mod.compiler.(libraryInterface); ok {
419 library.setStatic()
428 if library, ok := mod.compiler.(libraryInterface); ok {
429 library.setShared()
[all …]
/build/soong/cc/
Dlibrary.go209 module, library := NewLibrary(android.HostAndDeviceSupported)
210 library.BuildOnlyStatic()
217 module, library := NewLibrary(android.HostAndDeviceSupported)
218 library.BuildOnlyShared()
226 module, library := NewLibrary(android.HostSupported)
227 library.BuildOnlyStatic()
234 module, library := NewLibrary(android.HostSupported)
235 library.BuildOnlyShared()
476 func (library *libraryDecorator) linkerProps() []interface{} {
478 props = append(props, library.baseLinker.linkerProps()...)
[all …]
Dtoolchain_library.go50 func (library *toolchainLibraryDecorator) linkerProps() []interface{} {
52 props = append(props, library.libraryDecorator.linkerProps()...)
53 return append(props, &library.Properties, &library.stripper.StripProperties)
60 module, library := NewLibrary(android.HostAndDeviceSupported)
61 library.BuildOnlyStatic()
63 libraryDecorator: library,
74 func (library *toolchainLibraryDecorator) compile(ctx ModuleContext, flags Flags,
79 func (library *toolchainLibraryDecorator) link(ctx ModuleContext,
82 if library.Properties.Src == nil {
87 srcPath := android.PathForSource(ctx, *library.Properties.Src)
[all …]
Dandroidmk.go191 func (library *libraryDecorator) androidMkWriteExportedFlags(entries *android.AndroidMkEntries) {
192 exportedFlags := library.exportedFlags()
193 for _, dir := range library.exportedDirs() {
196 for _, dir := range library.exportedSystemDirs() {
202 exportedDeps := library.exportedDeps()
208 func (library *libraryDecorator) androidMkEntriesWriteAdditionalDependenciesForSourceAbiDiff(entrie…
209 if library.sAbiOutputFile.Valid() {
211 "$(LOCAL_ADDITIONAL_DEPENDENCIES) "+library.sAbiOutputFile.String())
212 if library.sAbiDiff.Valid() && !library.static() {
214 "$(LOCAL_ADDITIONAL_DEPENDENCIES) "+library.sAbiDiff.String())
[all …]
Dllndk_library.go178 module, library := NewLibrary(android.DeviceSupported)
179 library.BuildOnlyShared()
182 library.StripProperties.Strip.None = BoolPtr(true)
185 libraryDecorator: library,
195 &library.MutatedProperties,
196 &library.flagExporter.Properties)
226 module, library := NewLibrary(android.DeviceSupported)
227 library.HeaderOnly()
232 libraryDecorator: library,
241 &library.MutatedProperties,
[all …]
Dlibrary_headers.go45 module, library := NewLibrary(android.HostAndDeviceSupported)
46 library.HeaderOnly()
53 module, library := NewPrebuiltLibrary(android.HostAndDeviceSupported)
54 library.HeaderOnly()
Dprebuilt.go207 module, library := NewLibrary(hod)
211 libraryDecorator: library,
226 return module, library
251 module, library := NewPrebuiltLibrary(android.HostAndDeviceSupported)
252 library.BuildOnlyShared()
253 library.baseInstaller = NewTestInstaller()
258 module, library := NewPrebuiltLibrary(hod)
259 library.BuildOnlyShared()
264 return module, library
275 module, library := NewPrebuiltLibrary(hod)
[all …]
Dvendor_public_library.go143 module, library := NewLibrary(android.DeviceSupported)
144 library.BuildOnlyShared()
147 library.StripProperties.Strip.None = BoolPtr(true)
150 libraryDecorator: library,
158 &library.MutatedProperties,
159 &library.flagExporter.Properties)
Dkernel_headers.go39 module, library := NewLibrary(android.HostAndDeviceSupported)
40 library.HeaderOnly()
43 libraryDecorator: library,
Dndk_prebuilt.go123 module, library := NewLibrary(android.DeviceSupported)
124 library.BuildOnlyShared()
127 libraryDecorator: library,
141 module, library := NewLibrary(android.DeviceSupported)
142 library.BuildOnlyStatic()
145 libraryDecorator: library,
Dvndk_prebuilt.go212 module, library := NewLibrary(android.DeviceSupported)
213 library.BuildOnlyShared()
216 library.StripProperties.Strip.None = BoolPtr(true)
219 libraryDecorator: library,
Dndk_sysroot.go142 if library, ok := m.linker.(*libraryDecorator); ok {
143 if library.ndkSysrootPath != nil {
145 staticLibInstallPaths, library.ndkSysrootPath)
Dcc.go528 if library, ok := c.linker.(libraryInterface); ok {
529 return library.toc()
546 if library, ok := c.linker.(libraryInterface); ok {
547 return library.static()
555 if library, ok := c.linker.(libraryInterface); ok {
556 return library.shared()
604 if library, ok := c.linker.(exportedFlagsProducer); ok {
605 return library.exportedDirs()
632 if library, ok := c.linker.(*libraryDecorator); ok {
633 return library.Properties.Stubs.Versions
[all …]
Dndk_library.go378 module, library := NewLibrary(android.DeviceSupported)
379 library.BuildOnlyShared()
382 library.StripProperties.Strip.None = BoolPtr(true)
385 libraryDecorator: library,
394 module.AddProperties(&stub.properties, &library.MutatedProperties)
/build/soong/java/
Dandroidmk.go24 func (library *Library) AndroidMkEntriesHostDex() android.AndroidMkEntries {
25 hostDexNeeded := Bool(library.deviceProperties.Hostdex) && !library.Host()
26 if !library.IsForPlatform() {
33 if library.dexJarFile != nil {
34 output = library.dexJarFile
36 output = library.implementationAndResourcesJar
42 Required: library.deviceProperties.Target.Hostdex.Required,
48 if library.dexJarFile != nil {
49 entries.SetPath("LOCAL_SOONG_DEX_JAR", library.dexJarFile)
51 entries.SetPath("LOCAL_SOONG_HEADER_JAR", library.headerJarFile)
[all …]
/build/make/core/
Dhost_shared_library_internal.mk17 $(error $(LOCAL_PATH): Cannot set module stem for a library)
20 ifdef host-shared-library-hook
21 $(call host-shared-library-hook)
Dshared_library_internal.mk17 $(error $(LOCAL_PATH): Cannot set module stem for a library)
20 ifdef target-shared-library-hook
21 $(call target-shared-library-hook)
Dproguard_basic_keeps.flags17 # see http://proguard.sourceforge.net/manual/examples.html#library
55 # The support library contains references to newer platform versions.
60 # DO NOT USE THIS: We figured it's dangerous to blindly ignore all support library warnings.
62 # LOCAL_SDK_VERSION lower than the support library's LOCAL_SDK_VERSION.
/build/soong/docs/
Dmap_files.md42 When generating NDK API stubs from this version script, the stub library for R
43 will define `api_foo` and `api_bar`. The stub library for S will define all
50 the implementation library rather than just defining the stub interface by using
52 symbol visibility of the library to expose only the interface named by the map
60 stubs, but will be exposed in the implementation library. Using either of these
128 Indicates that the version or symbol is public in the implementation library but
129 should not be exposed in the stub library. Developers can still access them via
135 entirely separate library to protect them from access via `dlsym`, but this is
147 library should apply symbol versioning. For example:
159 The stub library for R will contain symbols for both `foo` and `bar`, but only
[all …]
/build/soong/cc/config/
Dtoolchain.go179 func LibclangRuntimeLibrary(t Toolchain, library string) string {
185 return "libclang_rt." + library + "-" + arch
187 return "libclang_rt." + library + "-" + arch + "-android"
/build/soong/scripts/
Dbuild-mainline-modules.sh70 for library in "${PLATFORM_LIBRARIES[@]}"; do
71 echo_and_run cp ${PWD}/${PRODUCT_OUT}/system/lib/${library}.so ${DIST_DIR}/${TARGET_ARCH}/
/build/soong/cc/libbuildversion/tests/
Dbuild_version_test.cpp32 TEST(BuildNumber, library) { in TEST() argument

123