blob: b2369a6682fc7184e65429c280dfaef7d5ca1052 [file]
/*
* Copyright (C) 2026 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.
*/
filegroup {
name: "util-profiling-sources",
srcs: [
"src/**/*.java",
],
}
java_library {
name: "util-profiling",
srcs: [":util-profiling-sources"],
sdk_version: "system_server_current",
libs: [
"framework-annotations-lib",
"jsr305",
],
static_libs: [
"util-profiling-proto",
],
lint: {
strict_updatability_linting: true,
},
apex_available: [
"com.android.profiling",
],
min_sdk_version: "35",
installable: true,
}
java_library {
name: "util-profiling-proto",
proto: {
type: "lite",
canonical_path_from_root: false,
include_dirs: [
"external/protobuf/src",
"external/protobuf/java",
],
},
srcs: [
"proto/**/*.proto",
],
visibility: [
"//packages/modules/Profiling/tests:__subpackages__",
],
installable: false,
min_sdk_version: "35",
sdk_version: "system_server_current",
apex_available: [
"com.android.profiling",
],
}