blob: b859f49e52219af8cbc45c8142a60b4cf492e006 [file] [log] [blame]
Bob Badourc0aae292021-02-12 15:15:50 -08001package {
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
Colin Crossfc442e12017-04-20 14:31:47 -070010cc_test {
11 name: "avcdec",
12 gtest: false,
Harish Mahendrakar41bd9cb2019-08-16 12:47:56 -070013 host_supported:true,
Colin Crossfc442e12017-04-20 14:31:47 -070014 cflags: [
15 "-DPROFILE_ENABLE",
16 "-DARM",
17 "-DMD5_DISABLE",
18 "-fPIC",
Chih-Hung Hsieh4852fbb2017-09-28 13:30:53 -070019 "-Wall",
20 "-Werror",
Colin Crossfc442e12017-04-20 14:31:47 -070021 ],
22 local_include_dirs: [
23 "decoder/",
24 ],
25 srcs: ["decoder/main.c"],
26 static_libs: ["libavcdec"],
27 shared_libs: ["liblog"],
Elliott Hughes724246b2019-09-08 13:20:07 -070028 target: {
29 darwin: {
30 enabled: false,
31 },
32 },
Colin Crossfc442e12017-04-20 14:31:47 -070033}
34
35cc_test {
36 name: "avcenc",
37 gtest: false,
Harish Mahendrakare2b463d2019-08-13 15:35:06 -070038 host_supported: true,
Colin Crossfc442e12017-04-20 14:31:47 -070039
40 cflags: [
41 "-DPROFILE_ENABLE",
42 "-DARM",
43 "-DMD5_DISABLE",
44 "-fPIC",
Chih-Hung Hsieh4852fbb2017-09-28 13:30:53 -070045 "-Wall",
46 "-Werror",
47 "-Wno-unused-variable",
Colin Crossfc442e12017-04-20 14:31:47 -070048 ],
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}