1cc_library_shared { 2 name: "libvpx", 3 vendor_available: true, 4 version_script: "exports.lds", 5 6 arch: { 7 // configured to require the neon unit 8 arm: { 9 neon: { 10 // Want arm, not thumb, optimized 11 instruction_set: "arm", 12 13 srcs: libvpx_arm_neon_c_srcs + libvpx_arm_neon_asm_srcs, 14 local_include_dirs: ["config/arm-neon"], 15 }, 16 }, 17 18 arm64: { 19 srcs: libvpx_arm64_c_srcs, 20 local_include_dirs: ["config/arm64"], 21 }, 22 23 x86: { 24 srcs: libvpx_x86_c_srcs + libvpx_x86_asm_srcs, 25 local_include_dirs: ["config/x86"], 26 }, 27 28 x86_64: { 29 srcs: libvpx_x86_64_c_srcs + libvpx_x86_64_asm_srcs, 30 local_include_dirs: ["config/x86_64"], 31 }, 32 }, 33 34 cflags: [ 35 "-O3", 36 "-Wno-unused-parameter", 37 ], 38 39 export_include_dirs: ["libvpx"], 40 41 sanitize: { 42 integer_overflow: true, 43 misc_undefined: ["bounds"], 44 // Enable CFI if this becomes a shared library. 45 // cfi: true, 46 blacklist: "libvpx_blacklist.txt", 47 }, 48} 49