Android.bp revision 95a99a1d3cdbd19343d0d27271098c9c01a63e78
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 15sourceFiles = [ 16 "acquired_buffer.cpp", 17 "compositor.cpp", 18 "debug_hud_data.cpp", 19 "debug_hud_view.cpp", 20 "display_manager_service.cpp", 21 "display_service.cpp", 22 "display_surface.cpp", 23 "hardware_composer.cpp", 24 "screenshot_service.cpp", 25 "surface_channel.cpp", 26 "video_compositor.cpp", 27 "video_mesh_surface.cpp", 28 "vr_flinger.cpp", 29 "vsync_service.cpp", 30] 31 32includeFiles = [ "include" ] 33 34staticLibraries = [ 35 "libsurfaceflingerincludes", 36 "libhwcomposer-command-buffer", 37 "libbufferhub", 38 "libbufferhubqueue", 39 "libeds", 40 "libdisplay", 41 "libdvrcommon", 42 "libdvrgraphics", 43 "libperformance", 44 "libvrsensor", 45 "libpdx_default_transport", 46 "libvr_manager", 47] 48 49sharedLibraries = [ 50 "android.hardware.graphics.allocator@2.0", 51 "android.hardware.graphics.composer@2.1", 52 "libbinder", 53 "libbase", 54 "libcutils", 55 "liblog", 56 "libhardware", 57 "libnativewindow", 58 "libutils", 59 "libEGL", 60 "libGLESv1_CM", 61 "libGLESv2", 62 "libvulkan", 63 "libui", 64 "libgui", 65 "libsync", 66 "libhidlbase", 67 "libhidltransport", 68 "libfmq", 69] 70 71cc_library_static { 72 srcs: sourceFiles, 73 export_include_dirs: includeFiles, 74 75 cflags: [ 76 "-DLOG_TAG=\"vr_flinger\"", 77 "-DTRACE=0", 78 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS", 79 "-DGL_GLEXT_PROTOTYPES", 80 "-DEGL_EGLEXT_PROTOTYPES", 81 ], 82 shared_libs: sharedLibraries, 83 whole_static_libs: staticLibraries, 84 name: "libvrflinger", 85} 86