| 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", | 
| Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 21 |         "-DSUPPORT_MC", | 
| Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 22 |  | 
 | 23 |         "-Wall", | 
 | 24 |         "-Werror", | 
 | 25 |     ], | 
 | 26 |  | 
 | 27 |     relative_install_path: "soundfx", | 
 | 28 |  | 
 | 29 |     static_libs: ["libmusicbundle"], | 
 | 30 |  | 
 | 31 |     shared_libs: [ | 
 | 32 |         "libaudioutils", | 
 | 33 |         "libcutils", | 
 | 34 |         "libdl", | 
 | 35 |         "liblog", | 
 | 36 |     ], | 
 | 37 |  | 
 | 38 |     local_include_dirs: ["Bundle"], | 
 | 39 |  | 
 | 40 |     header_libs: [ | 
 | 41 |         "libhardware_headers", | 
 | 42 |         "libaudioeffects", | 
 | 43 |     ], | 
 | 44 | } | 
 | 45 |  | 
 | 46 | // reverb wrapper | 
 | 47 | cc_library_shared { | 
 | 48 |     name: "libreverbwrapper", | 
 | 49 |  | 
 | 50 |     arch: { | 
 | 51 |         arm: { | 
 | 52 |             instruction_set: "arm", | 
 | 53 |         }, | 
 | 54 |     }, | 
 | 55 |  | 
 | 56 |     vendor: true, | 
 | 57 |     srcs: ["Reverb/EffectReverb.cpp"], | 
 | 58 |  | 
 | 59 |     cflags: [ | 
 | 60 |         "-fvisibility=hidden", | 
 | 61 |         "-DBUILD_FLOAT", | 
 | 62 |         "-DHIGHER_FS", | 
 | 63 |  | 
 | 64 |         "-Wall", | 
 | 65 |         "-Werror", | 
 | 66 |     ], | 
 | 67 |  | 
 | 68 |     relative_install_path: "soundfx", | 
 | 69 |  | 
 | 70 |     static_libs: ["libreverb"], | 
 | 71 |  | 
 | 72 |     shared_libs: [ | 
 | 73 |         "libaudioutils", | 
 | 74 |         "libcutils", | 
 | 75 |         "libdl", | 
 | 76 |         "liblog", | 
 | 77 |     ], | 
 | 78 |  | 
 | 79 |     local_include_dirs: ["Reverb"], | 
 | 80 |  | 
 | 81 |     header_libs: [ | 
 | 82 |         "libhardware_headers", | 
 | 83 |         "libaudioeffects", | 
 | 84 |     ], | 
 | 85 |  | 
 | 86 |     sanitize: { | 
 | 87 |         integer_overflow: true, | 
 | 88 |     }, | 
 | 89 | } |