1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "device_generic_goldfish-opengl_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 // SPDX-license-identifier-GPL-2.0 8 default_applicable_licenses: ["device_generic_goldfish-opengl_license"], 9} 10 11cc_library_static { 12 name: "libplatform", 13 vendor: true, 14 srcs: [ 15 "linux/VirtGpuBlob.cpp", 16 "linux/VirtGpuBlobMapping.cpp", 17 "linux/VirtGpuDevice.cpp" 18 ], 19 shared_libs: [ 20 "libcutils", 21 "libutils", 22 "libdrm", 23 "liblog", 24 ], 25 export_include_dirs: [ 26 "include" 27 ], 28 cflags: [ 29 "-DLOG_TAG=\"platform\"", 30 "-Wno-missing-field-initializers", 31 "-fvisibility=default", 32 "-fstrict-aliasing", 33 ], 34 include_dirs: ["device/generic/goldfish-opengl/platform/include"], 35} 36