1// 2// Copyright (C) 2020 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: [ 19 "external_swiftshader_third_party_astc-encoder_license", 20 ], 21} 22 23// Added automatically by a large-scale-change 24// http://go/android-license-faq 25license { 26 name: "external_swiftshader_third_party_astc-encoder_license", 27 visibility: [":__subpackages__"], 28 license_kinds: [ 29 "SPDX-license-identifier-Apache-2.0", 30 ], 31 license_text: [ 32 "LICENSE.txt", 33 ], 34} 35 36cc_library_static { 37 name: "swiftshader_astc", 38 39 host_supported:true, 40 41 vendor_available: true, 42 43 cflags: [ 44 "-DLOG_TAG=\"swiftshader\"", 45 ], 46 47 srcs: [ 48 "Source/*.cpp", 49 ], 50 51 local_include_dirs: [ 52 "Source", 53 ], 54 55 export_include_dirs: [ 56 "Source", 57 ], 58 59 static_libs: [ 60 "swiftshader_debug", 61 ] 62} 63