blob: 4b7997788886eb0840ea11f57ee84806b64efca6 [file] [log] [blame] [edit]
//
// Copyright (C) 2024 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.
//
// ==========================================================
// Libraries to expose flags to statsd components
// ==========================================================
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
aconfig_declarations {
name: "statsd_aconfig_flags",
container: "com.android.os.statsd",
package: "com.android.os.statsd.flags",
srcs: [
"libstatspull_flags.aconfig",
"libstatssocket_flags.aconfig",
"statsd_flags.aconfig",
],
}
cc_aconfig_library {
name: "statsd_flags_c_lib",
aconfig_declarations: "statsd_aconfig_flags",
min_sdk_version: "30",
apex_available: [
"com.android.os.statsd",
],
host_supported: true,
}
java_aconfig_library {
name: "statsd_flags_java_lib-host",
aconfig_declarations: "statsd_aconfig_flags",
min_sdk_version: "30",
host_supported: true,
visibility: [
"//packages/modules/StatsD:__subpackages__",
],
libs: ["fake_device_config"],
}