1package { 2 default_applicable_licenses: ["external_pffft_license"], 3} 4 5// Added automatically by a large-scale-change that took the approach of 6// 'apply every license found to every target'. While this makes sure we respect 7// every license restriction, it may not be entirely correct. 8// 9// e.g. GPL in an MIT project might only apply to the contrib/ directory. 10// 11// Please consider splitting the single license below into multiple licenses, 12// taking care not to lose any license_kind information, and overriding the 13// default license using the 'licenses: [...]' property on targets as needed. 14// 15// For unused files, consider creating a 'fileGroup' with "//visibility:private" 16// to attach the license to, and including a comment whether the files may be 17// used in the current project. 18// 19// large-scale-change filtered out the below license kinds as false-positives: 20// SPDX-license-identifier-GPL 21// See: http://go/android-license-faq 22license { 23 name: "external_pffft_license", 24 visibility: [":__subpackages__"], 25 license_kinds: [ 26 "SPDX-license-identifier-Apache-2.0", 27 "SPDX-license-identifier-BSD", 28 "SPDX-license-identifier-MIT", 29 ], 30 license_text: [ 31 "LICENSE.txt", 32 ], 33} 34 35cc_library_static { 36 name: "libpffft", 37 // vendor needed for libpreprocessing effects. 38 vendor_available: true, 39 srcs: [ 40 "pffft.c", 41 "pffft_common.c", 42 ], 43 local_include_dirs: ["."], 44 export_include_dirs: ["."], 45 host_supported: true, 46 visibility: [ 47 "//external/webrtc:__subpackages__", 48 "//frameworks/av/media/libaudioclient/tests", 49 "//hardware/interfaces/audio/aidl/vts", 50 "//vendor:__subpackages__", 51 ], 52 cflags: [ 53 "-Wno-#pragma-messages", 54 ], 55 arch: { 56 arm: { 57 cflags: ["-DPFFFT_ENABLE_NEON"], 58 }, 59 arm64: { 60 cflags: ["-DPFFFT_ENABLE_NEON"], 61 }, 62 }, 63} 64