nativebinaries

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed 'build/objectFiles' to 'build/objs' to save a few characters on windows.

    • -1
    • +1
    ./toolchain/internal/OutputCleaningCompilerTest.groovy
  1. … 10 more files in changeset.
Renamed ‘cpp’ subproject to ‘runtime-native’ +review REVIEW-5128

    • -29
    • +0
    ./internal/DefaultBuildTypeTest.groovy
    • -29
    • +0
    ./internal/DefaultFlavorTest.groovy
    • -55
    • +0
    ./internal/DefaultNativeBinaryTasksTest.groovy
    • -86
    • +0
    ./internal/DefaultNativeComponentTest.groovy
    • -64
    • +0
    ./internal/DefaultNativeLibrarySpecTest.groovy
    • -40
    • +0
    ./internal/DefaultProjectNativeExecutableBinaryTest.groovy
    • -33
    • +0
    ./internal/DefaultProjectNativeExecutableTest.groovy
    • -123
    • +0
    ./internal/DefaultSharedLibraryBinarySpecTest.groovy
    • -125
    • +0
    ./internal/DefaultStaticLibraryBinarySpecTest.groovy
    • -216
    • +0
    ./internal/NativeBinarySpecTest.groovy
    • -45
    • +0
    ./internal/configure/CreateDefaultBuildTypesTest.groovy
    • -45
    • +0
    ./internal/configure/CreateDefaultPlatformTest.groovy
    • -94
    • +0
    ./internal/configure/DefaultNativeBinariesFactoryTest.groovy
    • -96
    • +0
    ./internal/configure/NativeBinarySpecInitializerTest.groovy
  1. … 686 more files in changeset.
Reorganised a bunch of classes in the ‘cpp’ project

+review REVIEW-5128

    • -2
    • +2
    ./internal/DefaultSharedLibraryBinarySpecTest.groovy
    • -1
    • +1
    ./internal/DefaultStaticLibraryBinarySpecTest.groovy
    • -1
    • +1
    ./internal/NativeBinarySpecTest.groovy
    • -1
    • +1
    ./toolchain/internal/DefaultToolChainRegistryTest.groovy
    • -1
    • +1
    ./toolchain/internal/gcc/AssemblerTest.groovy
    • -1
    • +1
    ./toolchain/internal/gcc/CCompilerTest.groovy
  1. … 223 more files in changeset.
Moved a bunch of integration tests out of ‘cpp’ into ‘language-native’

    • -168
    • +0
    ./language/AbstractNativeComponentPluginTest.groovy
  1. … 84 more files in changeset.
Move language-specific classes out of ‘cpp’ into ‘language-native’

+review REVIEW-5128

    • -3
    • +3
    ./internal/DefaultSharedLibraryBinarySpecTest.groovy
  1. … 262 more files in changeset.
Renamed a bunch of native-language classes into org.gradle.language.*

+review REVIEW-5128

    • -65
    • +0
    ./language/assembler/tasks/AssemblerTest.groovy
    • -49
    • +0
    ./language/c/plugins/CPluginTest.groovy
    • -68
    • +0
    ./language/c/tasks/CCompileTest.groovy
    • -67
    • +0
    ./language/cpp/tasks/CppCompileTest.groovy
  1. … 236 more files in changeset.
More test coverage for source parsing for incremental native compilation

+review REVIEW-5110

  1. … 1 more file in changeset.
linking main functionalSourceSet of component to component#sources is business of ComponentModelBasePlugin

+review REVIEW-5076

    • -10
    • +0
    ./internal/DefaultNativeComponentTest.groovy
    • -35
    • +0
    ./plugins/NativeComponentPluginTest.groovy
  1. … 8 more files in changeset.
only attach source sets of relevant languages to component

- introduce LanguageOutputType for modelling language output

- keep registering factories for all kinds of provided SourceSet types for _all_ functional sourcesets in project#sources

- just create default languageSourceSet where component inputs (partially) match language output

- update integtests

TODO: handle custom libraries (currently returning empty set of component inputs); handle 3party language output / language plugins / components

