blob: 6ef5b875a0ee17872b78d8167c2ba8e297563d81 [file] [log] [blame]
Przemyslaw Szczepaniaka8ff13f2018-05-17 14:19:44 +01001#
2# Copyright (C) 2015 The Android Open Source 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#
16
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
Brett Chabot443ca522018-12-13 19:06:57 -080021LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules
Przemyslaw Szczepaniakf1e93342018-10-10 14:16:53 +010022LOCAL_JAVA_LIBRARIES := android.test.runner.stubs android.test.base.stubs
Przemyslaw Szczepaniaka8ff13f2018-05-17 14:19:44 +010023
24LOCAL_MODULE_TAGS := tests
25LOCAL_COMPATIBILITY_SUITE += device-tests
26
27LOCAL_SRC_FILES := $(call all-java-files-under, src)
28LOCAL_PACKAGE_NAME := NeuralNetworksApiBenchmark
Viet Dangab62f602018-12-11 17:07:17 +000029LOCAL_JNI_SHARED_LIBRARIES := libnnbenchmark_jni
Przemyslaw Szczepaniaka8ff13f2018-05-17 14:19:44 +010030
31LOCAL_SDK_VERSION := 27
32LOCAL_ASSET_DIR := $(LOCAL_PATH)/../models/assets
33
David Rime441c872018-06-01 15:55:11 +090034GOOGLE_TEST_MODELS_DIR := vendor/google/tests/mlts/models/assets
35ifneq ($(wildcard $(GOOGLE_TEST_MODELS_DIR)),)
36LOCAL_ASSET_DIR += $(GOOGLE_TEST_MODELS_DIR)
37endif
38
Przemyslaw Szczepaniaka8ff13f2018-05-17 14:19:44 +010039include $(BUILD_PACKAGE)
Viet Dangab62f602018-12-11 17:07:17 +000040
41include $(call all-makefiles-under,$(LOCAL_PATH))