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
This commit is contained in:
Aurimas Liutikas
2020-03-14 00:20:29 +00:00
parent c67dbaa94c
commit d8fdf73da9

View File

@@ -120,7 +120,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",
arg_files: [
"core/res/AndroidManifest.xml",
@@ -313,8 +312,6 @@ droidstubs {
arg_files: [
"core/res/AndroidManifest.xml",
],
dex_api_filename: "public-dex.txt",
private_dex_api_filename: "private-dex.txt",
removed_dex_api_filename: "removed-dex.txt",
args: metalava_framework_docs_args +
" --show-unannotated " +