+review REVIEW-5076

    • -0
    • +8
    ./language/AbstractNativeComponentPluginTest.groovy
  1. … 41 more files in changeset.
Inject FunctionalSourceSet into ComponentSpec at creation time

- introduce ComponentSpecInternal to access "mainSourceSet"

+review REVIEW-5076

    • -4
    • +21
    ./internal/DefaultNativeComponentTest.groovy
    • -1
    • +5
    ./internal/DefaultNativeLibrarySpecTest.groovy
    • -1
    • +4
    ./internal/DefaultProjectNativeExecutableTest.groovy
    • -3
    • +6
    ./internal/NativeBinarySpecTest.groovy
    • -3
    • +6
    ./internal/configure/DefaultNativeBinariesFactoryTest.groovy
    • -1
    • +4
    ./internal/configure/NativeComponentSpecInitializerTest.groovy
  1. … 22 more files in changeset.
Renamed CUnitTestSuite to CUnitTestSuiteSpec, and CUnitTestSuiteBinary to CUnitTestSuiteBinarySpec.

  1. … 15 more files in changeset.
A few final component model renames

    • -0
    • +96
    ./internal/configure/NativeBinarySpecInitializerTest.groovy
    • -96
    • +0
    ./internal/configure/ProjectNativeBinaryInitializerTest.groovy
  1. … 7 more files in changeset.
Introduced a few more types to the component models for consistency

- NativeLibraryBinarySpec for all library binaries built for native

- JvmBinarySpec for all binaries built for JVM

    • -2
    • +2
    ./internal/resolve/ProjectLibraryBinaryLocatorTest.groovy
  1. … 6 more files in changeset.
more renamings

ProjectBinary -> BinarySpec

ProjectBinaryInternal -> BinarySpecInternal

ProjectJarBinary -> JarBinarySpec

ProjectJvmLibraryBinary -> JvmLibraryBinarySpec

ProjectNativeBinaryTest -> NativeBinarySpecTest

+ several default implementations according to their related interfaces

    • -0
    • +213
    ./internal/NativeBinarySpecTest.groovy
    • -213
    • +0
    ./internal/ProjectNativeBinaryTest.groovy
    • -0
    • +145
    ./internal/configure/NativeComponentSpecInitializerTest.groovy
    • -145
    • +0
    ./internal/configure/ProjectNativeComponentInitializerTest.groovy
  1. … 57 more files in changeset.
add work-in-progress sample + integrationTest for custom libraries via plugin

- did some more renamings.

- for now DefaultLibrarySpec lives in org/gradle/runtime/base/internal/ to avoid classycle issues for now

- TODO JvmLibrarySpec should extend DefaultLibrarySpec

    • -3
    • +3
    ./internal/resolve/ProjectLibraryBinaryLocatorTest.groovy
  1. … 18 more files in changeset.
fix failing integTests + more renamings in cpp domain

    • -1
    • +1
    ./internal/DefaultProjectNativeExecutableBinaryTest.groovy
    • -123
    • +0
    ./internal/DefaultProjectSharedLibraryBinaryTest.groovy
    • -125
    • +0
    ./internal/DefaultProjectStaticLibraryBinaryTest.groovy
    • -0
    • +123
    ./internal/DefaultSharedLibraryBinarySpecTest.groovy
    • -0
    • +125
    ./internal/DefaultStaticLibraryBinarySpecTest.groovy
    • -3
    • +3
    ./internal/ProjectNativeBinaryTest.groovy
    • -4
    • +4
    ./internal/configure/DefaultNativeBinariesFactoryTest.groovy
    • -8
    • +8
    ./internal/configure/ProjectNativeBinaryInitializerTest.groovy
    • -2
    • +2
    ./internal/configure/ToolSettingNativeBinaryInitializerTest.groovy
    • -4
    • +4
    ./internal/resolve/ProjectLibraryBinaryLocatorTest.groovy
    • -2
    • +2
    ./language/AbstractNativeComponentPluginTest.groovy
    • -8
    • +8
    ./plugins/NativeComponentModelPluginTest.groovy
  1. … 96 more files in changeset.
