DefaultCppBinaryTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use TaskProvider in native binary types

  1. … 29 more files in changeset.
Remove unnecessary constructor argument

  1. … 6 more files in changeset.
Convert cpp headers zip handling to artifact transform

  1. … 6 more files in changeset.
Address code review comment

  1. … 57 more files in changeset.
Revert `CppTargetMachine` to `CppPlatform`

  1. … 22 more files in changeset.
Move Swift source compatibility to `SwiftTargetMachine` on `SwiftBinary`

This commit still doesn't consider the source compatibility when

selecting the tool chain.

  1. … 24 more files in changeset.
Break association between current and software model type

Move `NativePlatform` getter to internal type.

  1. … 68 more files in changeset.
Replace all usages of the property factory methods on `ProjectLayout` and `DefaultTask` with the factory methods on `ObjectFactory`.

  1. … 44 more files in changeset.
Expose the variant name and header directories for each C++ binary in the C++ tooling model.

Rework construction of the native binary models so that the binary names are not formatted and parsed a bunch of times during construction and so do not lose information.

  1. … 36 more files in changeset.
Fix `DefaultCppBinaryTest` by adding operating system family to identity

  1. … 4 more files in changeset.
Added methods to the various native component types to allow implementation and API dependencies to be declared on the component instance instead of on the project's `dependencies` block, for consistency with the binaries.

  1. … 32 more files in changeset.
Fixing tests

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

  1. … 31 more files in changeset.
Add support for debuggable release variant for Cpp projects

  1. … 26 more files in changeset.
Implement static library and statically linked executable

  1. … 37 more files in changeset.
Fix unit tests with new CppBinary properties

  1. … 3 more files in changeset.
Changed C++ plugins to handle linking against a library from a Maven repository on Windows.

  1. … 8 more files in changeset.
Changed the C++ plugins to make the link files for C++ libraries from a Maven repository visible to consumers at link time via dependency resolution.

The implementation is intentionally dumb and has plenty of edge cases. This implementation will get simpler and more robust as more metadata about each library is made available in the Maven repository and as the dependency resolution engine is able to consume this. In this change, the implementation works only when building on MacOs.

  1. … 2 more files in changeset.
Changed the C++ plugins to make the header files for C++ libraries from a Maven repository visible to consumers at compile time via dependency resolution.

The implementation is intentionally dumb and has plenty of performance and other issues. This implementation will get simpler and more robust as more metadata about each library is made available in the Maven repository and as the dependency resolution engine is able to consume this.

  1. … 6 more files in changeset.
Changed the Swift plugins so that `Configuration` instances are created and wired up as the convention plugins register components and binaries, rather than assuming that exactly one variant of exactly one component is produced by a project and that the project has exactly one variant of exactly one test suite.

This change doesn't add any public mechanism for registering components or binaries, it simply removes some assumptions from the various plugins.

  1. … 19 more files in changeset.
Added a couple of query methods to the C++ model, to remove some assumptions from various plugins.

  1. … 15 more files in changeset.
Changed the C++ plugins so that `Configuration` instances are created and wired up as the convention plugins register components and binaries, rather than assuming that exactly one variant of exactly one component is produced by a project.

This change doesn't add any public mechanism for registering components or binaries, it simply removes some assumptions from the various plugins.

    • -0
    • +51
    ./DefaultCppBinaryTest.groovy
  1. … 17 more files in changeset.