am 8dd25905: Merge "Create /system/lib(64)? symlinks for host tests."
* commit '8dd2590549ac85b2fe20329842cf385fb3ed5c95': Create /system/lib(64)? symlinks for host tests.
This commit is contained in:
commit
3a43e9f5db
@ -408,12 +408,15 @@ bionic-unit-tests-run-on-host-prepare: $(TARGET_OUT_EXECUTABLES)/$(LINKER) $(TAR
|
|||||||
mkdir -p $(TARGET_OUT_DATA)/local/tmp
|
mkdir -p $(TARGET_OUT_DATA)/local/tmp
|
||||||
ln -fs `realpath $(TARGET_OUT)/bin` /system/
|
ln -fs `realpath $(TARGET_OUT)/bin` /system/
|
||||||
ln -fs `realpath $(TARGET_OUT)/etc` /system/
|
ln -fs `realpath $(TARGET_OUT)/etc` /system/
|
||||||
|
ln -fs `realpath $(TARGET_OUT)/lib` /system/
|
||||||
|
if [ -d "$(TARGET_OUT)/lib64" ]; then \
|
||||||
|
ln -fs `realpath $(TARGET_OUT)/lib64` /system/; \
|
||||||
|
fi
|
||||||
|
|
||||||
bionic-unit-tests-run-on-host: bionic-unit-tests bionic-unit-tests-run-on-host-prepare
|
bionic-unit-tests-run-on-host: bionic-unit-tests bionic-unit-tests-run-on-host-prepare
|
||||||
ANDROID_DATA=$(TARGET_OUT_DATA) \
|
ANDROID_DATA=$(TARGET_OUT_DATA) \
|
||||||
ANDROID_DNS_MODE=local \
|
ANDROID_DNS_MODE=local \
|
||||||
ANDROID_ROOT=$(TARGET_OUT) \
|
ANDROID_ROOT=$(TARGET_OUT) \
|
||||||
LD_LIBRARY_PATH=$(TARGET_OUT_SHARED_LIBRARIES) \
|
|
||||||
$(TARGET_OUT_DATA_NATIVE_TESTS)/bionic-unit-tests/bionic-unit-tests$(NATIVE_TEST_SUFFIX) $(BIONIC_TEST_FLAGS)
|
$(TARGET_OUT_DATA_NATIVE_TESTS)/bionic-unit-tests/bionic-unit-tests$(NATIVE_TEST_SUFFIX) $(BIONIC_TEST_FLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -423,7 +426,6 @@ bionic-unit-tests-run-on-host32: bionic-unit-tests_32 bionic-unit-tests-run-on-h
|
|||||||
ANDROID_DATA=$(TARGET_OUT_DATA) \
|
ANDROID_DATA=$(TARGET_OUT_DATA) \
|
||||||
ANDROID_DNS_MODE=local \
|
ANDROID_DNS_MODE=local \
|
||||||
ANDROID_ROOT=$(TARGET_OUT) \
|
ANDROID_ROOT=$(TARGET_OUT) \
|
||||||
LD_LIBRARY_PATH=$(2ND_TARGET_OUT_SHARED_LIBRARIES) \
|
|
||||||
$(2ND_TARGET_OUT_DATA_NATIVE_TESTS)/bionic-unit-tests/bionic-unit-tests32 $(BIONIC_TEST_FLAGS)
|
$(2ND_TARGET_OUT_DATA_NATIVE_TESTS)/bionic-unit-tests/bionic-unit-tests32 $(BIONIC_TEST_FLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user