Bazel
About Bazel Getting started User guide Reference Extending Community Versions
  • 6.1
  • 6.0
  • 5.4
  • 4.2.2
  • Nightly
  • More…
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • हिंदी
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
GitHub Sign in
Bazel
  • About Bazel
  • Getting started
  • User guide
  • Reference
  • Extending
  • Community
  • Versions
    • More
  • GitHub
  • 6.1
  • 6.0
  • 5.4
  • 4.2.2
  • Nightly
  • More…
  • Bazel

Configuration Fragments

Stay organized with collections Save and categorize content based on your preferences.
Configuration fragments give rules access to language-specific parts of configuration.

Rule implementations can get them using ctx.fragments.[fragment name]

  • apple
  • coverage
  • cpp
  • go
  • j2objc
  • java
  • objc
  • platform
  • proto
  • py
  • swift

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-03-15 UTC.

  • About

    • Who's using Bazel
    • Contribute
    • Governance model
  • Stay connected

    • Blog
    • GitHub
    • Twitter
    • YouTube
  • Support

    • Support
    • Issue tracker
    • Slack
    • Stack Overflow
  • Terms
  • Privacy
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • हिंदी
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어