blob: 8502c59dd380c318bfd2ce6a004fce123e7c2e51 [file] [log] [blame]
The Android Open Source Projectf8057102009-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)
16include $(CLEAR_VARS)
17
Brett Chabot5a546332009-08-28 12:22:23 -070018# don't include this package in any target
Brett Chabotf9e03e12009-08-13 20:55:28 -070019LOCAL_MODULE_TAGS := optional
Stuart Scottc09a2e02013-11-15 13:03:29 -080020
Brett Chabot584d2b92011-02-03 17:56:49 -080021LOCAL_SRC_FILES := $(call all-java-files-under, src)
The Android Open Source Projectf8057102009-03-15 16:47:16 -070022
Stuart Scottf67280f2014-09-30 14:07:30 -070023LOCAL_PACKAGE_NAME := CtsSignatureTestCases
The Android Open Source Projectf8057102009-03-15 16:47:16 -070024
Stuart Scott2ff78ae2016-02-18 19:25:52 -080025# Tag this module as a cts test artifact
26LOCAL_COMPATIBILITY_SUITE := cts
Stuart Scottd17e97a2015-09-29 12:36:55 -070027
Bill Napier31f8d502009-05-14 18:07:17 -070028LOCAL_SDK_VERSION := current
29
Sam Linc33578b2017-04-13 16:58:00 -070030LOCAL_STATIC_JAVA_LIBRARIES := ctstestrunner \
31 compatibility-device-util \
32 android-support-test
Brett Chabota6ea2482014-01-09 14:32:20 -080033
Stuart Scottc09a2e02013-11-15 13:03:29 -080034include $(BUILD_CTS_PACKAGE)
The Android Open Source Projectf8057102009-03-15 16:47:16 -070035
Stuart Scottf67280f2014-09-30 14:07:30 -070036# signature-hostside java library (for testing)
37# ============================================================
38
39include $(CLEAR_VARS)
40
41# These files are for device-side only, so filter-out for host library
Nicholas Sauer3c987ef2016-06-24 15:52:13 -070042LOCAL_DEVICE_ONLY_SOURCES := %/SignatureTest.java %/IntentTest.java %/CurrentApi.java
Stuart Scottf67280f2014-09-30 14:07:30 -070043
44LOCAL_SRC_FILES := $(filter-out $(LOCAL_DEVICE_ONLY_SOURCES), $(call all-java-files-under, src))
45
46LOCAL_MODULE := signature-hostside
47
48LOCAL_MODULE_TAGS := optional
49
Stuart Scottd17e97a2015-09-29 12:36:55 -070050include $(BUILD_HOST_JAVA_LIBRARY)
51
52include $(call all-makefiles-under,$(LOCAL_PATH))