blob: 98bf4981d37ac1bfb52d1d8871c985932e93b029 [file] [log] [blame] [edit]
//
// Copyright (C) 2025 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.
//
aconfig_declarations {
name: "android.os.profiling.flags-aconfig",
package: "android.os.profiling",
container: "com.android.profiling",
exportable: true,
srcs: ["flags.aconfig"],
}
java_aconfig_library {
name: "profiling_flags_lib",
aconfig_declarations: "android.os.profiling.flags-aconfig",
apex_available: [
"com.android.profiling",
"//apex_available:platform",
],
mode: "exported",
min_sdk_version: "35",
defaults: ["framework-minus-apex-aconfig-java-defaults"],
visibility: [
"//frameworks/base/services/core",
],
}
java_aconfig_library {
name: "profiling_flags_not_exported_lib",
aconfig_declarations: "android.os.profiling.flags-aconfig",
apex_available: [
"com.android.profiling",
"//apex_available:platform",
],
min_sdk_version: "35",
defaults: ["framework-minus-apex-aconfig-java-defaults"],
visibility: [
"//packages/modules/Profiling:__subpackages__",
],
}