blob: 83865f8f4fe09530023ccc0697b1004f6d4aab3a [file] [log] [blame]
Keun Soo Yimed7efdf2016-07-06 11:07:10 -07001#
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
17VTS_TESTCASES_OUT := $(HOST_OUT)/vts/android-vts/testcases
Keun Soo Yimed7efdf2016-07-06 11:07:10 -070018
Keun Soo Yimac3df5c2016-07-16 10:00:16 -070019ifeq ($(LOCAL_32_BIT_ONLY),true)
20vts_framework_lib_file := $(VTS_TESTCASES_OUT)/$(LOCAL_MODULE).so
21else
22vts_framework_lib_file := $(VTS_TESTCASES_OUT)/$(LOCAL_MODULE)64.so
23endif
24
Ryan Campbellee30a842016-08-12 16:59:23 -070025ifeq ($(strip $(my_module_multilib)), 32)
26shared_lib := $(call intermediates-dir-for,SHARED_LIBRARIES,$(LOCAL_MODULE),,,true)
27else
28shared_lib := $(call intermediates-dir-for,SHARED_LIBRARIES,$(LOCAL_MODULE))
29endif
30
31$(vts_framework_lib_file): $(shared_lib)/LINKED/$(LOCAL_MODULE).so | $(ACP)
Keun Soo Yimed7efdf2016-07-06 11:07:10 -070032 $(hide) mkdir -p $(VTS_TESTCASES_OUT)
33 $(hide) $(ACP) -fp $< $@
34
Keun Soo Yimac3df5c2016-07-16 10:00:16 -070035vts: $(vts_framework_lib_file)
Keun Soo Yimed7efdf2016-07-06 11:07:10 -070036