🤖
Android Tips
  • 🤖AOSP
    • Clone AOSP repository
    • Directory Structure
    • Setup IDE
      • Setup VSCode
    • Build
      • BluePrint for Application Project
      • BluePrint for Android Library Project
    • Manifest
      • sharedUserId
      • persistant
  • Gradle
    • Create Custom Build Config Variables
    • Create Custom manifest Variables
    • Make app debugable
  • Android Process
    • Find a process by name
    • Kill a process by Id
  • Catch any exception in Android
  • 🎨Theming
    • Theming
      • RRO
        • RRO Internals
        • RRO classes in AOSP
        • RRO Example
        • RRO Permission
      • Fabricated RRO (FRRO)
        • FRRO Example
        • Permission
  • Lifecycle
    • Basics
      • Lifecycle
        • Activity
        • Fragment
          • Fragment add
    • Lifecycle Aware Custom Class
  • ℹ️Interview
    • Interview Questions
    • Architecture Pattern
      • MVC Architecture pattern
      • MVP Architecture Pattern
      • MVVM Architecture Pattern
  • ↔️AIDL
    • Simple AIDL Communication
      • Creating an AIDL file
      • Create an AIDL server
      • Create AIDL client
      • Limitations
    • AIDL with callback
      • Create AILD interfaces
      • Create an AIDL server
      • Create AIDL client
Powered by GitBook
On this page
  1. AOSP

Build

AOSP uses soong build which uses Android.bp for configuration

AOSP is build using fragmented Android.bp files.

Each module will contain one Android.bp file, Soong will build all the dependencies linked to one another.

Here are some of the Android soong build commands:

  • m - Builds the whole source code tree.

  • mma - Builds all of the modules in the current directory, and their dependencies.

  • mmma - Builds all of the modules in the supplied directories, and their dependencies.

  • croot - cd to the top of the tree.

  • clean - Deletes all of the output and intermediate files for this configuration.

  • soong_ui - Starts the Soong UI, which allows you to interactively build and debug your Android project.

  • soong_build - Builds your Android project using the Soong build system.

Mostly, we need 2 different type of Android.bp configurations:

PreviousSetup VSCodeNextBluePrint for Application Project

Last updated 1 year ago

🤖