Listing Installed Files in AOSP with make dump-files

How to use make dump-files in AOSP to list all files that will be installed into the product output directory.
April 23, 2026

Listing Installed Files in AOSP with make dump-files

In the AOSP build system, the make dump-files command lets you see the list of files that will be installed for the current target product.
The output goes to stdout (not a separate file) and lists relative paths based on PRODUCT_OUT.

1. Run dump-files

Initialize the build environment, then run the following command.
Run make dump-files
sh

2. Redirect Output to a File

Since the output can be large, redirecting it to a file makes it easier to analyze.
Save output to a file
sh

3. Compare Before and After Configuration Changes

By saving the output before and after a configuration change, you can use diff to immediately see which files were added or removed.
Diff between two dump-files
sh
This is useful for verifying that only the intended files are included after changing product configuration (e.g., PRODUCT_PACKAGES).
Jooojub
System S/W engineer
Explore Tags
Series
    Recent Post
    © 2026. jooojub. All right reserved.