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 15 sourceFiles = [ 16 "pose_client.cpp", 17 "sensor_client.cpp", 18 "latency_model.cpp", 19 ] 20 21 includeFiles = [ 22 "include", 23 ] 24 25 staticLibraries = [ 26 "libdisplay", 27 "libbufferhub", 28 "libbufferhubqueue", 29 "libdvrcommon", 30 "libbroadcastring", 31 "libpdx_default_transport", 32 ] 33 34 sharedLibraries = [ 35 "libbase", 36 "libcutils", 37 "libhardware", 38 "liblog", 39 "libutils", 40 "libui", 41 ] 42 43 cc_library { 44 srcs: sourceFiles, 45 export_include_dirs: includeFiles, 46 static_libs: staticLibraries, 47 shared_libs: sharedLibraries, 48 header_libs: ["libdvr_headers"], 49 name: "libvrsensor", 50 } 51 52