• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16cc_defaults {
17    name: "android.hardware.vibrator-defaults.cs40l25",
18    cflags: [
19        "-DATRACE_TAG=(ATRACE_TAG_VIBRATOR | ATRACE_TAG_HAL)",
20        "-DLOG_TAG=\"android.hardware.vibrator-cs40l25\"",
21    ],
22}
23
24cc_defaults {
25    name: "VibratorHalCs40l25BinaryDefaults",
26    defaults: [
27        "PixelVibratorBinaryDefaults",
28        "android.hardware.vibrator-defaults.cs40l25",
29    ],
30}
31
32cc_defaults {
33    name: "VibratorHalCs40l25TestDefaults",
34    defaults: [
35        "PixelVibratorTestDefaults",
36        "android.hardware.vibrator-defaults.cs40l25",
37    ],
38    static_libs: ["android.hardware.vibrator-impl.cs40l25"],
39}
40
41cc_library {
42    name: "android.hardware.vibrator-impl.cs40l25",
43    defaults: ["VibratorHalCs40l25BinaryDefaults"],
44    srcs: ["Vibrator.cpp"],
45    export_include_dirs: ["."],
46    vendor_available: true,
47    visibility: [":__subpackages__"],
48}
49
50cc_binary {
51    name: "android.hardware.vibrator-service.cs40l25",
52    defaults: ["VibratorHalCs40l25BinaryDefaults"],
53    init_rc: ["android.hardware.vibrator-service.cs40l25.rc"],
54    vintf_fragments: ["android.hardware.vibrator-service.cs40l25.xml"],
55    srcs: ["service.cpp"],
56    static_libs: ["android.hardware.vibrator-impl.cs40l25"],
57    proprietary: true,
58}
59