OSDN Git Service

[fuzzing] Add liblog dependency.
authorMitch Phillips <mitchp@google.com>
Tue, 22 Sep 2020 20:44:23 +0000 (13:44 -0700)
committerMitch Phillips <mitchp@google.com>
Wed, 23 Sep 2020 01:39:54 +0000 (18:39 -0700)
Static dependencies don't carry transient dynamic dependencies to the
link line. We need to link liblog as it's a necessary dependency, and
this is revealed with a new toolchain update. For more info, see the
bug.

Tag: #refactor
Bug: 131771163
Test: gd/fuzz/run libosi_fuzz_list
Change-Id: I9404ef275cf1814ac4803d8478af46cd949cd8e7

osi/test/fuzzers/allocator/Android.bp
osi/test/fuzzers/list/Android.bp
osi/test/fuzzers/ringbuffer/Android.bp

index 90db372..1add880 100644 (file)
@@ -7,5 +7,6 @@ cc_fuzz {
     ],
     static_libs: [
         "libosi",
+        "liblog",
     ],
 }
index 2b664bc..8c72dd8 100644 (file)
@@ -7,5 +7,6 @@ cc_fuzz {
     ],
     static_libs: [
         "libosi",
+        "liblog",
     ],
 }
index 4343e02..095ebad 100644 (file)
@@ -7,5 +7,6 @@ cc_fuzz {
     ],
     static_libs: [
         "libosi",
+        "liblog",
     ],
 }