Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !1874

Add modulemap to headers for modular apple_library

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/robbertvanginkel/expose_modular into master May 03, 2018
  • Overview 8
  • Commits 4
  • Pipelines 0
  • Changes 20

Created by: robbertvanginkel

When an apple_library is marked as modular, add a modulemap to the generated headersymlinktree so other rules can import this library modularly.

Modules are always platform specific so we need to only have one platform specific headersymlinktree with a modulemap. We cannot forward the metadata to a CxxLibraryDescription as it will create two trees (platform specific and platform agnostic). This PR makes sure that if a library is modular, AppleLibraryDescription doesn't forward the CxxLibraryDescription.MetadataType.CXX_PREPROCESSOR_INPUT to a CxxLibraryDelegate but instead creates it itself.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/robbertvanginkel/expose_modular