rename more component related model classes

    • -3
    • +3
    ./internal/DefaultNativeComponentTest.groovy
    • -2
    • +3
    ./internal/DefaultProjectNativeExecutableBinaryTest.groovy
    • -1
    • +1
    ./internal/DefaultProjectNativeExecutableTest.groovy
    • -5
    • +5
    ./internal/ProjectNativeBinaryTest.groovy
    • -2
    • +2
    ./internal/configure/DefaultNativeBinariesFactoryTest.groovy
    • -2
    • +2
    ./internal/configure/ProjectNativeBinaryInitializerTest.groovy
    • -2
    • +2
    ./internal/configure/ProjectNativeComponentInitializerTest.groovy
  1. … 60 more files in changeset.
rename ProjectNativeLibrary -> NativeLibrarySpec

    • -0
    • +60
    ./internal/DefaultNativeLibrarySpecTest.groovy
    • -60
    • +0
    ./internal/DefaultProjectNativeLibraryTest.groovy
    • -2
    • +2
    ./internal/DefaultProjectSharedLibraryBinaryTest.groovy
    • -2
    • +2
    ./internal/DefaultProjectStaticLibraryBinaryTest.groovy
    • -2
    • +2
    ./internal/configure/DefaultNativeBinariesFactoryTest.groovy
    • -2
    • +2
    ./internal/resolve/NativeDependencyNotationParserTest.groovy
    • -3
    • +3
    ./internal/resolve/ProjectLibraryBinaryLocatorTest.groovy
  1. … 24 more files in changeset.
Rename: NamedProjectComponentIdentifier -> ComponentSpecIdentifier

- No longer extends ProjectComponentIdentifier, which represents an instance/binary

- Plan is to rename ProjectComponent -> ComponentSpec

    • -4
    • +4
    ./internal/DefaultNativeComponentTest.groovy
    • -2
    • +2
    ./internal/DefaultProjectNativeExecutableTest.groovy
    • -2
    • +2
    ./internal/DefaultProjectNativeLibraryTest.groovy
    • -4
    • +4
    ./internal/ProjectNativeBinaryTest.groovy
    • -2
    • +2
    ./internal/configure/DefaultNativeBinariesFactoryTest.groovy
    • -2
    • +2
    ./internal/configure/ProjectNativeComponentInitializerTest.groovy
  1. … 17 more files in changeset.
More test fixes after API change.

    • -13
    • +14
    ./plugins/NativeComponentModelPluginTest.groovy
Test fixes are API change.

  1. … 4 more files in changeset.
Changed GccVersionDeterminer to produce a VersionNumber rather than a String.

  1. … 3 more files in changeset.
Don’t require a Project instance to instantiate a language source set

- Use FileResolver where required

- Removed ConfigurationBasedNativeDependencySet (finally!)

  1. … 16 more files in changeset.
No longer need to register a ‘testSuites’ extension

- Used exclusively in the model

  1. … 2 more files in changeset.
Configure component source sets via model rule

- This is a breaking change for the native ‘sources’ DSL

    • -0
    • +2
    ./plugins/NativeComponentPluginTest.groovy
  1. … 25 more files in changeset.
Added LanguageSourceSet.displayName.

  1. … 5 more files in changeset.
Remove some use of String as a model path.

    • -18
    • +19
    ./plugins/NativeComponentModelPluginTest.groovy
  1. … 17 more files in changeset.
Remove remaining use of ModelRule.

    • -1
    • +1
    ./internal/configure/ProjectNativeBinaryInitializerTest.groovy
  1. … 8 more files in changeset.
Language registration includes defined binary tool extensions

- For any language, a number of ‘tools’ can be defined

- These tools are added as extension to each binary on construction

    • -0
    • +71
    ./internal/configure/ToolSettingNativeBinaryInitializerTest.groovy
  1. … 19 more files in changeset.
Replace uses of model rules with rule source classes.

The goal is to get rid of the model rules class to make evolving the model registry easier. Only benefit of this change at this point is the improved error reporting due to the strong rule identity provided by rule sources.

  1. … 32 more files in changeset.