The Android Open Source Project | f805710 | 2009-03-15 16:47:16 -0700 | [diff] [blame] | 1 | # 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 | |
| 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | include $(CLEAR_VARS) |
| 17 | |
Brett Chabot | 5a54633 | 2009-08-28 12:22:23 -0700 | [diff] [blame] | 18 | # don't include this package in any target |
Brett Chabot | f9e03e1 | 2009-08-13 20:55:28 -0700 | [diff] [blame] | 19 | LOCAL_MODULE_TAGS := optional |
Stuart Scott | c09a2e0 | 2013-11-15 13:03:29 -0800 | [diff] [blame] | 20 | |
Brett Chabot | 584d2b9 | 2011-02-03 17:56:49 -0800 | [diff] [blame] | 21 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
The Android Open Source Project | f805710 | 2009-03-15 16:47:16 -0700 | [diff] [blame] | 22 | |
Stuart Scott | f67280f | 2014-09-30 14:07:30 -0700 | [diff] [blame] | 23 | LOCAL_PACKAGE_NAME := CtsSignatureTestCases |
The Android Open Source Project | f805710 | 2009-03-15 16:47:16 -0700 | [diff] [blame] | 24 | |
Stuart Scott | 2ff78ae | 2016-02-18 19:25:52 -0800 | [diff] [blame] | 25 | # Tag this module as a cts test artifact |
| 26 | LOCAL_COMPATIBILITY_SUITE := cts |
Stuart Scott | d17e97a | 2015-09-29 12:36:55 -0700 | [diff] [blame] | 27 | |
Bill Napier | 31f8d50 | 2009-05-14 18:07:17 -0700 | [diff] [blame] | 28 | LOCAL_SDK_VERSION := current |
| 29 | |
Sam Lin | c33578b | 2017-04-13 16:58:00 -0700 | [diff] [blame] | 30 | LOCAL_STATIC_JAVA_LIBRARIES := ctstestrunner \ |
| 31 | compatibility-device-util \ |
| 32 | android-support-test |
Brett Chabot | a6ea248 | 2014-01-09 14:32:20 -0800 | [diff] [blame] | 33 | |
Stuart Scott | c09a2e0 | 2013-11-15 13:03:29 -0800 | [diff] [blame] | 34 | include $(BUILD_CTS_PACKAGE) |
The Android Open Source Project | f805710 | 2009-03-15 16:47:16 -0700 | [diff] [blame] | 35 | |
Stuart Scott | f67280f | 2014-09-30 14:07:30 -0700 | [diff] [blame] | 36 | # signature-hostside java library (for testing) |
| 37 | # ============================================================ |
| 38 | |
| 39 | include $(CLEAR_VARS) |
| 40 | |
| 41 | # These files are for device-side only, so filter-out for host library |
Nicholas Sauer | 3c987ef | 2016-06-24 15:52:13 -0700 | [diff] [blame] | 42 | LOCAL_DEVICE_ONLY_SOURCES := %/SignatureTest.java %/IntentTest.java %/CurrentApi.java |
Stuart Scott | f67280f | 2014-09-30 14:07:30 -0700 | [diff] [blame] | 43 | |
| 44 | LOCAL_SRC_FILES := $(filter-out $(LOCAL_DEVICE_ONLY_SOURCES), $(call all-java-files-under, src)) |
| 45 | |
| 46 | LOCAL_MODULE := signature-hostside |
| 47 | |
| 48 | LOCAL_MODULE_TAGS := optional |
| 49 | |
Stuart Scott | d17e97a | 2015-09-29 12:36:55 -0700 | [diff] [blame] | 50 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 51 | |
| 52 | include $(call all-makefiles-under,$(LOCAL_PATH)) |