device_google_gs-common/vibrator/flags/Android.bp
Michael Bestas c011de7d71
vibrator: Rename flags to avoid conflicts with prebuilts
felix still uses this but other pixels switched to prebuilt,
this confuses soong so just rename it for now.

Change-Id: I5f7f4f9b386533cf27e955f14faf3fddd2b43b5b
2025-03-09 11:19:10 +02:00

43 lines
1.3 KiB
Text

//
// 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.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
aconfig_declarations {
name: "VibratorFlagsL26Private",
package: "vendor.vibrator.hal.flags",
container: "vendor",
exportable: true,
srcs: ["VibratorFlags.aconfig"],
}
cc_aconfig_library {
name: "PixelVibratorFlagsL26Private",
aconfig_declarations: "VibratorFlagsL26Private",
vendor_available: true,
visibility: [
"//vendor:__subpackages__",
"//device/google/felix:__subpackages__",
],
}
java_aconfig_library {
name: "PixelVibratorFlagsL26Private_java",
aconfig_declarations: "VibratorFlagsL26Private",
mode: "exported",
visibility: ["//vendor:__subpackages__"],
}