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    // See: http://go/android-license-faq
17    // A large-scale-change added 'default_applicable_licenses' to import
18    // all of the 'license_kinds' from "frameworks_native_license"
19    // to get the below license kinds:
20    //   SPDX-license-identifier-Apache-2.0
21    default_applicable_licenses: ["frameworks_native_license"],
22}
23
24sourceFiles = [
25    "pose_client.cpp",
26    "latency_model.cpp",
27]
28
29includeFiles = [
30    "include",
31]
32
33staticLibraries = [
34    "libdisplay",
35    "libdvrcommon",
36    "libbroadcastring",
37]
38
39sharedLibraries = [
40    "libbase",
41    "libbinder",
42    "libbufferhubqueue",
43    "libcutils",
44    "libhardware",
45    "liblog",
46    "libutils",
47    "libui",
48    "libpdx_default_transport",
49]
50
51cc_library {
52    srcs: sourceFiles,
53    cflags: [
54        "-Wall",
55        "-Werror",
56        "-Wno-macro-redefined",
57    ],
58    export_include_dirs: includeFiles,
59    static_libs: staticLibraries,
60    shared_libs: sharedLibraries,
61    header_libs: ["libdvr_headers"],
62    name: "libvrsensor",
63}
64