AIDL: Add outline filtering
Add prioritization of methods to be outlined.
Add test coverage.
Effect on boot image files:
Against Change I06b12e0af79ecb7934f971c2504a16e531cacd68:
* boot-framework.art -0.12%
* boot-framework.oat +0.39%
* boot-framework.vdex -0.13%
* overall increase +0.02%
Against pre-I06b12e0af79ecb7934f971c2504a16e531cacd68:
* boot-framework.art +0.06%
* boot-framework.oat +0.62%
* boot-framework.vdex -0.01%
* overall increase +0.11%
Bug: 69622177
Test: m
Test: system/tools/aidl/runtests.sh
Test: Device boots
Change-Id: Ib8d93b98c741e0b89860decab996bc6ba6111369
diff --git a/aidl.cpp b/aidl.cpp
index 142f5f2..e0eef0d 100644
--- a/aidl.cpp
+++ b/aidl.cpp
@@ -742,7 +742,7 @@
}
return generate_java(output_file_name, options.input_file_name_.c_str(),
- interface.get(), types.get(), io_delegate);
+ interface.get(), types.get(), io_delegate, options);
}
bool preprocess_aidl(const JavaOptions& options,