blob: 529781a00478f2e52e69acac306b82d31f74fbc2 [file] [log] [blame]
Jakub Gielzak9155e242021-12-16 14:40:07 +00001/*
2 * Copyright (C) 2022 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
17import androidx.build.LibraryGroups
18import androidx.build.LibraryVersions
19import androidx.build.Publish
Jakub Gielzak9155e242021-12-16 14:40:07 +000020
21plugins {
22 id("AndroidXPlugin")
23 id("com.android.library")
24 id("kotlin-android")
25}
26
27android {
Jakub Gielzak14880922021-12-31 16:32:06 +000028 externalNativeBuild {
29 cmake {
30 path "src/main/cpp/CMakeLists.txt"
Fred Sladkey7c32b452022-01-20 17:02:09 -050031 version libs.versions.cmake.get()
Jakub Gielzak14880922021-12-31 16:32:06 +000032 }
Jakub Gielzak9155e242021-12-16 14:40:07 +000033 }
34}
35
36dependencies {
Jakub Gielzak9155e242021-12-16 14:40:07 +000037 androidTestImplementation(libs.kotlinStdlib)
38 androidTestImplementation(libs.testExtJunit)
Jakub Gielzak9155e242021-12-16 14:40:07 +000039 androidTestImplementation(libs.testRunner)
Jakub Gielzak9155e242021-12-16 14:40:07 +000040}
41
42androidx {
Jakub Gielzak8df50072022-01-13 23:07:07 +000043 name = "AndroidX Tracing: Perfetto SDK Native Dependencies"
Jakub Gielzak9155e242021-12-16 14:40:07 +000044 publish = Publish.SNAPSHOT_ONLY
45 mavenVersion = LibraryVersions.TRACING_PERFETTO
46 mavenGroup = LibraryGroups.TRACING
47 inceptionYear = "2022"
Jakub Gielzak8df50072022-01-13 23:07:07 +000048 description = "Provides native binaries required by AndroidX Tracing: Perfetto SDK " +
49 "and is not intended to be used outside of that context."
Jakub Gielzak9155e242021-12-16 14:40:07 +000050}