blob: 489ab04d36ce80f194b8ffcff68d4ff3c876dfef [file] [log] [blame]
Ruchika Ashtankar34f5d0e2019-10-09 19:28:42 +05301/*
2 * Copyright (C) 2019 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
17android_test {
18 name: "MediaBenchmarkTest",
19
20 // Include all the test code
21 srcs: ["src/androidTest/**/*.java"],
22
23 sdk_version: "system_current",
24
25 resource_dirs: ["res"],
26
27 libs: [
28 "android.test.runner",
29 "android.test.base",
30 ],
31
Neelkamal Semwalb523c512019-10-17 18:38:11 +053032 jni_libs: [
33 "libmediabenchmark_jni",
34 ],
35
Ruchika Ashtankar34f5d0e2019-10-09 19:28:42 +053036 static_libs: [
37 "libMediaBenchmark",
38 "junit",
39 "androidx.test.runner",
40 ],
41}
42
43android_library {
44 name: "libMediaBenchmark",
45
46 // Include all the libraries
47 srcs: ["src/main/**/*.java"],
48
49 sdk_version: "system_current",
Shivaansh Agrawalfcf3a3c2019-09-23 20:07:07 +053050
51 static_libs: [
52 "androidx.test.core",
53 ],
Ruchika Ashtankar34f5d0e2019-10-09 19:28:42 +053054}