Home | History | Annotate | Download | only in tremolo
      1 cc_library_shared {
      2     name: "libvorbisidec",
      3     vendor_available: true,
      4     vndk: {
      5         enabled: true,
      6     },
      7 
      8     srcs: [
      9         "Tremolo/bitwise.c",
     10         "Tremolo/codebook.c",
     11         "Tremolo/dsp.c",
     12         "Tremolo/floor0.c",
     13         "Tremolo/floor1.c",
     14         "Tremolo/floor_lookup.c",
     15         "Tremolo/framing.c",
     16         "Tremolo/mapping0.c",
     17         "Tremolo/mdct.c",
     18         "Tremolo/misc.c",
     19         "Tremolo/res012.c",
     20         "Tremolo/treminfo.c",
     21         "Tremolo/vorbisfile.c",
     22     ],
     23 
     24     arch: {
     25         arm: {
     26             srcs: [
     27                 "Tremolo/bitwiseARM.s",
     28                 "Tremolo/dpen.s",
     29                 "Tremolo/floor1ARM.s",
     30                 "Tremolo/mdctARM.s",
     31             ],
     32             cflags: ["-D_ARM_ASSEM_"],
     33             // Assembly code in asm_arm.h does not compile with Clang.
     34             clang_asflags: ["-no-integrated-as"],
     35 
     36             instruction_set: "arm",
     37         },
     38         arm64: {
     39             cflags: ["-DONLY_C"],
     40         },
     41         mips: {
     42             cflags: ["-DONLY_C"],
     43         },
     44         mips64: {
     45             cflags: ["-DONLY_C"],
     46         },
     47         x86: {
     48             cflags: ["-DONLY_C"],
     49         },
     50         x86_64: {
     51             cflags: ["-DONLY_C"],
     52         },
     53     },
     54 
     55     cflags: [
     56         "-O2",
     57         "-D_GNU_SOURCE",
     58         "-funsigned-char",
     59     ],
     60 
     61     local_include_dirs: ["Tremolo"],
     62     export_include_dirs: ["."],
     63 
     64     shared_libs: ["liblog"],
     65 }
     66