Bazel Concepts
This section explains the core concepts and principles behind Bazel. Understanding these concepts will help you use Bazel effectively.
Core Concepts
- Basic building blocks
- How components interact
- Build process overview
- Understanding Bazel labels
- Different types of targets
- Naming and referencing
- Package organization
- Visibility rules
- Access control
Build Process
- Types of dependencies
- How actions work
- Build graph
- Build-time vs runtime dependencies
- Configuration differences
- Resource management
Environment and Execution
- Hermetic builds
- Toolchain management
- Platform configuration
- Distributed builds
- Remote caching
- Execution services
Advanced Topics
- Custom rules
- Rule implementation
- Starlark basics
- Rule interfaces
- Cross-cutting functionality
- Build analysis
- Module management
- Version resolution
- Publishing modules
