Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for targetPlatforms (0.2 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/target-platforms/tests/targetPlatforms.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 31 bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractTargetedNativeComponentSpec.java

        private final List<PlatformRequirement> targetPlatforms = new ArrayList<>();
        private final Set<String> buildTypes = new HashSet<String>();
        private final Set<String> flavors = new HashSet<String>();
    
        @Override
        public List<PlatformRequirement> getTargetPlatforms() {
            return Collections.unmodifiableList(targetPlatforms);
        }
    
        @Override
        public void targetPlatform(String targetPlatform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/target-platforms/groovy/build.gradle

            }
            sparc {
                architecture "sparc"
            }
        }
        components {
            main(NativeExecutableSpec) {
                targetPlatform "arm"
                targetPlatform "sparc"
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 688 bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/NativeComponentRulesTest.groovy

            NativeComponentRules.createBinariesImpl(component, platforms, [buildType].toSet(), [flavor].toSet(), nativePlatforms, nativeDependencyResolver, TestFiles.fileCollectionFactory())
    
            then:
            _ * component.targetPlatforms >> [platformRequirement]
            1 * platforms.resolve(NativePlatform, requirement("platform1")) >> platform
            createdBinaries == ([
                "sharedLibrary",
                "staticLibrary",
            ] as SortedSet)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeComponentRules.java

            List<PlatformRequirement> targetPlatforms = targetedComponent.getTargetPlatforms();
            if (targetPlatforms.isEmpty()) {
                PlatformRequirement requirement = DefaultPlatformRequirement.create(nativePlatforms.getDefaultPlatformName());
                targetPlatforms = Collections.singletonList(requirement);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftcToolChain.java

            }
        }
    
        @Override
        public PlatformToolProvider select(NativePlatformInternal targetPlatform) {
            PlatformToolProvider toolProvider = toolProviders.get(targetPlatform);
            if (toolProvider == null) {
                toolProvider = createPlatformToolProvider(targetPlatform);
                toolProviders.put(targetPlatform, toolProvider);
            }
            return toolProvider;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultNativeToolChainRegistry.java

            private final NativePlatform targetPlatform;
            private final Map<String, PlatformToolProvider> candidates;
    
            private AbstractUnavailabilityToolChainSearchDescription(NativeLanguage sourceLanguage, NativePlatform targetPlatform, Map<String, PlatformToolProvider> candidates) {
                this.sourceLanguage = sourceLanguage;
                this.targetPlatform = targetPlatform;
                this.candidates = candidates;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppInstall.java

        }
    
        private Architecture getPlatformArchitecture(NativePlatformInternal targetPlatform) {
            return targetPlatform.getArchitecture();
        }
    
        private VisualCpp getDescriptor(NativePlatformInternal targetPlatform) {
            return platforms.get(getPlatformArchitecture(targetPlatform));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCustomisationIntegrationTest.groovy

        components {
            execTest(NativeExecutableSpec) {
                targetPlatform "alwaysFrench"
                targetPlatform "alwaysCPlusPlus"
            }
            main {
                targetPlatform "alwaysFrench"
                targetPlatform "alwaysCPlusPlus"
            }
            hello {
                targetPlatform "alwaysFrench"
                targetPlatform "alwaysCPlusPlus"
            }
        }
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppToolChain.java

            if (platformVisualCpp == null) {
                return new UnsupportedPlatformToolProvider(targetPlatform.getOperatingSystem(), String.format("Don't know how to build for %s.", targetPlatform.getDisplayName()));
            }
            WindowsSdk platformSdk = windowsSdk.forPlatform(targetPlatform);
            SystemLibraries cRuntime = ucrt == null ? new EmptySystemLibraries() : ucrt.getCRuntime(targetPlatform);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top