Searched refs:library (Results 1 – 25 of 59) sorted by relevance
123
110 func (library *libraryDecorator) nativeCoverage() bool {114 func (library *libraryDecorator) rlib() bool {115 return library.MutatedProperties.VariantIsRlib118 func (library *libraryDecorator) dylib() bool {119 return library.MutatedProperties.VariantIsDylib122 func (library *libraryDecorator) shared() bool {123 return library.MutatedProperties.VariantIsShared126 func (library *libraryDecorator) static() bool {127 return library.MutatedProperties.VariantIsStatic130 func (library *libraryDecorator) buildRlib() bool {[all …]
58 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 …]
123 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 …]
157 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.includeDirs418 if library, ok := mod.compiler.(libraryInterface); ok {419 library.setStatic()428 if library, ok := mod.compiler.(libraryInterface); ok {429 library.setShared()[all …]
209 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 …]
50 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 …]
191 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 …]
178 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 …]
45 module, library := NewLibrary(android.HostAndDeviceSupported)46 library.HeaderOnly()53 module, library := NewPrebuiltLibrary(android.HostAndDeviceSupported)54 library.HeaderOnly()
207 module, library := NewLibrary(hod)211 libraryDecorator: library,226 return module, library251 module, library := NewPrebuiltLibrary(android.HostAndDeviceSupported)252 library.BuildOnlyShared()253 library.baseInstaller = NewTestInstaller()258 module, library := NewPrebuiltLibrary(hod)259 library.BuildOnlyShared()264 return module, library275 module, library := NewPrebuiltLibrary(hod)[all …]
143 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)
39 module, library := NewLibrary(android.HostAndDeviceSupported)40 library.HeaderOnly()43 libraryDecorator: library,
123 module, library := NewLibrary(android.DeviceSupported)124 library.BuildOnlyShared()127 libraryDecorator: library,141 module, library := NewLibrary(android.DeviceSupported)142 library.BuildOnlyStatic()145 libraryDecorator: library,
212 module, library := NewLibrary(android.DeviceSupported)213 library.BuildOnlyShared()216 library.StripProperties.Strip.None = BoolPtr(true)219 libraryDecorator: library,
142 if library, ok := m.linker.(*libraryDecorator); ok {143 if library.ndkSysrootPath != nil {145 staticLibInstallPaths, library.ndkSysrootPath)
528 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 …]
378 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)
24 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.dexJarFile36 output = library.implementationAndResourcesJar42 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 …]
17 $(error $(LOCAL_PATH): Cannot set module stem for a library)20 ifdef host-shared-library-hook21 $(call host-shared-library-hook)
17 $(error $(LOCAL_PATH): Cannot set module stem for a library)20 ifdef target-shared-library-hook21 $(call target-shared-library-hook)
17 # see http://proguard.sourceforge.net/manual/examples.html#library55 # 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.
42 When generating NDK API stubs from this version script, the stub library for R43 will define `api_foo` and `api_bar`. The stub library for S will define all50 the implementation library rather than just defining the stub interface by using52 symbol visibility of the library to expose only the interface named by the map60 stubs, but will be exposed in the implementation library. Using either of these128 Indicates that the version or symbol is public in the implementation library but129 should not be exposed in the stub library. Developers can still access them via135 entirely separate library to protect them from access via `dlsym`, but this is147 library should apply symbol versioning. For example:159 The stub library for R will contain symbols for both `foo` and `bar`, but only[all …]
179 func LibclangRuntimeLibrary(t Toolchain, library string) string {185 return "libclang_rt." + library + "-" + arch187 return "libclang_rt." + library + "-" + arch + "-android"
70 for library in "${PLATFORM_LIBRARIES[@]}"; do71 echo_and_run cp ${PWD}/${PRODUCT_OUT}/system/lib/${library}.so ${DIST_DIR}/${TARGET_ARCH}/
32 TEST(BuildNumber, library) { in TEST() argument