Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 1 | // Copyright (C) 2008 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 | "acquired_buffer.cpp", |
Corey Tabaka | 2251d82 | 2017-04-20 16:04:07 -0700 | [diff] [blame] | 17 | "epoll_event_dispatcher.cpp", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 18 | "display_manager_service.cpp", |
| 19 | "display_service.cpp", |
| 20 | "display_surface.cpp", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 21 | "hardware_composer.cpp", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 22 | "vr_flinger.cpp", |
| 23 | "vsync_service.cpp", |
| 24 | ] |
| 25 | |
| 26 | includeFiles = [ "include" ] |
| 27 | |
| 28 | staticLibraries = [ |
| 29 | "libsurfaceflingerincludes", |
| 30 | "libhwcomposer-command-buffer", |
| 31 | "libbufferhub", |
| 32 | "libbufferhubqueue", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 33 | "libdisplay", |
| 34 | "libdvrcommon", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 35 | "libperformance", |
| 36 | "libvrsensor", |
| 37 | "libpdx_default_transport", |
| 38 | "libvr_manager", |
John Bates | 954796e | 2017-05-11 11:00:31 -0700 | [diff] [blame^] | 39 | "libbroadcastring", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 40 | ] |
| 41 | |
| 42 | sharedLibraries = [ |
Daniel Nicoara | 1f42e3a | 2017-04-10 13:27:32 -0400 | [diff] [blame] | 43 | "android.frameworks.vr.composer@1.0", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 44 | "android.hardware.graphics.allocator@2.0", |
| 45 | "android.hardware.graphics.composer@2.1", |
| 46 | "libbinder", |
| 47 | "libbase", |
| 48 | "libcutils", |
| 49 | "liblog", |
| 50 | "libhardware", |
| 51 | "libnativewindow", |
| 52 | "libutils", |
| 53 | "libEGL", |
| 54 | "libGLESv1_CM", |
| 55 | "libGLESv2", |
| 56 | "libvulkan", |
| 57 | "libui", |
| 58 | "libgui", |
| 59 | "libsync", |
| 60 | "libhidlbase", |
| 61 | "libhidltransport", |
| 62 | "libfmq", |
| 63 | ] |
| 64 | |
Okan Arikan | 36d2380 | 2017-05-15 15:20:39 -0700 | [diff] [blame] | 65 | headerLibraries = [ |
| 66 | "libdvr_headers" |
| 67 | ] |
| 68 | |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 69 | cc_library_static { |
| 70 | srcs: sourceFiles, |
| 71 | export_include_dirs: includeFiles, |
| 72 | |
| 73 | cflags: [ |
| 74 | "-DLOG_TAG=\"vr_flinger\"", |
| 75 | "-DTRACE=0", |
Daniel Nicoara | 1f42e3a | 2017-04-10 13:27:32 -0400 | [diff] [blame] | 76 | "-DATRACE_TAG=ATRACE_TAG_GRAPHICS", |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 77 | "-DGL_GLEXT_PROTOTYPES", |
| 78 | "-DEGL_EGLEXT_PROTOTYPES", |
| 79 | ], |
| 80 | shared_libs: sharedLibraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 81 | whole_static_libs: staticLibraries, |
John Bates | 954796e | 2017-05-11 11:00:31 -0700 | [diff] [blame^] | 82 | header_libs: headerLibraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 83 | name: "libvrflinger", |
| 84 | } |