Richard Uhler | d9caa9b | 2018-02-14 11:08:13 +0000 | [diff] [blame] | 1 | # Copyright (C) 2017 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 | |
Richard Uhler | a2a7000 | 2018-02-14 11:10:16 +0000 | [diff] [blame] | 17 | # --- ammtestjni.so ------------- |
| 18 | include $(CLEAR_VARS) |
| 19 | LOCAL_MODULE := libammtestjni |
| 20 | LOCAL_SRC_FILES := $(call all-c-files-under, AmmTest/jni) |
| 21 | LOCAL_SDK_VERSION := current |
| 22 | include $(BUILD_SHARED_LIBRARY) |
| 23 | |
Richard Uhler | d9caa9b | 2018-02-14 11:08:13 +0000 | [diff] [blame] | 24 | # --- AmmTest.apk -------------- |
| 25 | include $(CLEAR_VARS) |
| 26 | LOCAL_PACKAGE_NAME := AmmTest |
| 27 | LOCAL_MODULE_TAGS := samples tests |
| 28 | LOCAL_SRC_FILES := $(call all-java-files-under, AmmTest/src) |
Richard Uhler | a2a7000 | 2018-02-14 11:10:16 +0000 | [diff] [blame] | 29 | LOCAL_SDK_VERSION := current |
| 30 | LOCAL_JNI_SHARED_LIBRARIES := libammtestjni |
Richard Uhler | ae724e1 | 2018-02-14 11:09:11 +0000 | [diff] [blame] | 31 | LOCAL_JAVA_RESOURCE_FILES := $(LOCAL_PATH)/AmmTest/aahat.png |
Richard Uhler | d9caa9b | 2018-02-14 11:08:13 +0000 | [diff] [blame] | 32 | LOCAL_MANIFEST_FILE := AmmTest/AndroidManifest.xml |
| 33 | include $(BUILD_PACKAGE) |
| 34 | |