aosp-getting-started

star 86

AOSP Part I — Getting Started. Use when reasoning about the AOSP source tree at a high level, the repo/manifest workflow, the Soong (Android.bp) and Bazel/Kleaf build systems, lunch targets, the m build entry point, or aconfig feature flags (build-time vs. runtime, release configs, ramp/cleanup workflows). Chapters 0–3 (Frontmatter, Introduction, Source Code & Build System, Feature Flags).

aospbooks By aospbooks schedule Updated 6/16/2026

name: aosp-getting-started description: | AOSP Part I — Getting Started. Use when reasoning about the AOSP source tree at a high level, the repo/manifest workflow, the Soong (Android.bp) and Bazel/Kleaf build systems, lunch targets, the m build entry point, or aconfig feature flags (build-time vs. runtime, release configs, ramp/cleanup workflows). Chapters 1–3 (Introduction, Source Code & Build System, Feature Flags). metadata: author: 'utzcoz' version: '2026.06.24' last-updated: '2026-06-24'

AOSP Part I — Getting Started

Foundational chapters that orient a reader to AOSP, its source tree, how to sync and build it, and how feature gating works across the platform.

Chapters in this Part

  • 01-introduction.md — what AOSP is vs. Android, the layer-cake architecture, source-tree tour, who maintains what, version history
  • 02-source-and-build.md — repo/manifest, Soong (Android.bp), Bazel-from-Soong, Kleaf for the kernel, lunch targets, the m workflow
  • 03-feature-flags.md — aconfig declarations, generated Java/C++ accessors, build-time vs. runtime flags, release configs, ramp-and-cleanup workflow

When to load which chapter

  • Question is "what is AOSP / where do I start" → 01-introduction.md
  • Question mentions Soong, Bazel, Kleaf, repo, manifest, lunch, or m → 02-source-and-build.md
  • Question mentions feature flags, aconfig, release configs, or read_only flags → 03-feature-flags.md
Install via CLI
npx skills add https://github.com/aospbooks/aosp-internal-book --skill aosp-getting-started
Repository Details
star Stars 86
call_split Forks 19
navigation Branch main
article Path SKILL.md
More from Creator