Guang Zhu | 7afa91e | 2015-02-06 00:44:34 -0800 | [diff] [blame] | 1 | # 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 | |
| 15 | cts_module_test_config := $(if $(wildcard \ |
| 16 | $(LOCAL_PATH)/$(CTS_MODULE_TEST_CONFIG)), \ |
Guang Zhu | 17db109 | 2015-05-05 13:41:40 -0700 | [diff] [blame] | 17 | $(CTS_TESTCASES_OUT)/$(LOCAL_MODULE).config) |
Guang Zhu | 7afa91e | 2015-02-06 00:44:34 -0800 | [diff] [blame] | 18 | ifneq ($(cts_module_test_config),) |
Ying Wang | 3326375 | 2015-03-03 10:25:53 -0800 | [diff] [blame] | 19 | $(cts_module_test_config): $(LOCAL_PATH)/$(CTS_MODULE_TEST_CONFIG) | $(ACP) |
Guang Zhu | 7afa91e | 2015-02-06 00:44:34 -0800 | [diff] [blame] | 20 | $(call copy-file-to-target) |
| 21 | endif |