blob: 47030c5a7a8d4b6fdb11442da6949bd237d56691 [file] [log] [blame]
Richard Uhlerd9caa9b2018-02-14 11:08:13 +00001# 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
15LOCAL_PATH := $(call my-dir)
16
Richard Uhlera2a70002018-02-14 11:10:16 +000017# --- ammtestjni.so -------------
18include $(CLEAR_VARS)
19LOCAL_MODULE := libammtestjni
20LOCAL_SRC_FILES := $(call all-c-files-under, AmmTest/jni)
21LOCAL_SDK_VERSION := current
22include $(BUILD_SHARED_LIBRARY)
23
Richard Uhlerd9caa9b2018-02-14 11:08:13 +000024# --- AmmTest.apk --------------
25include $(CLEAR_VARS)
26LOCAL_PACKAGE_NAME := AmmTest
27LOCAL_MODULE_TAGS := samples tests
28LOCAL_SRC_FILES := $(call all-java-files-under, AmmTest/src)
Richard Uhlera2a70002018-02-14 11:10:16 +000029LOCAL_SDK_VERSION := current
30LOCAL_JNI_SHARED_LIBRARIES := libammtestjni
Richard Uhlerae724e12018-02-14 11:09:11 +000031LOCAL_JAVA_RESOURCE_FILES := $(LOCAL_PATH)/AmmTest/aahat.png
Richard Uhlerd9caa9b2018-02-14 11:08:13 +000032LOCAL_MANIFEST_FILE := AmmTest/AndroidManifest.xml
33include $(BUILD_PACKAGE)
34