blob: bb1f4c73c4d6dcbdccf52081402bad5faa128ed0 [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 \
Paul Duffinbed51fc2017-12-08 00:02:41 +000029 org.apache.http.legacy \
Jiyong Parke2fea862018-01-24 15:10:49 +090030 android.test.base.stubs \
Paul Duffinbed51fc2017-12-08 00:02:41 +000031
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -070032
Erik Kline1c542da2015-05-14 17:20:39 +090033LOCAL_JNI_SHARED_LIBRARIES := libcts_jni libnativedns_jni \
Dimitry Ivanov04d19df2016-01-12 11:49:57 -080034 libnativemultinetwork_jni libnativehelper_compat_libc++
Robert Greenwalt9ac09492013-02-05 11:02:49 -080035
Chia-chi Yeh42315152012-02-28 14:05:12 -080036# include CtsTestServer as a temporary hack to free net.cts from cts.stub.
Brian Muramatsu248128f2012-03-05 18:46:33 -080037LOCAL_SRC_FILES := $(call all-java-files-under, src)
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -070038
39LOCAL_PACKAGE_NAME := CtsNetTestCases
40
Paul Duffin038b6a42017-01-10 12:08:43 +000041LOCAL_STATIC_JAVA_LIBRARIES := \
42 core-tests-support \
43 compatibility-device-util \
44 ctstestrunner \
45 ctstestserver \
46 mockwebserver \
Ricky Wai087de1c2018-03-23 19:56:57 +000047 junit \
Paul Duffin7131af62018-10-12 13:17:47 +010048 junit-params \
49 truth-prebuilt \
50
Brian Muramatsu248128f2012-03-05 18:46:33 -080051
Brett Chabotcf8d7412014-01-09 14:32:20 -080052# uncomment when b/13249961 is fixed
Brett Chabotdcccc542009-09-11 15:26:23 -070053#LOCAL_SDK_VERSION := current
Anton Hansson9a9ceef2018-02-22 14:33:32 +000054LOCAL_PRIVATE_PLATFORM_APIS := true
The Android Open Source Project3cae4df2009-03-18 17:39:42 -070055
Stuart Scotta9e563c2016-02-18 19:25:52 -080056# Tag this module as a cts test artifact
nickrose02fa5a52017-07-05 12:38:06 -070057LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
Nash Lincolnde952232015-09-17 13:46:25 -070058
Brian Muramatsu59be1692011-12-28 15:46:57 -080059include $(BUILD_CTS_PACKAGE)
Robert Greenwalt9ac09492013-02-05 11:02:49 -080060
61include $(call all-makefiles-under,$(LOCAL_PATH))