From 5c99a0c067f4324b90f5aa588502c6a9fbf079fd Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Mon, 18 Mar 2019 17:37:36 +0000 Subject: [PATCH] Include tests directories in the linker legacy configuration. Make ld.config.legacy.txt similar to other linker configurations with respect to tests in /data/{nativetest,benchmarktest}{,64}. Note: The linker legacy configuration is used by the ART generic build targets, defined in project device/generic/art. Test: ART chroot-based on-device testing using the master-art Bug: 121117762 Change-Id: I6c8fafa2568862e450aa7b9fea1177a184cb9705 --- rootdir/etc/ld.config.legacy.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootdir/etc/ld.config.legacy.txt b/rootdir/etc/ld.config.legacy.txt index d282cfa70..fa463343c 100644 --- a/rootdir/etc/ld.config.legacy.txt +++ b/rootdir/etc/ld.config.legacy.txt @@ -11,6 +11,11 @@ dir.legacy = /vendor dir.legacy = /odm dir.legacy = /sbin +dir.legacy = /data/nativetest +dir.legacy = /data/nativetest64 +dir.legacy = /data/benchmarktest +dir.legacy = /data/benchmarktest64 + # Except for /postinstall, where only /system and /product are searched dir.postinstall = /postinstall