blob: 7d286cc72e7ac596b8f8752d6b8657860c6653d6 [file] [log] [blame]
Sean McQuillan76ea6762021-03-10 13:29:24 -08001/*
2 * Copyright (C) 2018 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 */
Sean McQuillan30acb142021-03-25 14:19:33 -070016
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Sean McQuillan76ea6762021-03-10 13:29:24 -080024import androidx.build.Publish
25
Sean McQuillan76ea6762021-03-10 13:29:24 -080026plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
29 id("kotlin-android")
30 id("androidx.benchmark")
31}
32
Sean McQuillan198949d2021-08-12 17:22:13 -070033ext {
34 fontDir = project(':noto-emoji-compat-font').projectDir
35}
36
37android {
38 sourceSets {
39 androidTest {
40 assets {
41 srcDirs = [new File(fontDir, "supported-emojis").getAbsolutePath()]
42 }
43 }
44 }
Aurimas Liutikas77952822024-12-04 18:00:17 -080045 namespace = "androidx.emoji2.benchmark"
Sean McQuillan198949d2021-08-12 17:22:13 -070046
47}
48
Sean McQuillan76ea6762021-03-10 13:29:24 -080049dependencies {
Julia McClellan56c17ba2024-10-09 13:23:38 -040050 api(libs.jspecify)
Sean McQuillanbb46d2b2021-03-31 18:11:44 -070051 androidTestImplementation(project(":emoji2:emoji2"))
Sean McQuillan198949d2021-08-12 17:22:13 -070052 androidTestImplementation(project(":emoji2:emoji2-bundled"))
Aurimas6fee2212024-08-30 00:38:08 +000053 androidTestImplementation(project(":benchmark:benchmark-junit4"))
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070054 androidTestImplementation(libs.junit)
55 androidTestImplementation(libs.testExtJunit)
56 androidTestImplementation(libs.testCore)
57 androidTestImplementation(libs.testRunner)
58 androidTestImplementation(libs.testRules)
Aurimas Liutikas1a31ba62024-08-30 12:49:00 -070059 androidTestImplementation(libs.mockitoCore)
60 androidTestImplementation(libs.dexmakerMockito)
Sean McQuillan0d88e032021-04-01 11:44:37 -070061 androidTestImplementation project(':internal-testutils-runtime')
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070062 androidTestImplementation(libs.kotlinStdlib)
Sean McQuillan76ea6762021-03-10 13:29:24 -080063}
64
65androidx {
66 name = "Emoji2 Benchmarks"
67 publish = Publish.NONE
Sean McQuilland00b1f62021-04-20 16:59:38 -070068 inceptionYear = "2021"
69 description = "Emoji2 Benchmarks"
Sean McQuillan76ea6762021-03-10 13:29:24 -080070}