blob: 84d7cecab7488f267093d9161645550ead6ca73e [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)
Paul Duffin20802de2017-07-04 15:12:05 +010016
17# cts-signature-common java library
18# =================================
19
The Android Open Source Projectf8057102009-03-15 16:47:16 -070020include $(CLEAR_VARS)
21
Brett Chabot5a546332009-08-28 12:22:23 -070022# don't include this package in any target
Brett Chabotf9e03e12009-08-13 20:55:28 -070023LOCAL_MODULE_TAGS := optional
Stuart Scottc09a2e02013-11-15 13:03:29 -080024
Brett Chabot584d2b92011-02-03 17:56:49 -080025LOCAL_SRC_FILES := $(call all-java-files-under, src)
The Android Open Source Projectf8057102009-03-15 16:47:16 -070026
Mathew Inwoodf5852172018-03-01 13:12:20 +000027LOCAL_JNI_SHARED_LIBRARIES := libcts_dexchecker
28
Paul Duffin20802de2017-07-04 15:12:05 +010029LOCAL_MODULE := cts-signature-common
Stuart Scottd17e97a2015-09-29 12:36:55 -070030
Bill Napier31f8d502009-05-14 18:07:17 -070031LOCAL_SDK_VERSION := current
32
Paul Duffin20802de2017-07-04 15:12:05 +010033include $(BUILD_STATIC_JAVA_LIBRARY)
The Android Open Source Projectf8057102009-03-15 16:47:16 -070034
Stuart Scottf67280f2014-09-30 14:07:30 -070035# signature-hostside java library (for testing)
36# ============================================================
37
38include $(CLEAR_VARS)
39
40# These files are for device-side only, so filter-out for host library
Mathew Inwoodf5852172018-03-01 13:12:20 +000041LOCAL_DEVICE_ONLY_SOURCES := %/CurrentApi.java %/ApiDocumentParser.java %/DexMemberChecker.java
Stuart Scottf67280f2014-09-30 14:07:30 -070042
43LOCAL_SRC_FILES := $(filter-out $(LOCAL_DEVICE_ONLY_SOURCES), $(call all-java-files-under, src))
44
45LOCAL_MODULE := signature-hostside
46
47LOCAL_MODULE_TAGS := optional
48
Stuart Scottd17e97a2015-09-29 12:36:55 -070049include $(BUILD_HOST_JAVA_LIBRARY)
50
51include $(call all-makefiles-under,$(LOCAL_PATH))