1# 2# Copyright (C) 2012 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# build only for linux 18ifeq ($(HOST_OS),linux) 19 20CTS_AUDIO_TOP:= $(call my-dir) 21 22CTS_AUDIO_INSTALL_DIR := $(HOST_OUT)/cts_audio_quality 23 24cts_audio: cts_audio_quality_test cts_audio_quality CtsAudioClient $(CTS_AUDIO_TOP)/test_description 25 $(hide) mkdir -p $(CTS_AUDIO_INSTALL_DIR) 26 $(hide) mkdir -p $(CTS_AUDIO_INSTALL_DIR)/client 27 $(hide) $(ACP) -fp $(ANDROID_PRODUCT_OUT)/data/app/CtsAudioClient.apk \ 28 $(CTS_AUDIO_INSTALL_DIR)/client 29 $(hide) $(ACP) -fp $(HOST_OUT)/bin/cts_audio_quality_test $(CTS_AUDIO_INSTALL_DIR) 30 $(hide) $(ACP) -fp $(HOST_OUT)/bin/cts_audio_quality $(CTS_AUDIO_INSTALL_DIR) 31 $(hide) $(ACP) -fr $(CTS_AUDIO_TOP)/test_description $(CTS_AUDIO_INSTALL_DIR) 32 33include $(call all-subdir-makefiles) 34 35endif # linux 36