blob: 6584ef27ca73ee88375cfa7204670d89f27ba56f [file] [log] [blame]
Guang Zhu7afa91e2015-02-06 00:44:34 -08001# Copyright (C) 2015 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15cts_module_test_config := $(if $(wildcard \
16 $(LOCAL_PATH)/$(CTS_MODULE_TEST_CONFIG)), \
Guang Zhu17db1092015-05-05 13:41:40 -070017 $(CTS_TESTCASES_OUT)/$(LOCAL_MODULE).config)
Guang Zhu7afa91e2015-02-06 00:44:34 -080018ifneq ($(cts_module_test_config),)
Ying Wang33263752015-03-03 10:25:53 -080019$(cts_module_test_config): $(LOCAL_PATH)/$(CTS_MODULE_TEST_CONFIG) | $(ACP)
Guang Zhu7afa91e2015-02-06 00:44:34 -080020 $(call copy-file-to-target)
21endif