blob: d022adf4f85f938fde6026000a67f13e238cfec4 [file] [log] [blame]
Stephen Kiazyke77dce22017-03-14 15:38:12 -07001// 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
15sourceFiles = [
16 "pose_client.cpp",
17 "sensor_client.cpp",
Okan Arikanb13d4772017-03-31 14:04:51 -070018 "latency_model.cpp",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070019]
20
21includeFiles = [
22 "include",
23]
24
25staticLibraries = [
Okan Arikan822b7102017-05-08 13:31:34 -070026 "libdisplay",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070027 "libbufferhub",
Jiwen 'Steve' Caia3613612017-03-08 17:41:48 -080028 "libbufferhubqueue",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070029 "libdvrcommon",
Okan Arikan822b7102017-05-08 13:31:34 -070030 "libbroadcastring",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070031 "libpdx_default_transport",
32]
33
34sharedLibraries = [
35 "libbase",
36 "libcutils",
37 "libhardware",
38 "liblog",
39 "libutils",
Mark Urbanus8a71b132017-03-16 11:06:51 -070040 "libui",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070041]
42
43cc_library {
44 srcs: sourceFiles,
45 export_include_dirs: includeFiles,
46 static_libs: staticLibraries,
47 shared_libs: sharedLibraries,
Okan Arikan822b7102017-05-08 13:31:34 -070048 header_libs: ["libdvr_headers"],
Stephen Kiazyke77dce22017-03-14 15:38:12 -070049 name: "libvrsensor",
50}
51