| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 1 | /* |
| 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 McQuillan | 30acb14 | 2021-03-25 14:19:33 -0700 | [diff] [blame] | 16 | |
| Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 24 | import androidx.build.Publish |
| 25 | |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("kotlin-android") |
| 30 | id("androidx.benchmark") |
| 31 | } |
| 32 | |
| Sean McQuillan | 198949d | 2021-08-12 17:22:13 -0700 | [diff] [blame] | 33 | ext { |
| 34 | fontDir = project(':noto-emoji-compat-font').projectDir |
| 35 | } |
| 36 | |
| 37 | android { |
| 38 | sourceSets { |
| 39 | androidTest { |
| 40 | assets { |
| 41 | srcDirs = [new File(fontDir, "supported-emojis").getAbsolutePath()] |
| 42 | } |
| 43 | } |
| 44 | } |
| Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame^] | 45 | namespace = "androidx.emoji2.benchmark" |
| Sean McQuillan | 198949d | 2021-08-12 17:22:13 -0700 | [diff] [blame] | 46 | |
| 47 | } |
| 48 | |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 49 | dependencies { |
| Julia McClellan | 56c17ba | 2024-10-09 13:23:38 -0400 | [diff] [blame] | 50 | api(libs.jspecify) |
| Sean McQuillan | bb46d2b | 2021-03-31 18:11:44 -0700 | [diff] [blame] | 51 | androidTestImplementation(project(":emoji2:emoji2")) |
| Sean McQuillan | 198949d | 2021-08-12 17:22:13 -0700 | [diff] [blame] | 52 | androidTestImplementation(project(":emoji2:emoji2-bundled")) |
| Aurimas | 6fee221 | 2024-08-30 00:38:08 +0000 | [diff] [blame] | 53 | androidTestImplementation(project(":benchmark:benchmark-junit4")) |
| Aurimas Liutikas | b3483fd | 2021-06-04 16:56:37 -0700 | [diff] [blame] | 54 | androidTestImplementation(libs.junit) |
| 55 | androidTestImplementation(libs.testExtJunit) |
| 56 | androidTestImplementation(libs.testCore) |
| 57 | androidTestImplementation(libs.testRunner) |
| 58 | androidTestImplementation(libs.testRules) |
| Aurimas Liutikas | 1a31ba6 | 2024-08-30 12:49:00 -0700 | [diff] [blame] | 59 | androidTestImplementation(libs.mockitoCore) |
| 60 | androidTestImplementation(libs.dexmakerMockito) |
| Sean McQuillan | 0d88e03 | 2021-04-01 11:44:37 -0700 | [diff] [blame] | 61 | androidTestImplementation project(':internal-testutils-runtime') |
| Aurimas Liutikas | b3483fd | 2021-06-04 16:56:37 -0700 | [diff] [blame] | 62 | androidTestImplementation(libs.kotlinStdlib) |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | androidx { |
| 66 | name = "Emoji2 Benchmarks" |
| 67 | publish = Publish.NONE |
| Sean McQuillan | d00b1f6 | 2021-04-20 16:59:38 -0700 | [diff] [blame] | 68 | inceptionYear = "2021" |
| 69 | description = "Emoji2 Benchmarks" |
| Sean McQuillan | 76ea676 | 2021-03-10 13:29:24 -0800 | [diff] [blame] | 70 | } |