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
AOSP 빌드 시스템에서 make dump-files 명령어를 사용하면 현재 타겟 제품에 설치될 파일들의 목록을 확인할 수 있습니다.
결과는 별도 파일이 아닌 stdout으로 출력되며,
결과는 별도 파일이 아닌 stdout으로 출력되며,
PRODUCT_OUT 기준의 상대 경로로 나열됩니다.1. Run dump-files
빌드 환경을 초기화한 후 아래 명령어를 실행합니다.
Run make dump-filessh
2. Redirect Output to a File
출력량이 많으므로 리다이렉션으로 파일에 저장해두면 분석이 편리합니다.
Save output to a filesh
3. Compare Before and After Configuration Changes
설정 변경 전후로 각각 저장해두면
diff로 어떤 파일이 추가되거나 제거되었는지 바로 확인할 수 있습니다.Diff between two dump-filessh
제품 설정(
PRODUCT_PACKAGES 등) 변경 후 의도한 파일만 포함되었는지 검증할 때 유용합니다.