Keun Soo Yim | ed7efdf | 2016-07-06 11:07:10 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2016 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 | |
| 17 | VTS_TESTCASES_OUT := $(HOST_OUT)/vts/android-vts/testcases |
Keun Soo Yim | ed7efdf | 2016-07-06 11:07:10 -0700 | [diff] [blame] | 18 | |
Keun Soo Yim | ac3df5c | 2016-07-16 10:00:16 -0700 | [diff] [blame] | 19 | ifeq ($(LOCAL_32_BIT_ONLY),true) |
| 20 | vts_framework_lib_file := $(VTS_TESTCASES_OUT)/$(LOCAL_MODULE).so |
| 21 | else |
| 22 | vts_framework_lib_file := $(VTS_TESTCASES_OUT)/$(LOCAL_MODULE)64.so |
| 23 | endif |
| 24 | |
Ryan Campbell | ee30a84 | 2016-08-12 16:59:23 -0700 | [diff] [blame] | 25 | ifeq ($(strip $(my_module_multilib)), 32) |
| 26 | shared_lib := $(call intermediates-dir-for,SHARED_LIBRARIES,$(LOCAL_MODULE),,,true) |
| 27 | else |
| 28 | shared_lib := $(call intermediates-dir-for,SHARED_LIBRARIES,$(LOCAL_MODULE)) |
| 29 | endif |
| 30 | |
| 31 | $(vts_framework_lib_file): $(shared_lib)/LINKED/$(LOCAL_MODULE).so | $(ACP) |
Keun Soo Yim | ed7efdf | 2016-07-06 11:07:10 -0700 | [diff] [blame] | 32 | $(hide) mkdir -p $(VTS_TESTCASES_OUT) |
| 33 | $(hide) $(ACP) -fp $< $@ |
| 34 | |
Keun Soo Yim | ac3df5c | 2016-07-16 10:00:16 -0700 | [diff] [blame] | 35 | vts: $(vts_framework_lib_file) |
Keun Soo Yim | ed7efdf | 2016-07-06 11:07:10 -0700 | [diff] [blame] | 36 | |