OSDN Git Service

codegen_test: Add missing dependency.
authorNarayan Kamath <narayan@google.com>
Wed, 8 Mar 2017 14:14:58 +0000 (14:14 +0000)
committerNarayan Kamath <narayan@google.com>
Wed, 8 Mar 2017 14:14:58 +0000 (14:14 +0000)
The lack of this dependency causes two categories of errors :
- Running without the simulator on clean builds, since the dlopen
  in code_simulator_container.cc fails (and that isn't fatal).
- Spurious crashes whilst running against an old version of
  libartd-simulator, coupled with the fact that the new / free
  pair are in different shared libs.

Test: make -j32 test-art-host-gtest-codegen_test64
Change-Id: Ifd59688e62e248fcaf06ef14350eec989b853a61

compiler/Android.bp

index 1ee2a21..c59e36b 100644 (file)
@@ -417,6 +417,7 @@ art_cc_test {
 
     shared_libs: [
         "libartd-compiler",
+        "libartd-simulator",
         "libvixld-arm",
         "libvixld-arm64",