blob: 1d4d54b64408aaae02f337c67f58b0cee545bb55 [file] [log] [blame]
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -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
Brett Chabot15051422009-08-28 12:22:23 -070019# don't include this package in any target
Brett Chabotf4ffdb92009-08-13 20:55:28 -070020LOCAL_MODULE_TAGS := optional
Brett Chabot15051422009-08-28 12:22:23 -070021# and when built explicitly put it in the data partition
22LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -070023
Unsuk Jung94995b12014-10-09 00:59:51 -070024# Include both the 32 and 64 bit versions
25LOCAL_MULTILIB := both
26
Paul Duffinbed51fc2017-12-08 00:02:41 +000027LOCAL_JAVA_LIBRARIES := \
28 voip-common \
29 conscrypt \
30 org.apache.http.legacy \
31 android.test.base \
32
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -070033
Erik Kline1c542da2015-05-14 17:20:39 +090034LOCAL_JNI_SHARED_LIBRARIES := libcts_jni libnativedns_jni \
Dimitry Ivanov04d19df2016-01-12 11:49:57 -080035 libnativemultinetwork_jni libnativehelper_compat_libc++
Robert Greenwalt9ac09492013-02-05 11:02:49 -080036
Chia-chi Yeh42315152012-02-28 14:05:12 -080037# include CtsTestServer as a temporary hack to free net.cts from cts.stub.
Brian Muramatsu248128f2012-03-05 18:46:33 -080038LOCAL_SRC_FILES := $(call all-java-files-under, src)
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -070039
40LOCAL_PACKAGE_NAME := CtsNetTestCases
41
Paul Duffin038b6a42017-01-10 12:08:43 +000042LOCAL_STATIC_JAVA_LIBRARIES := \
43 core-tests-support \
44 compatibility-device-util \
45 ctstestrunner \
46 ctstestserver \
47 mockwebserver \
Paul Duffinbed51fc2017-12-08 00:02:41 +000048 junit
Brian Muramatsu248128f2012-03-05 18:46:33 -080049
Brett Chabotcf8d7412014-01-09 14:32:20 -080050# uncomment when b/13249961 is fixed
Brett Chabotdcccc542009-09-11 15:26:23 -070051#LOCAL_SDK_VERSION := current
The Android Open Source Project3cae4df2009-03-18 17:39:42 -070052
Stuart Scotta9e563c2016-02-18 19:25:52 -080053# Tag this module as a cts test artifact
nickrose02fa5a52017-07-05 12:38:06 -070054LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
Nash Lincolnde952232015-09-17 13:46:25 -070055
Brian Muramatsu59be1692011-12-28 15:46:57 -080056include $(BUILD_CTS_PACKAGE)
Robert Greenwalt9ac09492013-02-05 11:02:49 -080057
58include $(call all-makefiles-under,$(LOCAL_PATH))