OSDN Git Service

Add '-unstable' to solve ODR violation
authorJeongik Cha <jeongik@google.com>
Fri, 14 Aug 2020 14:51:36 +0000 (23:51 +0900)
committerJeongik Cha <jeongik@google.com>
Fri, 11 Sep 2020 06:49:21 +0000 (06:49 +0000)
The interface which is imported by an unstable interface is 'unstable'
as well. Until now, the ODR violation checker in aidl has omitted an
interface imported, but it will be checked, accordingly, fix the current
problem

Bug: 146436251
Test: m nothing
Change-Id: Id3c4bbc9149ba7c3e0a0d728026f02f60cb17424
Merged-In: Id3c4bbc9149ba7c3e0a0d728026f02f60cb17424
Exempt-From-Owner-Approval: cp from internal

Android.bp

index 039f60e..71a1ccf 100644 (file)
@@ -88,7 +88,7 @@ cc_library_static {
         export_aidl_headers: true,
     },
     whole_static_libs: [
-        "libincremental_aidl-cpp",
+        "libincremental_aidl-unstable-cpp",
     ],
 }