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) |
Paul Duffin | 20802de | 2017-07-04 15:12:05 +0100 | [diff] [blame] | 16 | |
| 17 | # cts-signature-common java library |
| 18 | # ================================= |
| 19 | |
The Android Open Source Project | f805710 | 2009-03-15 16:47:16 -0700 | [diff] [blame] | 20 | include $(CLEAR_VARS) |
| 21 | |
Brett Chabot | 5a54633 | 2009-08-28 12:22:23 -0700 | [diff] [blame] | 22 | # don't include this package in any target |
Brett Chabot | f9e03e1 | 2009-08-13 20:55:28 -0700 | [diff] [blame] | 23 | LOCAL_MODULE_TAGS := optional |
Stuart Scott | c09a2e0 | 2013-11-15 13:03:29 -0800 | [diff] [blame] | 24 | |
Brett Chabot | 584d2b9 | 2011-02-03 17:56:49 -0800 | [diff] [blame] | 25 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
The Android Open Source Project | f805710 | 2009-03-15 16:47:16 -0700 | [diff] [blame] | 26 | |
Mathew Inwood | f585217 | 2018-03-01 13:12:20 +0000 | [diff] [blame] | 27 | LOCAL_JNI_SHARED_LIBRARIES := libcts_dexchecker |
| 28 | |
Paul Duffin | 20802de | 2017-07-04 15:12:05 +0100 | [diff] [blame] | 29 | LOCAL_MODULE := cts-signature-common |
Stuart Scott | d17e97a | 2015-09-29 12:36:55 -0700 | [diff] [blame] | 30 | |
Bill Napier | 31f8d50 | 2009-05-14 18:07:17 -0700 | [diff] [blame] | 31 | LOCAL_SDK_VERSION := current |
| 32 | |
Paul Duffin | 20802de | 2017-07-04 15:12:05 +0100 | [diff] [blame] | 33 | include $(BUILD_STATIC_JAVA_LIBRARY) |
The Android Open Source Project | f805710 | 2009-03-15 16:47:16 -0700 | [diff] [blame] | 34 | |
Stuart Scott | f67280f | 2014-09-30 14:07:30 -0700 | [diff] [blame] | 35 | # signature-hostside java library (for testing) |
| 36 | # ============================================================ |
| 37 | |
| 38 | include $(CLEAR_VARS) |
| 39 | |
| 40 | # These files are for device-side only, so filter-out for host library |
Mathew Inwood | f585217 | 2018-03-01 13:12:20 +0000 | [diff] [blame] | 41 | LOCAL_DEVICE_ONLY_SOURCES := %/CurrentApi.java %/ApiDocumentParser.java %/DexMemberChecker.java |
Stuart Scott | f67280f | 2014-09-30 14:07:30 -0700 | [diff] [blame] | 42 | |
| 43 | LOCAL_SRC_FILES := $(filter-out $(LOCAL_DEVICE_ONLY_SOURCES), $(call all-java-files-under, src)) |
| 44 | |
| 45 | LOCAL_MODULE := signature-hostside |
| 46 | |
| 47 | LOCAL_MODULE_TAGS := optional |
| 48 | |
Stuart Scott | d17e97a | 2015-09-29 12:36:55 -0700 | [diff] [blame] | 49 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 50 | |
| 51 | include $(call all-makefiles-under,$(LOCAL_PATH)) |