blob: 13daca657703c06b3203e954340daec301e648fa [file] [log] [blame]
Phil Dubach10aacdd2009-07-09 18:18:42 -07001# Copyright (C) 2008 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
Chong Zhang92ea38b2014-12-09 17:19:31 -080019LOCAL_SRC_FILES := \
20 src/android/media/cts/CodecImage.java \
21 src/android/media/cts/CodecUtils.java
22
23LOCAL_MODULE_TAGS := optional
24
25LOCAL_MODULE := ctsmediautil
26
27LOCAL_SDK_VERSION := current
28
29include $(BUILD_STATIC_JAVA_LIBRARY)
30
31include $(CLEAR_VARS)
32
Brett Chabot5a546332009-08-28 12:22:23 -070033# don't include this package in any target
Brett Chabotf9e03e12009-08-13 20:55:28 -070034LOCAL_MODULE_TAGS := optional
Brett Chabot5a546332009-08-28 12:22:23 -070035# and when built explicitly put it in the data partition
36LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
Phil Dubach10aacdd2009-07-09 18:18:42 -070037
Unsuk Jung2a3bf432014-10-09 00:59:51 -070038# include both the 32 and 64 bit versions
39LOCAL_MULTILIB := both
40
Chong Zhang92ea38b2014-12-09 17:19:31 -080041LOCAL_STATIC_JAVA_LIBRARIES := \
42 ctsmediautil ctsdeviceutil ctstestserver ctstestrunner
Phil Dubach10aacdd2009-07-09 18:18:42 -070043
Paul McLeanbd4939a2015-06-26 10:40:53 -070044LOCAL_JNI_SHARED_LIBRARIES := libctsmediacodec_jni libaudio_jni
Marco Nelissend04da012014-05-01 10:15:03 -070045
Phil Dubach10aacdd2009-07-09 18:18:42 -070046LOCAL_SRC_FILES := $(call all-java-files-under, src)
47
48LOCAL_PACKAGE_NAME := CtsMediaTestCases
49
Brett Chabota6ea2482014-01-09 14:32:20 -080050# uncomment when b/13249737 is fixed
Brett Chabot8ab99212009-09-11 15:26:23 -070051#LOCAL_SDK_VERSION := current
Narayan Kamathb07374d2014-12-12 10:55:51 +000052LOCAL_JAVA_LIBRARIES += android.test.runner org.apache.http.legacy
Phil Dubach10aacdd2009-07-09 18:18:42 -070053
Brian Muramatsu5df641c2011-12-28 15:46:57 -080054include $(BUILD_CTS_PACKAGE)
Marco Nelissend04da012014-05-01 10:15:03 -070055
56include $(call all-makefiles-under,$(LOCAL_PATH))