Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame^] | 1 | // The wrapper -DBUILD_FLOAT needs to match |
| 2 | // the lvm library -DBUILD_FLOAT. |
| 3 | |
| 4 | // music bundle wrapper |
| 5 | cc_library_shared { |
| 6 | name: "libbundlewrapper", |
| 7 | |
| 8 | arch: { |
| 9 | arm: { |
| 10 | instruction_set: "arm", |
| 11 | }, |
| 12 | }, |
| 13 | |
| 14 | vendor: true, |
| 15 | srcs: ["Bundle/EffectBundle.cpp"], |
| 16 | |
| 17 | cflags: [ |
| 18 | "-fvisibility=hidden", |
| 19 | "-DBUILD_FLOAT", |
| 20 | "-DHIGHER_FS", |
| 21 | |
| 22 | "-Wall", |
| 23 | "-Werror", |
| 24 | ], |
| 25 | |
| 26 | relative_install_path: "soundfx", |
| 27 | |
| 28 | static_libs: ["libmusicbundle"], |
| 29 | |
| 30 | shared_libs: [ |
| 31 | "libaudioutils", |
| 32 | "libcutils", |
| 33 | "libdl", |
| 34 | "liblog", |
| 35 | ], |
| 36 | |
| 37 | local_include_dirs: ["Bundle"], |
| 38 | |
| 39 | header_libs: [ |
| 40 | "libhardware_headers", |
| 41 | "libaudioeffects", |
| 42 | ], |
| 43 | } |
| 44 | |
| 45 | // reverb wrapper |
| 46 | cc_library_shared { |
| 47 | name: "libreverbwrapper", |
| 48 | |
| 49 | arch: { |
| 50 | arm: { |
| 51 | instruction_set: "arm", |
| 52 | }, |
| 53 | }, |
| 54 | |
| 55 | vendor: true, |
| 56 | srcs: ["Reverb/EffectReverb.cpp"], |
| 57 | |
| 58 | cflags: [ |
| 59 | "-fvisibility=hidden", |
| 60 | "-DBUILD_FLOAT", |
| 61 | "-DHIGHER_FS", |
| 62 | |
| 63 | "-Wall", |
| 64 | "-Werror", |
| 65 | ], |
| 66 | |
| 67 | relative_install_path: "soundfx", |
| 68 | |
| 69 | static_libs: ["libreverb"], |
| 70 | |
| 71 | shared_libs: [ |
| 72 | "libaudioutils", |
| 73 | "libcutils", |
| 74 | "libdl", |
| 75 | "liblog", |
| 76 | ], |
| 77 | |
| 78 | local_include_dirs: ["Reverb"], |
| 79 | |
| 80 | header_libs: [ |
| 81 | "libhardware_headers", |
| 82 | "libaudioeffects", |
| 83 | ], |
| 84 | |
| 85 | sanitize: { |
| 86 | integer_overflow: true, |
| 87 | }, |
| 88 | } |