• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 The Android Open-Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19cc_binary {
20    name: "android.hardware.gatekeeper@1.0-service.remote",
21    defaults: ["cuttlefish_guest_only", "hidl_defaults"],
22    vendor: true,
23    relative_install_path: "hw",
24    init_rc: ["android.hardware.gatekeeper@1.0-service.remote.rc"],
25
26    srcs: [
27        "remote_gatekeeper.cpp",
28        "service.cpp",
29    ],
30
31    cflags: [
32        "-fvisibility=hidden",
33        "-Wall",
34        "-Werror",
35    ],
36
37    static_libs: [
38        "libgflags",
39    ],
40
41    shared_libs: [
42        "android.hardware.gatekeeper@1.0",
43        "libbase",
44        "libcuttlefish_fs",
45        "libcuttlefish_security",
46        "libhidlbase",
47        "libgatekeeper",
48        "libutils",
49        "liblog",
50        "libcutils",
51        "libtrusty",
52    ],
53
54    vintf_fragments: ["android.hardware.gatekeeper@1.0-service.remote.xml"],
55}
56