Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for libName (0.17 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/resolve/NativeDependencyNotationParserTest.groovy

            when:
            def input = [library: 'libName']
            def dependency = parser.parseNotation(input)
    
            then:
            dependency.projectPath == null
            dependency.libraryName == "libName"
            dependency.linkage == null
        }
    
        def "parses map notation for library in other project"() {
            when:
            def input = [project: 'other', library: 'libName']
            def dependency = parser.parseNotation(input)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/resolve/ProjectLibraryBinaryLocatorTest.groovy

            def requirement = new LibraryIdentifier("other", "libName")
    
            and:
            projectLocator.resolveProjectModel("other") >> projectModel
            findLibraryInProject()
    
            then:
            locator.getBinaries(requirement) == convertedBinaries
        }
    
        def "fails for unknown project"() {
            when:
            def requirement = new LibraryIdentifier("unknown", "libName")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/build.gradle

                    binaries.withType(StaticLibraryBinary) {
                        def libName = targetPlatform.operatingSystem.windows ? 'util.lib' : 'libutil.a'
                        staticLibraryFile = file("3rd-party-lib/util/build/libs/util/static/${buildType.name}/${libName}")
                    }
                    binaries.withType(SharedLibraryBinary) {
                        def os = targetPlatform.operatingSystem
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/NativeProjectWithDepsGeneratorTask.groovy

                        def libName = "${dependentProject}2"
                        deps << new Dependency(":" + dependentProject, libName, 'static')
                        includes << "${libName}/header.h"
                    }
                } else {
                    // odd components depend on the component with index 2
                    def libName = "${generatedProjectName}2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 11.2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

                    headers.srcDir "libs/src/hello/headers"
                    binaries.withType(StaticLibraryBinary) {
                        def libName = targetPlatform.operatingSystem.windows ? 'hello.lib' : 'libhello.a'
                        staticLibraryFile = file("libs/build/libs/hello/static/english/\${libName}")
                    }
                    binaries.withType(SharedLibraryBinary) {
                        def os = targetPlatform.operatingSystem
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            failure.assertHasCause("A build operation failed.")
            def libName = sharedLibrary("build/binaries/mainSharedLibrary/main").file.name
            failure.assertThatCause(containsText("Linker failed while linking ${libName}"))
        }
    
        @ToBeFixedForConfigurationCache
        def "build fails when create static library fails"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/build_test.go

    				}
    				cfg.BuildContext.GOPATH = tmpGopath
    				os.Chdir(root)
    			}
    			computed, err := libname(data.args, data.pkgs)
    			if err != nil {
    				if !data.expectErr {
    					t.Errorf("libname returned an error %q, expected a name", err.Error())
    				}
    			} else if data.expectErr {
    				t.Errorf("libname returned %q, expected an error", computed)
    			} else {
    				expected := prefix + data.expected + suffix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/tasks/GroovyRuntime.java

                    }
    
                    return detachedRuntimeClasspath(
                        GROOVY_LIBS.stream()
                            .map(libName -> project.getDependencies().create(groovyModuleDependency(libName, groovyVersion)))
                            .toArray(Dependency[]::new)
                    );
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcshared/cshared_test.go

    	cmd := "testp2"
    	bin := cmdToRun(cmd)
    	libname := "libgo2.a"
    
    	run(t,
    		nil,
    		"go", "build",
    		"-buildmode=c-shared",
    		"-installsuffix", "testcshared",
    		"-o", libname, "./libgo2",
    	)
    
    	linkFlags := "-Wl,--no-as-needed"
    	if GOOS == "darwin" || GOOS == "ios" {
    		linkFlags = ""
    	}
    
    	runCC(t, "-o", cmd, "main2.c", linkFlags, libname)
    
    	defer os.Remove(libname)
    	defer os.Remove(bin)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/build.go

    //	a/... b/... ---> liba/c,b/d.so - all matching import paths
    //
    // Name parts are joined with ','.
    func libname(args []string, pkgs []*load.Package) (string, error) {
    	var libname string
    	appendName := func(arg string) {
    		if libname == "" {
    			libname = arg
    		} else {
    			libname += "," + arg
    		}
    	}
    	var haveNonMeta bool
    	for _, arg := range args {
    		if search.IsMetaPackage(arg) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top