Android.bp revision a3613612a1142c3134045f08c30a861ea43288ed
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.dvr.composer@1.0", 51 "android.hardware.graphics.allocator@2.0", 52 "android.hardware.graphics.composer@2.1", 53 "libbinder", 54 "libbase", 55 "libcutils", 56 "liblog", 57 "libhardware", 58 "libnativewindow", 59 "libutils", 60 "libEGL", 61 "libGLESv1_CM", 62 "libGLESv2", 63 "libvulkan", 64 "libui", 65 "libgui", 66 "libsync", 67 "libhidlbase", 68 "libhidltransport", 69 "libfmq", 70] 71 72cc_library_static { 73 srcs: sourceFiles, 74 export_include_dirs: includeFiles, 75 76 cflags: [ 77 "-DLOG_TAG=\"vr_flinger\"", 78 "-DTRACE=0", 79 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS", 80 "-DGL_GLEXT_PROTOTYPES", 81 "-DEGL_EGLEXT_PROTOTYPES", 82 ], 83 shared_libs: sharedLibraries, 84 whole_static_libs: staticLibraries, 85 name: "libvrflinger", 86} 87