Stop building unused dex.txt files

Testing with:
touch frameworks/base/core/java/android/view/View.java && time make -j framework

Before patch:
Run #1: 107.8 seconds
Run #2: 106.5 seconds
Run #3: 108.3 seconds
Average: 107.5 seconds

After patch:
Run #1: 105.5 seconds
Run #2: 105.6 seconds
Run #3: 105.0 seconds
Average: 105.4 seconds

Savings of 2.2 seconds (~2%)

Test: make framework
Bug: 151160048

Change-Id: Ic58875a315c9d1dc09b029d3de405a5f5648c46e
Merged-In: Ic58875a315c9d1dc09b029d3de405a5f5648c46e
This commit is contained in:
Aurimas Liutikas
2020-03-14 00:20:29 +00:00
committed by Anton Hansson
parent 85df93ed71
commit 9b7b73d91b

View File

@@ -145,7 +145,6 @@ droidstubs {
api_tag_name: "SYSTEM",
api_filename: "system-api.txt",
private_api_filename: "system-private.txt",
private_dex_api_filename: "system-private-dex.txt",
removed_api_filename: "system-removed.txt",
removed_dex_api_filename: "system-removed-dex.txt",
arg_files: [