Properly use versioned interfaces.

Our stable AIDL interfaces need to use versioned build targets,
otherwise getVersion will always return 0, which makes it
impossible to support different components at different versions.

List generated with:
find . -name Android.bp -exec egrep \
    -H "(netd|dnsresolver|ipmemorystore|networkstack).aidl.interface(s?)-(java|cpp)" {} \; \
    | grep -v oemnetd | grep -v tests/

Test: m
Bug: 133124190
(cherry-pick from aosp/968011)
Merged-In: Idf49e840263ef32b9ee4fafa6718d4f893ea7c87
(cherry picked from commit 433f7c4178aaadac7d6a5f6727f39ef83342d436)

Change-Id: I77e2291b52fda24ee01e1b22ddafe4fe7368959e
This commit is contained in:
Lorenzo Colitti
2019-05-22 01:20:45 -07:00
committed by Remi NGUYEN VAN
parent b95ade4679
commit 781db272f3

View File

@@ -56,7 +56,7 @@ java_defaults {
"libutilscallstack",
"libziparchive",
"libz",
"netd_aidl_interface-cpp",
"netd_aidl_interface-V2-cpp",
"libnetworkstatsfactorytestjni",
],
}