blob: 143be5bde0ec041a575b7b88b8f925ab03f90a5c [file] [log] [blame]
Dimitry Ivanova36e59b2016-09-01 11:37:39 -07001#
2# Copyright (C) 2014 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17build_type := target
18# 1. Install test libraries to /data/nativetests../bionic-loader-test-libs/
19# by default.
20ifeq ($($(module)_relative_install_path),)
21 $(module)_install_to_out_data_dir := bionic-loader-test-libs
22else
23 $(module)_install_to_out_data_dir := bionic-loader-test-libs/$($(module)_relative_install_path)
24endif
25# 2. Set dt_runpath to origin to resolve dependencies
26$(module)_ldflags += -Wl,--rpath,\$${ORIGIN} -Wl,--enable-new-dtags
27include $(TEST_PATH)/Android.build.mk
28
29bionic-loader-test-libs-target: $(LOCAL_MODULE)
30