1*7688df22SAndroid Build Coastguard Worker// 2*7688df22SAndroid Build Coastguard Worker// Copyright © 2015 NVIDIA Corporation 3*7688df22SAndroid Build Coastguard Worker// 4*7688df22SAndroid Build Coastguard Worker// Permission is hereby granted, free of charge, to any person obtaining a 5*7688df22SAndroid Build Coastguard Worker// copy of this software and associated documentation files (the "Software"), 6*7688df22SAndroid Build Coastguard Worker// to deal in the Software without restriction, including without limitation 7*7688df22SAndroid Build Coastguard Worker// the rights to use, copy, modify, merge, publish, distribute, sublicense, 8*7688df22SAndroid Build Coastguard Worker// and/or sell copies of the Software, and to permit persons to whom the 9*7688df22SAndroid Build Coastguard Worker// Software is furnished to do so, subject to the following conditions: 10*7688df22SAndroid Build Coastguard Worker// 11*7688df22SAndroid Build Coastguard Worker// The above copyright notice and this permission notice (including the next 12*7688df22SAndroid Build Coastguard Worker// paragraph) shall be included in all copies or substantial portions of the 13*7688df22SAndroid Build Coastguard Worker// Software. 14*7688df22SAndroid Build Coastguard Worker// 15*7688df22SAndroid Build Coastguard Worker// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16*7688df22SAndroid Build Coastguard Worker// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17*7688df22SAndroid Build Coastguard Worker// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18*7688df22SAndroid Build Coastguard Worker// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19*7688df22SAndroid Build Coastguard Worker// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20*7688df22SAndroid Build Coastguard Worker// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 21*7688df22SAndroid Build Coastguard Worker// IN THE SOFTWARE. 22*7688df22SAndroid Build Coastguard Worker// 23*7688df22SAndroid Build Coastguard Worker 24*7688df22SAndroid Build Coastguard Workerpackage { 25*7688df22SAndroid Build Coastguard Worker // See: http://go/android-license-faq 26*7688df22SAndroid Build Coastguard Worker // A large-scale-change added 'default_applicable_licenses' to import 27*7688df22SAndroid Build Coastguard Worker // all of the 'license_kinds' from "external_libdrm_license" 28*7688df22SAndroid Build Coastguard Worker // to get the below license kinds: 29*7688df22SAndroid Build Coastguard Worker // SPDX-license-identifier-MIT 30*7688df22SAndroid Build Coastguard Worker default_applicable_licenses: ["external_libdrm_license"], 31*7688df22SAndroid Build Coastguard Worker} 32*7688df22SAndroid Build Coastguard Worker 33*7688df22SAndroid Build Coastguard Workerbuild = ["Android.sources.bp"] 34*7688df22SAndroid Build Coastguard Worker 35*7688df22SAndroid Build Coastguard Workercc_library_static { 36*7688df22SAndroid Build Coastguard Worker name: "libdrm_util", 37*7688df22SAndroid Build Coastguard Worker defaults: [ 38*7688df22SAndroid Build Coastguard Worker "libdrm_defaults", 39*7688df22SAndroid Build Coastguard Worker "libdrm_util_sources", 40*7688df22SAndroid Build Coastguard Worker ], 41*7688df22SAndroid Build Coastguard Worker shared_libs: ["libdrm"], 42*7688df22SAndroid Build Coastguard Worker header_libs: ["libdrm_test_headers"], 43*7688df22SAndroid Build Coastguard Worker export_header_lib_headers: ["libdrm_test_headers"], 44*7688df22SAndroid Build Coastguard Worker vendor_available: true, 45*7688df22SAndroid Build Coastguard Worker} 46