blob: 3dc951a71796f9a4ff0b87514be44a68e671290c [file] [log] [blame]
Bob Badour3e2ecbd2021-02-12 17:52:26 -08001package {
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
Jorge E. Moreiraf620dcc2020-06-22 11:54:50 -070035cc_library_static {
36 name: "libpffft",
Harish Mahendrakar799b5612020-09-22 21:39:23 -070037 // vendor needed for libpreprocessing effects.
38 vendor: true,
Jorge E. Moreiraf620dcc2020-06-22 11:54:50 -070039 srcs: [
40 "pffft.c",
Jiyong Park8d3268f2020-09-22 13:19:11 +090041 "pffft_common.c",
Jorge E. Moreiraf620dcc2020-06-22 11:54:50 -070042 ],
43 local_include_dirs: ["."],
44 export_include_dirs: ["."],
45 host_supported: true,
Jorge E. Moreiraf620dcc2020-06-22 11:54:50 -070046 visibility: ["//external/webrtc:__subpackages__"],
Harish Mahendrakar799b5612020-09-22 21:39:23 -070047 cflags: [
48 "-Wno-#pragma-messages",
49 ],
Jiyong Park8d3268f2020-09-22 13:19:11 +090050 arch: {
Harish Mahendrakar799b5612020-09-22 21:39:23 -070051 arm: {
52 cflags: ["-DPFFFT_ENABLE_NEON"],
53 },
Jiyong Park8d3268f2020-09-22 13:19:11 +090054 arm64: {
55 cflags: ["-DPFFFT_ENABLE_NEON"],
Jiyong Park94eba542020-09-18 16:29:45 +090056 },
57 },
Jorge E. Moreiraf620dcc2020-06-22 11:54:50 -070058}