Adnan Begovic | 37fc76f | 2015-05-05 17:37:05 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2015 The CyanogenMod Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
Adnan Begovic | 104a15a | 2015-04-29 17:33:24 -0700 | [diff] [blame] | 16 | LOCAL_PATH:= $(call my-dir) |
| 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | LOCAL_MODULE_TAGS := tests |
| 20 | |
| 21 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 22 | org.lineageos.platform.sdk \ |
Danesh M | b6e71bc | 2016-06-08 11:25:08 -0700 | [diff] [blame] | 23 | android-support-test \ |
| 24 | mockito-target |
Adnan Begovic | 104a15a | 2015-04-29 17:33:24 -0700 | [diff] [blame] | 25 | |
Adnan Begovic | ba01275 | 2016-03-03 10:51:57 -0800 | [diff] [blame] | 26 | LOCAL_DEX_PREOPT := false |
| 27 | |
Chris Sarbora | b9d7733 | 2015-08-06 14:14:47 -0700 | [diff] [blame] | 28 | LOCAL_SRC_FILES := $(call all-subdir-java-files, src/) |
Adnan Begovic | 104a15a | 2015-04-29 17:33:24 -0700 | [diff] [blame] | 29 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 30 | LOCAL_PACKAGE_NAME := LineagePlatformTests |
Adnan Begovic | 104a15a | 2015-04-29 17:33:24 -0700 | [diff] [blame] | 31 | LOCAL_CERTIFICATE := platform |
Adnan Begovic | e953794 | 2015-07-14 15:05:22 -0700 | [diff] [blame] | 32 | LOCAL_JAVA_LIBRARIES := android.test.runner |
Sam Mortimer | 1e5a24c | 2018-08-08 15:12:51 -0700 | [diff] [blame] | 33 | LOCAL_PROGUARD_ENABLED := optimization |
Adnan Begovic | ba01275 | 2016-03-03 10:51:57 -0800 | [diff] [blame] | 34 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Sam Mortimer | 283ab86 | 2018-08-08 15:12:02 -0700 | [diff] [blame] | 35 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Adnan Begovic | 104a15a | 2015-04-29 17:33:24 -0700 | [diff] [blame] | 36 | |
Adnan Begovic | cf0bfd3 | 2015-06-29 10:44:41 -0700 | [diff] [blame] | 37 | include $(BUILD_PACKAGE) |
Adnan Begovic | 7a48ce3 | 2016-06-06 14:21:43 -0700 | [diff] [blame] | 38 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 39 | # Register as LineageTS |
Adnan Begovic | 7a48ce3 | 2016-06-06 14:21:43 -0700 | [diff] [blame] | 40 | include $(CLEAR_VARS) |
| 41 | LOCAL_MODULE_TAGS := tests |
| 42 | |
| 43 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 44 | org.lineageos.platform.sdk \ |
Danesh M | b6e71bc | 2016-06-08 11:25:08 -0700 | [diff] [blame] | 45 | android-support-test \ |
| 46 | mockito-target |
Adnan Begovic | 7a48ce3 | 2016-06-06 14:21:43 -0700 | [diff] [blame] | 47 | |
| 48 | LOCAL_DEX_PREOPT := false |
| 49 | |
| 50 | LOCAL_SRC_FILES := $(call all-subdir-java-files, src/) |
| 51 | |
| 52 | LOCAL_PACKAGE_NAME := CmtsPlatformSDKTests |
| 53 | LOCAL_CERTIFICATE := platform |
| 54 | LOCAL_JAVA_LIBRARIES := android.test.runner |
Sam Mortimer | 1e5a24c | 2018-08-08 15:12:51 -0700 | [diff] [blame] | 55 | LOCAL_PROGUARD_ENABLED := optimization |
Adnan Begovic | 7a48ce3 | 2016-06-06 14:21:43 -0700 | [diff] [blame] | 56 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 57 | include $(BUILD_LineageTS_PACKAGE) |