1cc_test { 2 name: "avcdec", 3 gtest: false, 4 host_supported:true, 5 cflags: [ 6 "-DPROFILE_ENABLE", 7 "-DARM", 8 "-DMD5_DISABLE", 9 "-fPIC", 10 "-Wall", 11 "-Werror", 12 ], 13 local_include_dirs: [ 14 "decoder/", 15 ], 16 srcs: ["decoder/main.c"], 17 static_libs: ["libavcdec"], 18 shared_libs: ["liblog"], 19 target: { 20 darwin: { 21 enabled: false, 22 }, 23 }, 24} 25 26cc_test { 27 name: "avcenc", 28 gtest: false, 29 host_supported: true, 30 31 cflags: [ 32 "-DPROFILE_ENABLE", 33 "-DARM", 34 "-DMD5_DISABLE", 35 "-fPIC", 36 "-Wall", 37 "-Werror", 38 "-Wno-unused-variable", 39 ], 40 local_include_dirs: [ 41 "encoder/", 42 ], 43 srcs: [ 44 "encoder/main.c", 45 "encoder/psnr.c", 46 "encoder/input.c", 47 "encoder/output.c", 48 "encoder/recon.c", 49 ], 50 static_libs: ["libavcenc"], 51} 52