1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "external_libavc_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["external_libavc_license"], 8} 9 10cc_test { 11 name: "avcdec", 12 gtest: false, 13 host_supported:true, 14 cflags: [ 15 "-DPROFILE_ENABLE", 16 "-DARM", 17 "-DMD5_DISABLE", 18 "-fPIC", 19 "-Wall", 20 "-Werror", 21 ], 22 local_include_dirs: [ 23 "decoder/", 24 ], 25 srcs: ["decoder/main.c"], 26 static_libs: ["libavcdec"], 27 shared_libs: ["liblog"], 28 target: { 29 darwin: { 30 enabled: false, 31 }, 32 }, 33} 34 35cc_test { 36 name: "avcenc", 37 gtest: false, 38 host_supported: true, 39 40 cflags: [ 41 "-DPROFILE_ENABLE", 42 "-DARM", 43 "-DMD5_DISABLE", 44 "-fPIC", 45 "-Wall", 46 "-Werror", 47 "-Wno-unused-variable", 48 ], 49 local_include_dirs: [ 50 "encoder/", 51 ], 52 srcs: [ 53 "encoder/main.c", 54 "encoder/psnr.c", 55 "encoder/input.c", 56 "encoder/output.c", 57 "encoder/recon.c", 58 ], 59 static_libs: ["libavcenc"], 60} 61