blob: 98cde9b8744f2745a9779d39c7d20686534df6a4 [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
Narayan Kamath505728b2014-12-12 10:55:51 +000027LOCAL_JAVA_LIBRARIES := voip-common conscrypt org.apache.http.legacy
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -070028
Erik Kline1c542da2015-05-14 17:20:39 +090029LOCAL_JNI_SHARED_LIBRARIES := libcts_jni libnativedns_jni \
Dimitry Ivanov04d19df2016-01-12 11:49:57 -080030 libnativemultinetwork_jni libnativehelper_compat_libc++
Robert Greenwalt9ac09492013-02-05 11:02:49 -080031
Chia-chi Yeh42315152012-02-28 14:05:12 -080032# include CtsTestServer as a temporary hack to free net.cts from cts.stub.
Brian Muramatsu248128f2012-03-05 18:46:33 -080033LOCAL_SRC_FILES := $(call all-java-files-under, src)
The Android Open Source Project8aa1b8f2009-03-15 16:47:16 -070034
35LOCAL_PACKAGE_NAME := CtsNetTestCases
36
Paul Duffin038b6a42017-01-10 12:08:43 +000037LOCAL_STATIC_JAVA_LIBRARIES := \
38 core-tests-support \
39 compatibility-device-util \
40 ctstestrunner \
41 ctstestserver \
42 mockwebserver \
43 junit \
44 legacy-android-test
Brian Muramatsu248128f2012-03-05 18:46:33 -080045
Brett Chabotcf8d7412014-01-09 14:32:20 -080046# uncomment when b/13249961 is fixed
Brett Chabotdcccc542009-09-11 15:26:23 -070047#LOCAL_SDK_VERSION := current
The Android Open Source Project3cae4df2009-03-18 17:39:42 -070048
Stuart Scotta9e563c2016-02-18 19:25:52 -080049# Tag this module as a cts test artifact
50LOCAL_COMPATIBILITY_SUITE := cts
Nash Lincolnde952232015-09-17 13:46:25 -070051
Brian Muramatsu59be1692011-12-28 15:46:57 -080052include $(BUILD_CTS_PACKAGE)
Robert Greenwalt9ac09492013-02-05 11:02:49 -080053
54include $(call all-makefiles-under,$(LOCAL_PATH))