blob: 3e4903be3fdd27a9372b56d0bd08b8af464ee3d0 [file] [log] [blame]
// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
java_library {
name: "perfmark-api-lib",
static_libs: [
"perfmark-link",
"perfmark",
"perfmark-tag",
"perfmark-stringfunction"
],
host_supported: true,
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
java_version: "11",
sdk_version: "current",
min_sdk_version: "30",
target: {
windows: {
enabled: true,
},
},
}
java_library {
name: "perfmark",
srcs: [
"src/main/java/io/perfmark/PerfMark.java",
"src/main/java/io/perfmark/TaskCloseable.java"
],
static_libs: [
"perfmark-impl",
"perfmark-link",
"perfmark-tag",
"perfmark-stringfunction",
"error_prone_annotations",
"jsr305",
],
host_supported: true,
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
java_version: "11",
sdk_version: "current",
min_sdk_version: "30",
target: {
windows: {
enabled: true,
},
},
}
java_library {
name: "perfmark-tag",
srcs: [
"src/main/java/io/perfmark/Tag.java",
],
static_libs: [
"error_prone_annotations",
"jsr305",
],
host_supported: true,
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
java_version: "11",
sdk_version: "current",
min_sdk_version: "30",
visibility: [":__subpackages__"],
target: {
windows: {
enabled: true,
},
},
}
java_library {
name: "perfmark-link",
srcs: [
"src/main/java/io/perfmark/Link.java",
],
static_libs: [
"error_prone_annotations",
"jsr305",
],
host_supported: true,
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
java_version: "11",
sdk_version: "current",
min_sdk_version: "30",
visibility: [":__subpackages__"],
target: {
windows: {
enabled: true,
},
},
}
java_library {
name: "perfmark-stringfunction",
srcs: [
"src/main/java/io/perfmark/StringFunction.java",
],
static_libs: [
"error_prone_annotations",
"jsr305",
],
host_supported: true,
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
java_version: "11",
sdk_version: "current",
min_sdk_version: "30",
visibility: [":__subpackages__"],
target: {
windows: {
enabled: true,
},
},
}
java_library {
name: "perfmark-impl",
srcs: [
"src/main/java/io/perfmark/Impl.java",
],
static_libs: [
"perfmark-link",
"perfmark-tag",
"perfmark-stringfunction",
"error_prone_annotations",
"jsr305",
],
host_supported: true,
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
java_version: "11",
sdk_version: "current",
min_sdk_version: "30",
visibility: [":__subpackages__"],
target: {
windows: {
enabled: true,
},
},
}