Merge "vibrator: Add vibrator HAL flags" into main
This commit is contained in:
commit
0a9c248adb
2 changed files with 53 additions and 0 deletions
43
vibrator/flags/Android.bp
Normal file
43
vibrator/flags/Android.bp
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
//
|
||||||
|
// 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: "VibratorFlagsL26",
|
||||||
|
package: "vendor.vibrator.hal.flags",
|
||||||
|
container: "vendor",
|
||||||
|
exportable: true,
|
||||||
|
srcs: ["VibratorFlags.aconfig"],
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_aconfig_library {
|
||||||
|
name: "PixelVibratorFlagsL26",
|
||||||
|
aconfig_declarations: "VibratorFlagsL26",
|
||||||
|
vendor_available: true,
|
||||||
|
visibility: [
|
||||||
|
"//vendor:__subpackages__",
|
||||||
|
"//device/google/felix:__subpackages__",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
java_aconfig_library {
|
||||||
|
name: "PixelVibratorFlagsL26_java",
|
||||||
|
aconfig_declarations: "VibratorFlagsL26",
|
||||||
|
mode: "exported",
|
||||||
|
visibility: ["//vendor:__subpackages__"],
|
||||||
|
}
|
10
vibrator/flags/VibratorFlags.aconfig
Normal file
10
vibrator/flags/VibratorFlags.aconfig
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
package: "vendor.vibrator.hal.flags"
|
||||||
|
container: "vendor"
|
||||||
|
|
||||||
|
flag {
|
||||||
|
name: "remove_capo"
|
||||||
|
namespace: "vibrator"
|
||||||
|
is_exported: true
|
||||||
|
description: "This flag controls the removal of utilizing Capo at the HAL level"
|
||||||
|
bug: "290223630"
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue